Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Issue 5271 (Not constant RAND_MAX) #2

Merged
1 commit merged into from
Feb 3, 2011
Merged

Conversation

kyllingstad
Copy link
Contributor

RAND_MAX has different values on different systems. Its current value only seems to be valid on Windows.

RAND_MAX has different values on different systems.  Its current value
only seems to be valid on Windows.
@complexmath
Copy link
Contributor

Not in this case. rand() returns an int in the range [0 .. RAND_MAX].

@complexmath
Copy link
Contributor

Applied.

@rainers rainers mentioned this pull request Jun 3, 2014
rainers added a commit that referenced this pull request Jun 13, 2014
MartinNowak pushed a commit that referenced this pull request Jun 28, 2016
a bunch of smaller improvements
skl131313 pushed a commit to skl131313/druntime that referenced this pull request Jan 29, 2017
DoctorNoobingstoneIPresume pushed a commit to DoctorNoobingstoneIPresume/dlang_druntime that referenced this pull request Jul 10, 2021
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants