unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#42012: Reference Manual and Docstring on number->string
@ 2020-06-22 22:51 Sebastian Miele
  2020-06-23  8:34 ` tomas
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Miele @ 2020-06-22 22:51 UTC (permalink / raw)
  To: 42012

Guile 3.0.3. The reference manual and the docstring of number->string
say: "If N is inexact, a radix of 10 will be used." But that is not what
happens, e.g.,

  (let ((x 4.0)) (and (inexact? x) (number->string x 3)))

evaluates to "11.0" instead of #f or "4.0". Probably "if RADIX is not
supplied, a radix of 10 will be used" is meant.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-06-24  3:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-22 22:51 bug#42012: Reference Manual and Docstring on number->string Sebastian Miele
2020-06-23  8:34 ` tomas
2020-06-24  3:49   ` Bengt Richter

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).