[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Exact flownums not properly displayed in mingw
From: |
John Cowan |
Subject: |
Re: [Chicken-users] Exact flownums not properly displayed in mingw |
Date: |
Tue, 9 Jul 2013 11:40:19 -0400 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Michele La Monaca scripsit:
> > Chicken uses the local C's idea of number-to-string conversion.
>
> Not the best approach I think. I would rather prefer a consistent behavior.
If you want a specific output format, use the fmt egg.
> Being a valid Scheme number it's not a valid reason to dislay it as
> it is, IMHO.
R5RS/R7RS merely require that "the result contains a decimal point
and is expressed using the minimum number of digits (exclusive of
exponent and trailing zeroes) needed to make the above expression true"
(s.v. `number->string`). Both "1." and "1.0" satisfy that rule.
--
No saves, Antonio, loke es morirse en su lingua. Es komo John Cowan
kedarse soliko en el silensyo kada dya ke Dyo da, komo address@hidden
ser sikileoso sin saver porke. http://www.ccil.org/~cowan
--Marcel Cohen, 1985
- [Chicken-users] Exact flownums not properly displayed in mingw, Michele La Monaca, 2013/07/09
- Re: [Chicken-users] Exact flownums not properly displayed in mingw, John Cowan, 2013/07/09
- Re: [Chicken-users] Exact flownums not properly displayed in mingw, Michele La Monaca, 2013/07/09
- Re: [Chicken-users] Exact flownums not properly displayed in mingw,
John Cowan <=
- Re: [Chicken-users] Exact flownums not properly displayed in mingw, Peter Bex, 2013/07/09
- Re: [Chicken-users] Exact flownums not properly displayed in mingw, Jim Ursetto, 2013/07/09
- Re: [Chicken-users] Exact flownums not properly displayed in mingw, Michele La Monaca, 2013/07/09
- Re: [Chicken-users] Exact flownums not properly displayed in mingw, Jim Ursetto, 2013/07/09
- Re: [Chicken-users] Exact flownums not properly displayed in mingw, Peter Bex, 2013/07/09
- Re: [Chicken-users] Exact flownums not properly displayed in mingw, Felix, 2013/07/09
- Re: [Chicken-users] Exact flownums not properly displayed in mingw, Mario Domenech Goulart, 2013/07/09
- Re: [Chicken-users] Exact flownums not properly displayed in mingw, Michele La Monaca, 2013/07/09