Wrong specification in Random random function #870

davidhesselbom opened this Issue Apr 1, 2015 · 0 comments


None yet

2 participants


Random random states that it returns

a pseudo-random number between INT_MIN and INT_MAX, generated using the C functions srand/rand

and also rand is described as a

C stdlib function to generate a random integer between INT_MIN and INT_MAX

but stdlib.h says

Return a random integer between 0 and RAND_MAX inclusive.

@fasterthanlime fasterthanlime modified the milestone: 0.9.10 Jul 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment