Floating Point problems with Linux on the EST SBC8260

Bill Roman roman at alerton.com
Thu May 25 06:42:56 EST 2000


diekema_jon wrote:

> - I am looking for a floating point validation test suite written in
>   C.  The test suite should start with the fundamentals and work out
>   from there.

Try paranoia.c. A web search should turn up multiple copies, I found one at

    http://www.enseeiht.fr/NetLib/paranoia/index.html

A while back I had the floating point emulator from kernel 2.3 patched into
kernel 2.2.13 running on an MBX, and it did reasonably well on this test as I
recall.

>From the comments in paranoia.c:

        A C version of Kahan's Floating Point Test "Paranoia"

                        Thos Sumner, UCSF, Feb. 1985
                        David Gay, BTL, Jan. 1986

        This is a rewrite from the Pascal version by

                        B. A. Wichmann, 18 Jan. 1985

        (and does NOT exhibit good C programming style).
    .
    .
    .

You may copy this program freely if you acknowledge its source.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list