You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wonder if it should be (1, 2147483562) or something like that (sorry, I have hard time figuring the exact numbers out). I mean, even though the type of the value produced by next is Int, the actual value is defined by the algorithm that operates in subdomain of 32-bit numbers.
The text was updated successfully, but these errors were encountered:
grigorye
changed the title
StdGen.genRange seem to have wrong value
StdGen.genRange seems to have wrong value
Aug 5, 2019
SwiftCheck/Sources/SwiftCheck/Random.swift
Lines 84 to 86 in 9e53d13
I wonder if it should be
(1, 2147483562)
or something like that (sorry, I have hard time figuring the exact numbers out). I mean, even though the type of the value produced bynext
isInt
, the actual value is defined by the algorithm that operates in subdomain of 32-bit numbers.The text was updated successfully, but these errors were encountered: