forked from OSchip/llvm-project
4876520eef
The algorithm for Fw.d output will drive binary to decimal conversion for an initial fixed number of digits, then adjust that number based on the result's exposent. For value close to a power of ten, this adjustment process wouldn't terminate; e.g., formatting 9.999 as F10.2 would start with 1e2, boost the digits to 2, get 9.99e1, decrease the digits, and loop. Solve by refusing to boost the digits a second time. Differential Revision: https://reviews.llvm.org/D107490 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
big-radix-floating-point.h | ||
binary-to-decimal.cpp | ||
decimal-to-binary.cpp |