* ice-9 format crashes on nan and inf
@ 2006-02-19 11:57 Han-Wen Nienhuys
2006-02-19 22:11 ` Kevin Ryde
0 siblings, 1 reply; 3+ messages in thread
From: Han-Wen Nienhuys @ 2006-02-19 11:57 UTC (permalink / raw)
Hi,
bug in 1.7.91:
guile> (use-modules (ice-9 format))
guile> (format #t "~$" (log 0))
FORMAT: error with call: (format #t "~$<===" ===>-inf.0 )
illegal character `i' in number->string
a similar thing happens when you try to print NaN. Is this
intentional? If so, can this be documented?
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ice-9 format crashes on nan and inf
2006-02-19 11:57 ice-9 format crashes on nan and inf Han-Wen Nienhuys
@ 2006-02-19 22:11 ` Kevin Ryde
2006-02-20 22:39 ` Kevin Ryde
0 siblings, 1 reply; 3+ messages in thread
From: Kevin Ryde @ 2006-02-19 22:11 UTC (permalink / raw)
Cc: guile-devel
hanwen@byrd.xs4all.nl (Han-Wen Nienhuys) writes:
>
> guile> (format #t "~$" (log 0))
>
> Is this intentional?
No, not as far as I know.
~f is ok, but I think ~$ tries to pick apart the output of
number->string and I guess hasn't been updated yet. (It's all very
hairy that code.)
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: ice-9 format crashes on nan and inf
2006-02-19 22:11 ` Kevin Ryde
@ 2006-02-20 22:39 ` Kevin Ryde
0 siblings, 0 replies; 3+ messages in thread
From: Kevin Ryde @ 2006-02-20 22:39 UTC (permalink / raw)
Cc: guile-devel
I made a change the same as Marius did to ~f etc, which hopefully is
about right.
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-02-20 22:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-19 11:57 ice-9 format crashes on nan and inf Han-Wen Nienhuys
2006-02-19 22:11 ` Kevin Ryde
2006-02-20 22:39 ` Kevin Ryde
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).