Movement against float.init being nan
Guillaume Piolat
first.last at spam.org
Tue Aug 30 10:23:22 UTC 2022
On Sunday, 28 August 2022 at 18:31:37 UTC, Walter Bright wrote:
> On 8/25/2022 11:05 AM, Bastiaan Veelo wrote:
>> Compile with LDC and options `--ffast-math -O`.
>
>
> https://stackoverflow.com/questions/7420665/what-does-gccs-ffast-math-actually-do
>
> I'd stay away from fast-math. If you want to use it, however,
> you're on your own as D assumes IEEE math.
+1
"fast math" it also different from compiler to compiler, and
sometimes makes things slower!
Do you even need it for performance? Not sure, as just working on
your vectorization, be it automatic or explicit, will leads to
way better results. At least, that's my experience using the LLVM
backend.
More information about the Digitalmars-d
mailing list