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

Bruce Evans bde at zeta.org.au
Wed Apr 2 08:37:13 PST 2003


On Wed, 2 Apr 2003, Steve Kargl wrote:

> On Wed, Apr 02, 2003 at 04:21:30PM +1000, Bruce Evans wrote:
> > 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.

Only a little.  It seemed to do little more than what the blurb says:
implement soft-float and test itself.  This is not very interesting
for us on at least i386's, since we already have hard-float with known
properties, and Intel and a few hundred million of Intel's customers
tested it.  The missing test coverage is mainly of the less commonly
used math functions (Gamma, Bessel and lots of new C99 functions).

Bruce


More information about the cvs-all mailing list