Floating point number
This representation can encode numbers at very different magnitudes with a limited amount of digits by letting the radix point float instead of being fixed in place.
- from
- Naming
- added
- 2026-10-10
- likes
- 0
similar
-
Floating Point Math 0.30000000000000004.com
“Your language isn't broken, it's doing floating point math. (…) This is why, more often than not, 0.1 + 0.2 != 0.3.”
-
Never Use Floats for Money husobee.github.io
“This is precisely the problem we have when trying to represent 10^-1, or 0.1 in binary. There is not an exact binary representation of 0.1 or 0.01.”
-
-
Big Decimal Math github.com
. [Delphi] This unit provides a arbitrary precision BCD float number type. It can be used like any numeric type and supports: At least numbers between 10-2147483647 to 102147483647 with 2147483647 decimal digit precision; All standard arithmetic and comparison operators…
-
Why not use Double or Float to represent currency? web.archive.org
Because of precision: floats and doubles cannot accurately represent the base 10 multiples that we use for money.
-
decimal github.com
A fixed-size, no allocation decimal type for when you don't need arbitrary precision.
Naming › Other: “This representation can encode numbers at very different magnitudes with a limited amount of digits by letting the radix point float instead of being fixed in place.”