[Bug c/14621] libm tan failure for pi/2 argument

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Mar 17 22:04:00 GMT 2004


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



More information about the Gcc-bugs mailing list