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

Comments

Issue 5271 (Not constant RAND_MAX)#2

Merged
1 commit merged intodlang:masterfrom
kyllingstad:issue5271
Feb 3, 2011
Merged

Issue 5271 (Not constant RAND_MAX)#2
1 commit merged intodlang:masterfrom
kyllingstad:issue5271

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