Force usage of double (instead of higher precision)

Stefan Koch via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Jun 28 17:02:58 PDT 2017


On Wednesday, 28 June 2017 at 23:56:42 UTC, Stefan Koch wrote:
>
> As for your problems they can be worked around.
> by assigning every temporary to a variable.
> Which will enforce the discarding of precision.

Sorry for the misinformation!
I was using the newCTFE fork which fixes this.
Indeed you'll have no way to get rid of the excess precision 
except for creating a function per sub-expression.



More information about the Digitalmars-d-learn mailing list