cvs commit: src/sys/ia64/include float.h

Alexander Leidinger Alexander at Leidinger.net
Sun Mar 30 07:57:11 PST 2003


On Thu, 27 Mar 2003 12:49:35 -0800
David Schultz <das at freebsd.org> wrote:

> Thus spake David Schultz <das at FreeBSD.org>:
> > das         2003/03/27 12:38:22 PST
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     sys/ia64/include     float.h 
> >   Log:
> >   Correct LDBL_* constants based on values from i386.
> >   
> >   Revision  Changes    Path
> >   1.4       +9 -9      src/sys/ia64/include/float.h
> 
> BTW, this needs to be fixed for powerpc as well.  Thus far I have
> been assuming powerpc uses quad format (128 bits) for long doubles
> based on some documentation on developer.apple.com.  It would be
> nice if someone could confirm/deny that.

Attached is a test for 32 and 64 bit ieee values (edge cases). The *_MIN
values (or my test program) at least on i386 machines are wrong.

Bye,
Alexander.

-- 
                   It's not a bug, it's tradition!

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ieeeFPbounds.c
Type: application/octet-stream
Size: 4933 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20030330/2e86cf31/ieeeFPbounds.obj


More information about the cvs-src mailing list