diff --git a/collects/srfi/27/random-bits.ss b/collects/srfi/27/random-bits.ss index a62d614c79..e8f7840301 100644 --- a/collects/srfi/27/random-bits.ss +++ b/collects/srfi/27/random-bits.ss @@ -20,7 +20,7 @@ (random-integer (-> positive-integer/c any)) (random-source-make-integers (-> positive-integer/c any)) (random-source-make-reals (case-> (-> random-source? any) - (-> random-source? (and/c (>/c 0) ( random-source? (and/c (>/c 0) (exact (floor (/ unit))) 2))) + (let ((n (inexact->exact (floor (/ unit))))) (lambda () (parameterize ((current-pseudo-random-generator (random-source-generator s)))