Re:Optimizations Enabled by -ffast-Math
by hurrrrrrrr on Wednesday October 20, 2021 @08:24AM
(#28929806)
>Certainly do not use finite-math-only when dealing with external data.
so... never?
so... never?
"Allow optimizations for floating-point arithmetic that assume that arguments and results are not NaNs or +-Infs."
The obvious implication is that is that arguments and results are always finite and as a programmer you are responsible of guaranteeing the correct preconditions.
Certainly do not use finite-math-only when dealing with external data.