What do you mean by design? The point is that glibc calculates
incorrect value of sin() and tan(). It does not depend on compiler.
** Changed in: eglibc (Ubuntu)
Status: Invalid = New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
Public bug reported:
Sources with test cases are attached.
Current output:
Compile-time value of sine is -2.44929359829470641e-16
Runtime value of sine is -2.44921270764475452e-16
Compile-time value of tangent is -1.63312393531953700e+16
Runtime value of tangent is -1.63317787283838440e+16
** Attachment added: Source code with tangent test
https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/1156579/+attachment/3581279/+files/tangent.c
** Bug watch added: GCC Bugzilla #56651
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56651
--
You received this bug notification because
Corresponding bug on GCC tracker:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56651
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1156579
Title:
sin() and tan() have different values during