-
Notifications
You must be signed in to change notification settings - Fork 769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rand.eng], [rand.adapt] Use maths to describe relations between constants #4295
base: main
Are you sure you want to change the base?
Conversation
caeb8c3
to
5383a93
Compare
@jwakely, @CaseyCarter, @W-E-Brown: I would love to land this change. It would leave a lot less to the imagination and make it clear how the code variables relate to the maths variables. Any final thoughts? |
I still like this change. It might be even better if we used something like D for |
Fixes #4292
I know that "unless otherwise specified" is strictly unnecessary in the blanket wording, but I think it helps here. In [rand.eng.lcong] we have:
That specifies m for the
m==0
case, but the blanket wording applies for all other values ofm
.