This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/14621] libm tan failure for pi/2 argument
- From: "gerald dot evenden at verizon dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Mar 2004 21:04:44 -0000
- Subject: [Bug c/14621] libm tan failure for pi/2 argument
- References: <20040317202427.14621.gerald.evenden@verizon.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From gerald dot evenden at verizon dot net 2004-03-17 21:04 -------
All the math books and tables show that tan(pi/2) is infinite.
Also, Harbison and Steele 5th edition C reference manual p. 433 says:
"A range error may occur in the *tan* function if the argument is close
to and odd multiple of pi/2."
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |UNCONFIRMED
Resolution|INVALID |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14621