Force usage of double (instead of higher precision)

kinke via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jun 30 09:21:18 PDT 2017


On Friday, 30 June 2017 at 11:42:39 UTC, Luis wrote:
> On Thursday, 29 June 2017 at 12:00:53 UTC, Simon Bürger wrote:
>> Thanks a lot for your comments.
>>
>> On Wednesday, 28 June 2017 at 23:56:42 UTC, Stefan Koch wrote:
>>> [...]
>>>
>
> This is only happening on CTFE ? Enforcing to use the old 8086 
> FPU for any float/double operation would give a lot performance 
> penalty on any modern CPU.

CTFE only (incl. parsing of literals). Just make sure you don't 
happen to call a std.math function only accepting reals; I don't 
know how many of those are still around.


More information about the Digitalmars-d-learn mailing list