[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gcl-devel] wrong value for (float-sign -0.0)
From: |
Gabriel Dos Reis |
Subject: |
[Gcl-devel] wrong value for (float-sign -0.0) |
Date: |
28 Sep 2008 00:25:17 -0500 |
Camm --
On IEEE-754 platforms, GCL reports a wrong value the sign of -0.0
>*features*
(:COMPILER :NUMLIB :SDEBUG :DEFPACKAGE :GNU-LD :UNEXEC :BFD
:NATIVE-RELOC :READLINE :TRUNCATE_USE_C :CLX-LITTLE-ENDIAN :BSD
:GNU :LINUX :X86_64 :SGC :IEEE-FLOATING-POINT :UNIX :GMP :GCL :AKCL
:COMMON :KCL)
>(float-sign -0.0)
1.0
The correct value is -1.0. This affects both GCL-2.6.8pre and GCL-2.7.0.
-- Gaby
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gcl-devel] wrong value for (float-sign -0.0),
Gabriel Dos Reis <=