[Ecls-list] wrong value for (float-sign -0.0)
Raymond Toy
toy.raymond at gmail.com
Sun Sep 28 13:49:26 UTC 2008
Gabriel Dos Reis wrote:
> Hi Juanjo,
>
> ECL reports wrong value for the sign of -0.0.
>
> > *features*
> (:LINUX :FORMATTER :IEEE-FLOATING-POINT :RELATIVE-PACKAGE-NAMES :DFFI
> :CLOS-STREAMS :CMU-FORMAT :UNIX :ECL-PDE :DLOPEN :CLOS :BOEHM-GC :ANSI-CL
> :COMMON-LISP :ECL :COMMON :PENTIUM3 :FFI :PREFIXED-API)
> > (float-sign -0.0)
> 0.0
>
>
> The correct value is -1.0.
>
>
Signed zeroes aren't required to be supported. It looks like ecl
doesn't support signed zeroes. (eql -0.0 0.0) -> T.
Ray
More information about the ecl-devel
mailing list