Printing shortest decimal form of floating point number with Mir

Walter Bright newshound2 at digitalmars.com
Sun Dec 20 22:21:56 UTC 2020


On 12/13/2020 10:47 PM, 9il wrote:
> Note that D's compiler floating-point literals parsing and Phobos floating-point 
> literals parsing are not precise [5,6,7,8]. It is recommended to use Mir's 
> to!double/float/real to convert floating-point numbers from a string.

Can the improved parsing be added to D? (It would need to be Boost licensed.)


More information about the Digitalmars-d-announce mailing list