We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug https://github.com/erlang/otp/blob/master/lib/stdlib/src/rand.erl#L585-L601
I believe the match on 0.0 is going to produce a warning or an error asking to use +0.0 or -0.0.
Affected versions All with the newly added warning/error.
The text was updated successfully, but these errors were encountered:
The example is wrong in general (double end), but aside from that, yes, you're right.
end
Sorry, something went wrong.
You are quite right. I will fix this while reworking the rand module documentation after the Markdown conversion in OTP 27.
rand
You can see the new documentation here: https://erlang.org/documentation/doc-15.0-rc3/lib/stdlib-6.0/doc/html/rand.html
Looks good! 🚀
RaimoNiskanen
No branches or pull requests
Describe the bug
https://github.com/erlang/otp/blob/master/lib/stdlib/src/rand.erl#L585-L601
I believe the match on 0.0 is going to produce a warning or an error asking to use +0.0 or -0.0.
Affected versions
All with the newly added warning/error.
The text was updated successfully, but these errors were encountered: