This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/3783] tan(double x) takes excessive amount of time when x is a multiple of pi/2, x != 0


------- Additional Comments From jakub at redhat dot com  2006-12-22 07:41 -------
Most of the double libm functions are exact up to 0.5ulp and that's the price to
pay for a correct implementation.
The function first computes the result quickly using FPU instructions and if the
maximum error is sufficiently low, just returns it.  If the error is possibly
bigger than 0.5ulp, it needs to compute longer series to make sure the result is
correct.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


http://sourceware.org/bugzilla/show_bug.cgi?id=3783

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]