bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/24944] gas doesn't read all necessary digits when parsing a flo


From: amodra at gmail dot com
Subject: [Bug gas/24944] gas doesn't read all necessary digits when parsing a floating point number
Date: Wed, 20 Nov 2019 10:36:08 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=24944

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-11-20
           Assignee|unassigned at sourceware dot org   |amodra at gmail dot com
            Summary|gas doesn't read all        |gas doesn't read all
                   |necessary ditits when parse |necessary digits when
                   |a floating point number     |parsing a floating point
                   |                            |number
     Ever confirmed|0                           |1

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
Doing away with the limit won't work if someone uses .double with more than
1292 digits, because the following multiplication will overflow:
      more_than_enough_bits_for_digits
        = (number_of_digits_to_use * 3321928 / 1000000 + 1);

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]