Another effect is that some errors are avoided (and perhaps other changes with how NaN & Inf are treated):
julia> @fastmath (-1.5)^0.5
NaN
julia> @fastmath log(-1.5)
NaN
Another effect is that some errors are avoided (and perhaps other changes with how NaN & Inf are treated):
julia> @fastmath (-1.5)^0.5
NaN
julia> @fastmath log(-1.5)
NaN