Closed
Description
In many @njit
cases, we use fastmath=True
. However, this might be bad when the input arguments and/or output results contain np.nan
or np.inf
(see Numba fastmath). In those cases, we should use more specific but slower fastmath
flags like @njit(fastmath={"nsz", "arcp", "contract", "afn", "reassoc"})
We should spend some time to reassessing whether all of the fastmath
specifications are accurate or if they need to be updated