Why Is Exact Floating-Point Output So Hard?

Every binary floating-point number is equivalent to what we might call a binary fixed-point number: a sequence of bits with a binary point separating the integer part from the fractional part.


January 30, 2014
URL:http://www.drdobbs.com/cpp/why-is-exact-floating-point-output-so-ha/240165791

Terms of Service | Privacy Statement | Copyright © 2024 UBM Tech, All rights reserved.