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

Fix hash for double and real types when new nan is disabled #23060

Merged
merged 1 commit into from
Jun 24, 2024

Commits on Jun 24, 2024

  1. Fix hash for double and real types when new nan is disabled

    The hash function wasn't gated by the use-new-nan-definition field,
    which meant it returned different results for -0 (which in the new
    definition is the same as +0, and in the old definition was not).
    
    This also changes the method call for the real hash function with
    use-new-nan-definition enabled, but the two functions have the same
    implementation, so the change is purely for clarity/consistency.
    rschlussel committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    418b679 View commit details
    Browse the repository at this point in the history