X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcompiler%2Fgeneric%2Fearly-vm.lisp;h=897d830eb8464c19a4dc967690c6529b1174eef8;hb=e57523089c7ad0ce2c874c03ecfe721d299efbfb;hp=2a39fc354d21a6819937aea28571f4cc3de4abdf;hpb=40b949acce1ac108b62d52d13eb2a09454f8db33;p=sbcl.git diff --git a/src/compiler/generic/early-vm.lisp b/src/compiler/generic/early-vm.lisp index 2a39fc3..897d830 100644 --- a/src/compiler/generic/early-vm.lisp +++ b/src/compiler/generic/early-vm.lisp @@ -46,14 +46,17 @@ #!+sb-doc "the fixnum closest in value to negative infinity") +(def!constant most-positive-word (1- (expt 2 n-word-bits)) + "The most positive integer that is of type SB-EXT:WORD.") + (def!constant most-positive-exactly-single-float-fixnum - (min #xffffff most-positive-fixnum)) + (min #xffffff sb!xc:most-positive-fixnum)) (def!constant most-negative-exactly-single-float-fixnum - (max #x-ffffff most-negative-fixnum)) + (max #x-ffffff sb!xc:most-negative-fixnum)) (def!constant most-positive-exactly-double-float-fixnum - (min #x1fffffffffffff most-positive-fixnum)) + (min #x1fffffffffffff sb!xc:most-positive-fixnum)) (def!constant most-negative-exactly-double-float-fixnum - (max #x-1fffffffffffff most-negative-fixnum)) + (max #x-1fffffffffffff sb!xc:most-negative-fixnum)) ;;;; Point where continuous area starting at dynamic-space-start bumps into ;;;; next space.