CmP Posted August 8, 2018 Posted August 8, 2018 Quote A floating point variable can represent a wider range of numbers than a fixed point variable of the same bit width at the cost of precision. A signed 32-bit integer variable has a maximum value of 2^(31) − 1 = 2,147,483,647, whereas an IEEE 754 32-bit base-2 floating-point variable has a maximum value of (2 − 2^(−23)) × 2^(127) ≈ 3.402823 × 10^(38). https://en.wikipedia.org/wiki/Single-precision_floating-point_format
Recommended Posts
Archived
This topic is now archived and is closed to further replies.