Printing shortest decimal form of floating point number with Mir

Walter Bright newshound2 at digitalmars.com
Wed Jan 6 02:27:25 UTC 2021


On 1/5/2021 5:30 AM, Guillaume Piolat wrote:
> It would be nice if no excess precision was ever used. It can sometimes gives a 
> false sense of correctness. It has no upside except accidental correctness that 
> can break when compiled for a different platform.

That same argument could be use to always use float instead of double. I hope 
you see it's fallacious <g>


> What about this plan?
> - use SSE all the time in DMD

That was done for OSX because their baseline CPU had SSE.

> - drop real :)

No.


More information about the Digitalmars-d-announce mailing list