bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#42012: Reference Manual and Docstring on number->string


From: Sebastian Miele
Subject: bug#42012: Reference Manual and Docstring on number->string
Date: Tue, 23 Jun 2020 00:51:23 +0200
User-agent: mu4e 1.4.10; emacs 26.3

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]