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

Steve Kargl sgk at troutmask.apl.washington.edu
Wed Apr 2 08:12:36 PST 2003


On Wed, Apr 02, 2003 at 04:21:30PM +1000, Bruce Evans wrote:
> > verify correct FP behaviour by the CPU and compiler floating around on
> > the net - look at NETLIB or Prof W. Kahan's web site.  (I don't have
> > the URL's immediately to hand).
> 
> ucbtest is good but is too old to cover much of C99.  I haven't found
> anything anywhere near as good and up to date.
> 

Have you looked at John Hauser's SoftFloat package?

http://www.jhauser.us/arithmetic/SoftFloat.html.

The blurb at the top of the web page states: "SoftFloat fully implements
the four most common floating-point formats: single precision (32 bits),
double precision (64 bits), extended double precision (80 bits), and
quadruple precision (128 bits). All required rounding modes, exception
flags, and special values are supported.

There is a test program available to compare the machines
FP against SoftFloat.

-- 
Steve


More information about the cvs-all mailing list