X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Ffloat.lisp;h=5c53e87224f3a0b359e69f0cde9fe3d14b819183;hb=7290a82b4dba4b7f42e98d8475709f4a29e46574;hp=3b5690b15d997f4eff494d9ed55226f62f3b08f3;hpb=1a4f36e402af22d470cf619643d2473c1dc58e12;p=sbcl.git diff --git a/src/code/float.lisp b/src/code/float.lisp index 3b5690b..5c53e87 100644 --- a/src/code/float.lisp +++ b/src/code/float.lisp @@ -630,7 +630,7 @@ (frob %long-float long-float)) ;;; Convert a ratio to a float. We avoid any rounding error by doing an -;;; integer division. Accuracy is important to preserve read/print +;;; integer division. Accuracy is important to preserve print-read ;;; consistency, since this is ultimately how the reader reads a float. We ;;; scale the numerator by a power of two until the division results in the ;;; desired number of fraction bits, then do round-to-nearest.