Wrong specification in Random random function #870

Closed
davidhesselbom opened this Issue Apr 1, 2015 · 0 comments

Projects

None yet

2 participants

@davidhesselbom
Contributor

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