Package: libc6
Version: 2.27-8
Severity: normal

AFAIK, accuracy of transcendental functions in libm, like

sin
cos
atan
exp
log
pow
tan
atan2

is completly undocumented, and do not conform to IEEE 784-2008 chapter
9.2, table 9.1. These are recommended ("optional"), and not mandatory. It
is understood that adhering fully to this chapter even for some of the
recommended functions, would come at the performance cost without proper
hardware support, or hardware tricks to make library implementations fast
(i.e. like libultim, or CRlibm).

However, documenting properly accuracy and rounding behaviour of glibc
provided mathematical functions would serve people very well. At the
moment, it is a complete blackbox, and depends on a target hardware too.

Best regards,
Witold



-- System Information:
Debian Release: buster/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.18.0-2-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libc6:amd64 depends on:
ii  libgcc1  1:8.2.0-9

libc6:amd64 recommends no packages.

Versions of packages libc6:amd64 suggests:
ii  debconf [debconf-2.0]  1.5.69
pn  glibc-doc              <none>
ii  libc-l10n              2.27-8
ii  locales                2.27-8

-- debconf information:
  glibc/restart-failed:
  glibc/disable-screensaver:
  glibc/kernel-not-supported:
  libraries/restart-without-asking: false
  glibc/upgrade: true
  glibc/kernel-too-old:
  glibc/restart-services:

Reply via email to