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

Add the following corner cases to our tests #168

Open
lemire opened this issue Jan 10, 2023 · 0 comments
Open

Add the following corner cases to our tests #168

lemire opened this issue Jan 10, 2023 · 0 comments

Comments

@lemire
Copy link
Member

lemire commented Jan 10, 2023

The library is already correct on these cases, but we should be explicit.

Contributed by @deadalnix

1/ Where float stop rounding to 0.
0.7006492321624085354e-45
0.7006492321624085355e-45
2/ Where float start going to infinity:
0.3402823567797336616e39
0.3402823567797336617e39
3/ Where double stop rounding to 0:
0.2470328229206232720e-323
0.2470328229206232721e-323
4/ Where double go to infinity:
1.7976931348623158079e308
1.7976931348623158080e308
5/ Where float become normal:
1.1754942807573642917e-38
1.1754942807573642918e-38
6/ Where double become normal:
0.2225073858507201136e-307
0.2225073858507201137e-307
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

No branches or pull requests

1 participant