This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/3783] New: tan(double x) takes excessive amount of time when x is a multiple of pi/2, x != 0
- From: "rjmarsan at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 22 Dec 2006 03:32:52 -0000
- Subject: [Bug libc/3783] New: tan(double x) takes excessive amount of time when x is a multiple of pi/2, x != 0
- Reply-to: sourceware-bugzilla at sourceware dot org
https://launchpad.net/distros/ubuntu/+source/glibc/+bug/53312
(basically just forewarding what the guy wrote)
Architecture: amd64
glibc version 2.3.6-0ubuntu2
gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
For most values of x, calling tan(x) takes less than a microsecond. However,
when x = n*pi/2, n != 0, calling tan(x) takes several hundred microseconds
(which it clearly shouldn't do).
This doesn't occur when using the tanl or tanf functions.
--
Summary: tan(double x) takes excessive amount of time when x is a
multiple of pi/2, x != 0
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: rjmarsan at gmail dot com
CC: glibc-bugs at sources dot redhat dot com
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.