Floating-Point Input and Output Are Not Symmetric

Floating-point output is difficult because the number of digits needed to represent the result exactly might be very large, and it is not easy to figure out how many of those digits are needed to preserve the values being converted. Floating-point input has almost the opposite problems.


February 06, 2014
URL:http://www.drdobbs.com/jvm/an-algorithm-for-compressing-space-and-t/jvm/floating-point-input-and-output-are-not/240165984

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