(MINUSP -0.0) => NIL

This commit is contained in:
Juan Jose Garcia Ripoll 2009-06-14 23:20:03 +02:00
parent 984b18eef6
commit 2acd731e9e
2 changed files with 6 additions and 4 deletions

View file

@ -17,6 +17,8 @@ ECL 9.6.2:
- The constants in cl_core are now used in compiled code.
- (MINUSP -0.0) => NIL
* Characters:
- ECL now uses ISO Latin names for the lowest part of the character set.

View file

@ -101,16 +101,16 @@ ecl_minusp(cl_object x)
#ifdef ECL_SHORT_FLOAT
case t_shortfloat:
return signbit(ecl_short_float(x));
return ecl_short_float(x) < 0;
#endif
case t_singlefloat:
return signbit(sf(x));
return sf(x) < 0;
case t_doublefloat:
return signbit(df(x));
return df(x) < 0;
#ifdef ECL_LONG_FLOAT
case t_longfloat:
return signbit(ecl_long_float(x));
return ecl_long_float(x) < 0;
#endif
default:
FEtype_error_real(x);