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 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.


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