Re: Floating point issue in sbcl 1.0.10?



Kent M Pitman <pitman@xxxxxxxxxxx> writes:

FWIW, LispWorks for WIndows (LWW) 4.4.5 yields 1229.99 but LWW 5.0.1
yields 1229.9901. I didn't have time to bit-decode this to see if it
was the usual floating point issue, though my initial expectation is
that it probably is. But I found it interesting that there'd been a
change between two versions of LWW 4.4.5 and 5.0.1. Maybe the
LispWorks maintainers know what they changed and why...?

From the LispWorks Release Notes and Installation Guide available at
[1]:

| 12.6.7 More float types implemented on x86 platforms
|
| LispWorks now implements 3 disjoint ANSI Common Lisp float types:
| short-float, single-float and double-float.
|
| long-float is the same type as double-float.
|
| Note: In versions 4.4 and previous of LispWorks for Windows and
| LispWorks for Linux all floats are double-float.

[1] http://www.lispworks.com/documentation/index.html

.