Handling big FP numbers

Guillaume Piolat first.last at gmail.com
Tue Feb 12 12:30:33 UTC 2019


On Saturday, 9 February 2019 at 02:54:18 UTC, Adam D. Ruppe wrote:
>
> (The `real` thing in D was a massive mistake. It is slow and 
> adds nothing but confusion.)

We've had occasional problems with `real` being 80-bit on FPU 
giving more precision than asked, and effectively hiding 32-bit 
float precision problems until run on SSE.

Not a big deal, but I would argue giving more precision than 
asked is a form of Postel's law: a bad idea.


More information about the Digitalmars-d-learn mailing list