NaNMath.jl
NaNMath.jl copied to clipboard
Add generic fallback to all scalar functions
IMO this isn't quite correct. NaNMath says that functions return NaN rather than throwing so we should check if we get an error and return NaN in these fallback methods.
This also needs tests.