Floating-Point
Prev: Hilbert’s Curve
Next: Formulas for Primes
Sections
17-1IEEE Format17-2Floating-Point To/From Integer Conversions17-3Comparing Floating-Point Numbers Using Integer Operations17-4An Approximate Reciprocal Square Root Routine17-5The Distribution of Leading Digits17-6Table of Miscellaneous Values
Problems
-
What numbers have the same representation, apart from trailing 0’s, in both single- and double-precision?
-
Is there a program similar to the approximate reciprocal square root routine for computing the approximate square root?
-
Is there a similar program for the approximate cube root of a nonnegative normal number?
-
Is there a similar program for the reciprocal square root of a double-precision floating-point number? Assume it is for a 64-bit machine, or at any rate that the
long long, 64-bit integer, data type is available.