ECL removed the sign when printing -0.0d0

This commit is contained in:
Juan Jose Garcia Ripoll 2010-12-19 20:06:34 +01:00
parent f0793de5b4
commit 47299166f6

View file

@ -105,7 +105,7 @@ si_float_to_string_free(cl_object buffer_or_nil, cl_object number,
buffer = VALUES(1);
e = fix(exp);
if (ecl_minusp(number)) {
if (ecl_signbit(number)) {
insert_char(buffer, base++, '-');
}
/* Do we have to print in exponent notation? */