mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-14 21:32:49 -08:00
ECL removed the sign when printing -0.0d0
This commit is contained in:
parent
f0793de5b4
commit
47299166f6
1 changed files with 1 additions and 1 deletions
|
|
@ -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? */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue