real.h (SIGNIFICAND_BITS): Add one more word.
authorRichard Henderson <rth@gcc.gnu.org>
Fri, 4 Oct 2002 08:01:12 +0000 (01:01 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Fri, 4 Oct 2002 08:01:12 +0000 (01:01 -0700)
commitee6ff319272d415b5c36d7f45e6e08e8273d6b62
tree5a48f88c6ae305fbba651fd2c77019b022c4e3ee
parent311b75739b289a6657e90317009db81d88a300de
real.h (SIGNIFICAND_BITS): Add one more word.

        * real.h (SIGNIFICAND_BITS): Add one more word.
        (CONST_DOUBLE_FORMAT): Accomodate 6 words.
        * real.c (times_pten): New.
        (real_to_decimal, real_from_string): Use it.
        (sticky_rshift_significand): Use & to find modulus.
        (rshift_significand, lshift_significand): Likewise.
        (do_divide): Apply sticky bit after normalization.
        (real_to_decimal, real_to_hexadecimal): Fix sign of Inf and NaN.

From-SVN: r57811
gcc/ChangeLog
gcc/real.c
gcc/real.h