[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: first message to the list, have a newbie question
- To: firstname.lastname@example.org
- Subject: Re: first message to the list, have a newbie question
- From: haible (Bruno Haible)
- Date: Fri, 12 Nov 93 15:26:32 +0100
Derrick Cole <email@example.com> was "exposed to c-lisp for a grand
total of < 12 hours" and already found and fixed a bug. Congratulations!
> "make test" passes, but "make testsuite" fails with the following alltest.erg
> Form: (PRIN1-TO-STRING MOST-POSITIVE-DOUBLE-FLOAT)
> SOLL: "8.988465674311579d307"
> CLISP: "1.7976931348623157d308"
This is due to the fact that on Sparc, CLISP uses the floating format
prescribed by the hardware for DOUBLE-FLOATs. It differs from CLISP's soft
floats. Consider the testsuite to have succeeded.
> However, if I invoke lisp.run and execute the forms by hand, I get:
> > (PRIN1-TO-STRING MOST-POSITIVE-DOUBLE-FLOAT)
Don't invoke lisp.run without arguments (except on Atari) - it contains
only one half of clisp. Not even DEFUN or SETF. And floating point numbers
are printed in binary because floatpri.lsp has not been loaded...