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: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Mar 2004 22:04:05 -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 pinskia at gcc dot gnu dot org 2004-03-17 22:04 -------
Go read a book about floating point math and how floating point in the computer is represented, it has
to be represented in a finite precision so M_PI_2 can never be ?/2 and tan(M_PI_2) will never be INF.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14621