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 OTP 27 float match warning #9485

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

HoloRin
Copy link
Contributor

@HoloRin HoloRin commented Sep 20, 2023

OTP 26.1 will warn that matching on the float 0.0 will no longer also match -0.0 in OTP 27. If you specifically intend to match 0.0 alone, write +0.0 instead

@HoloRin HoloRin force-pushed the rin/otp-27-pos-neg-zero-match-fix branch from e9f80a5 to 8900598 Compare September 20, 2023 10:23
@michaelklishin michaelklishin merged commit b1afc92 into main Sep 20, 2023
@michaelklishin michaelklishin deleted the rin/otp-27-pos-neg-zero-match-fix branch September 20, 2023 12:03
michaelklishin added a commit that referenced this pull request Sep 20, 2023
Fix OTP 27 float match warning (backport #9485)
michaelklishin added a commit that referenced this pull request Sep 20, 2023
Fix OTP 27 float match warning (backport #9485) (backport #9488)
michaelklishin added a commit that referenced this pull request Sep 20, 2023
Fix OTP 27 float match warning (backport #9485) (backport #9488) (backport #9489)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants