Archive for the ‘Numeral’ Category
Floating-point: Bit Value of INF, NAN, DEN
I have every write a post and mentioned a little bit about the binary format of IEEE 754 in Comparison of Float and Double Precision. In this post I made ...
Performance: encapsulate floating point and built-in tolerance
When it comes to the floating point comparison with tolerance, two approaches come into my mind.
The first approach is to write inline functions and call them when compare floating point ...
Comparison of Float and Double Precision
C++ supports two primitive floating point types: float and double. These are based on the IEEE 754 standard, which defines a binary standard for 32-bit floating point and 64-bit double ...
