fixed misspellings in comments
original commit: 44370695fbfe86fbf1cd5dd115a2289626604796
This commit is contained in:
parent
f5940acbc0
commit
4750828c26
|
@ -1163,7 +1163,7 @@ static double floatify_normalize(p, e, sign, sticky) bigit *p; iptr e; IBOOL sig
|
||||||
if (round) {
|
if (round) {
|
||||||
mlow += 1;
|
mlow += 1;
|
||||||
if (e == 0 && mlow == hidden_bit) {
|
if (e == 0 && mlow == hidden_bit) {
|
||||||
e = 1; /* squeeking into lowest normalized spot */
|
e = 1; /* squeaking into lowest normalized spot */
|
||||||
} else if (mlow == hidden_bit * 2) {
|
} else if (mlow == hidden_bit * 2) {
|
||||||
/* don't bother with mlow = mlow >> 1 since hidden bit and up are ignored after this */
|
/* don't bother with mlow = mlow >> 1 since hidden bit and up are ignored after this */
|
||||||
e += 1;
|
e += 1;
|
||||||
|
|
|
@ -510,7 +510,7 @@ floating point returns with (1 0 -1 ...).
|
||||||
; words, a digit is insignificant if incrementing the preceding
|
; words, a digit is insignificant if incrementing the preceding
|
||||||
; digit does not cause the number to fall outside the rounding
|
; digit does not cause the number to fall outside the rounding
|
||||||
; range of v." For 1e23, which falls exactly midway between two
|
; range of v." For 1e23, which falls exactly midway between two
|
||||||
; fp numbers and reads as the next one down due to "unbiasd rounding",
|
; fp numbers and reads as the next one down due to "unbiased rounding",
|
||||||
; if we add even a single 1 digit way down, we're pushed to the next
|
; if we add even a single 1 digit way down, we're pushed to the next
|
||||||
; higher (when read). For example:
|
; higher (when read). For example:
|
||||||
; 100000000000000000000000.000000000000000000000000000000000000001
|
; 100000000000000000000000.000000000000000000000000000000000000001
|
||||||
|
|
Loading…
Reference in New Issue
Block a user