On Mon, Mar 27, 2023 at 1:30 PM Andreas Gustafsson <g...@waxingwave.com>
wrote:

>
> On Linux, one way to choose the non-default, non-IEEE behavior is
> to use "gcc -ffast-math".  Programs linked with gcc -ffast-math turn
> on FTZ and DAZ at startup,
>

Note that -ffast-math option does a *lot* more than just disable denormal
calculations.  It also reduces accuracy of non-linear functions (like
sqrtf()), lets the compiler change the order of operations, etc.

Ethan D

Reply via email to