X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fcross-float.lisp;h=3b04153cf50b9288a0a6b620c1d8044811d1f8e5;hb=b8f63d9b4e978bec3bfc1f4fc471e5ed946781fd;hp=7023302708ecec14befaf88ebc71dd8b3777f5fe;hpb=a530bbe337109d898d5b4a001fc8f1afa3b5dc39;p=sbcl.git diff --git a/src/code/cross-float.lisp b/src/code/cross-float.lisp index 7023302..3b04153 100644 --- a/src/code/cross-float.lisp +++ b/src/code/cross-float.lisp @@ -13,9 +13,6 @@ (in-package "SB!IMPL") -(file-comment - "$Header$") - ;;; There seems to be no portable way to mask float traps, but we shouldn't ;;; encounter any float traps when cross-compiling SBCL itself, anyway, so we ;;; just make this a no-op. @@ -82,7 +79,7 @@ (>= significand (expt 2 23)) (assert (< 0 significand (expt 2 24))) ;; Exponent 0 is reserved for denormalized numbers, - ;; and 255 is reserved for specials a la NaN. + ;; and 255 is reserved for specials like NaN. (assert (< 0 exponent 255)) (return (logior (ash exponent 23) (logand significand @@ -127,7 +124,7 @@ (>= significand (expt 2 52)) (assert (< 0 significand (expt 2 53))) ;; Exponent 0 is reserved for denormalized numbers, - ;; and 2047 is reserved for specials a la NaN. + ;; and 2047 is reserved for specials like NaN. (assert (< 0 exponent 2047)) (return (logior (ash exponent 52) (logand significand @@ -174,7 +171,7 @@ ;;; cross-compilation host Lisps are likely to have exactly the same ;;; floating point precision as the target Lisp. If it turns out to be ;;; a problem, there are possible workarounds involving portable -;;; representations for target floating point numbers, a la +;;; representations for target floating point numbers, like ;;; (DEFSTRUCT TARGET-SINGLE-FLOAT ;;; (SIGN (REQUIRED-ARGUMENT) :TYPE BIT) ;;; (EXPONENT (REQUIRED-ARGUMENT) :TYPE UNSIGNED-BYTE)