Fix portable-fixnum?.
This commit is contained in:
parent
324d1aa440
commit
7808be5e20
|
@ -28,7 +28,7 @@
|
||||||
(define (portable-fixnum? n)
|
(define (portable-fixnum? n)
|
||||||
(and (exact-integer? n)
|
(and (exact-integer? n)
|
||||||
(< n (expt 2 30))
|
(< n (expt 2 30))
|
||||||
(> n (- (expt 2 30)))))
|
(>= n (- (expt 2 30)))))
|
||||||
|
|
||||||
;; return the type of a literal value
|
;; return the type of a literal value
|
||||||
;; scheme-value -> type
|
;; scheme-value -> type
|
||||||
|
|
Loading…
Reference in New Issue
Block a user