This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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 target/12043] long double calcluation seems broken


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12043


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-24 15:47 -------
I am going to reopen this based on what I got in my person email because I thought in long double 
(XF which is 96 bits with 16 bits unused (not TF, which is 128bit))
I'm sending this directly to you since I don't want to reopen the bug
bug if I'm wrong, but...

I thought the hex looks like a valid long double.  If I understand
ieee fp correctly (and I probably don't), the first word containing 0
has 16 bits of unused, 1 sign bit, and 15 exponent bits.  I think that
the exponent bits must be 0x7fff to be INF or NAN.  If so, then this
is actually a valid number.

Thanks,
Jerry


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