[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: format address@hidden +0
From: |
Marius Vollmer |
Subject: |
Re: format address@hidden +0 |
Date: |
Tue, 24 Aug 2004 19:33:31 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) |
Kevin Ryde <address@hidden> writes:
> ice-9 format address@hidden prints positives with a "+" sign, but 0 is printed
> without one. I think this is contrary to CL, and it's not what ice-9
> format does on floats with address@hidden
What is the sign of zero? ;) IEEE zeros do have a sign, so we should
print them.
> Although the code "(> number 0)" looks like no + on 0 is sort of
> deliberate it seems to me a mistake that would be worth correcting.
The Hyperspec isn't clear about this either, but Clisp prints
"+0"... hmmm. The docs say that the sign is always printed, and the
canonical sign of zero is +, so we should print a "+".
Please make that change, then!