[Issue 20951] Wrong Decimal Literals Encoding

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 10 14:15:35 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=20951

Iain Buclaw <ibuclaw at gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw at gdcproject.org

--- Comment #5 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to kinke from comment #1)
> Iain has recently added a core.math.toPrec() function, I don't know if he
> had CTFE in mind for this and whether he changed something in the compiler
> as well.

toPrec was added precisely because CTFE does everything at the highest
supported precision, even if you are only working with floats.

--


More information about the Digitalmars-d-bugs mailing list