[Bug libc/3783] tan(double x) takes excessive amount of time when x is a multiple of pi/2, x != 0
rjmarsan at gmail dot com
sourceware-bugzilla@sourceware.org
Fri Dec 22 03:37:00 GMT 2006
------- Additional Comments From rjmarsan at gmail dot com 2006-12-22 03:36 -------
Created an attachment (id=1469)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1469&action=view)
Demonstrates tan(x) slowness for x=pi/2
The attached program demonstrates the difference between calling tan(x) for
random values of x and when x is a multiple of pi/2. When executed, program
should display something like:
$ g++ tan-test.cpp && ./a.out
Random average: 0.0001ms
pi/2 average: 0.52ms
--
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.
More information about the Glibc-bugs
mailing list