Thread overview
[Issue 20262] Page spec/property.html should mention, that mant_dig includes the (not saved) leading 1 of the mantissa.
[Issue 20262] CustomFloat.mant_dig gives wrong value
Oct 02, 2019
Berni
Oct 02, 2019
Berni
Dec 17, 2022
Iain Buclaw
October 02, 2019
https://issues.dlang.org/show_bug.cgi?id=20262

Berni <dlang@croco-puzzle.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|CustomFloat.mant_dig        |CustomFloat.mant_dig gives
                   |                            |wrong value

--
October 02, 2019
https://issues.dlang.org/show_bug.cgi?id=20262

Berni <dlang@croco-puzzle.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|phobos                      |dlang.org
            Summary|CustomFloat.mant_dig gives  |Page spec/property.html
                   |wrong value                 |should mention, that
                   |                            |mant_dig includes the (not
                   |                            |saved) leading 1 of the
                   |                            |mantissa.

--- Comment #1 from Berni <dlang@croco-puzzle.com> ---
Meanwhile I found out, that mant_dig is defined differently, than I thought - the leeding 1, that is not saved in IEEE floats, is counted too. Therefore I changed title and component of this bug report. The documentation should mention, that this 1 is counted.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=20262

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--