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

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Sun, 30 Mar 2003 17:56:46 +0200
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 _at_ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7

Received on Sun Mar 30 2003 - 07:57:09 UTC