llvm.org GIT mirror llvm / db1e302
Handle 0 correctly in string->APFloat conversion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@44594 91177308-0d34-0410-b5e6-96231b3b80d8 Dale Johannesen 12 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
21442144 42039/12655 < L < 28738/8651 [ numerator <= 65536 ]
21452145 */
21462146
2147 if (*D.firstSigDigit == '0') {
2147 if (*D.firstSigDigit == 0) {
21482148 category = fcZero;
21492149 fs = opOK;
21502150 } else if ((D.normalizedExponent + 1) * 28738