Skip to content
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

Accurate floating point comparisons with fpCompare #18

Merged
merged 4 commits into from
Oct 3, 2024
Merged

Conversation

psolymos
Copy link
Owner

@psolymos psolymos commented Oct 3, 2024

These changes will break past behaviour, but the default makes more sense, i.e. more accurate when dealing with numeric vectors. In every other cases, the new behaviour is identical to previous behaviour. Users can switch back using new options, but I don't see a reason what that could be a good idea other than for reproducibility reasons.

This PR closes #17

Signed-off-by: Peter Solymos <[email protected]>
Signed-off-by: Peter Solymos <[email protected]>
Signed-off-by: Peter Solymos <[email protected]>
@psolymos psolymos merged commit 21b027c into master Oct 3, 2024
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.

floating point number comparisons
1 participant