Skip to content

Documenting rounding issue in Binomial#24

Merged
benjamin-lieser merged 2 commits intorust-random:masterfrom
benjamin-lieser:bin_doc
May 27, 2025
Merged

Documenting rounding issue in Binomial#24
benjamin-lieser merged 2 commits intorust-random:masterfrom
benjamin-lieser:bin_doc

Conversation

@benjamin-lieser
Copy link
Copy Markdown
Member

  • Added a CHANGELOG.md entry

Summary

Documenting the issue discussed in #22

Motivation

It will be hard to fix the issue and most other algorithms also have this behavior, so we just document it here.

@benjamin-lieser benjamin-lieser changed the title Bin doc Documenting rounding issue in Binomial May 22, 2025
Copy link
Copy Markdown
Member

@dhardy dhardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

It's another argument for high-precision floats: rust-random/rand#531

@benjamin-lieser benjamin-lieser merged commit 3dc934d into rust-random:master May 27, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants