Chez Scheme: repair pseudo-random for cross compile
This commit is contained in:
parent
8d96a758d0
commit
71bf119460
|
@ -2780,7 +2780,7 @@
|
|||
[(fixnum? x)
|
||||
(unless (fxpositive? x) ($oops who "not a positive exact integer ~s" x))
|
||||
(meta-cond
|
||||
[(fixnum? 4294967087)
|
||||
[(<= (constant most-negative-fixnum) 4294967087 (constant most-positive-fixnum))
|
||||
(if (fx< x 4294967087)
|
||||
(random-int s x)
|
||||
(random-integer s x))]
|
||||
|
|
Loading…
Reference in New Issue
Block a user