Force usage of double (instead of higher precision)
Simon Bürger via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Jun 29 05:02:48 PDT 2017
On Thursday, 29 June 2017 at 00:07:35 UTC, kinke wrote:
> On Wednesday, 28 June 2017 at 22:16:48 UTC, Simon Bürger wrote:
>> I am currently using LDC on 64-bit-Linux if that is relevant.
>
> It is, as LDC on Windows/MSVC would use 64-bit compile-time
> reals. ;)
>
> Changing it to double on other platforms is trivial if you
> compile LDC yourself. You'll want to use this alias:
> https://github.com/ldc-developers/ldc/blob/master/ddmd/root/ctfloat.d#L19, https://github.com/ldc-developers/ldc/blob/master/ddmd/root/ctfloat.h#L19
Huh, I will definitely look into this. This might be the most
elegant solution. Thanks for the suggestion.
More information about the Digitalmars-d-learn
mailing list