Skip to content

Instantly share code, notes, and snippets.

@stokito
Created December 3, 2019 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stokito/21caead0b334c788e950c8a86cd90a04 to your computer and use it in GitHub Desktop.
Save stokito/21caead0b334c788e950c8a86cd90a04 to your computer and use it in GitHub Desktop.
Good float point numbers: finite IEEE-754 that are always equals or can be sumed without loses. Useful for testing
https://www.h-schmidt.net/FloatConverter/IEEE754.html
0.000030517578125
0.00006103515625
0.0078125
0.015625
0.125
0.25
0.5
0.75
with mantisa:
0.24609375
0.375
0.4375
0.46875
0.484375
0.4921875
0.49609375
0.96875
0.984375
0.9921875
0.99609375
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment