JuliaMath / NaNMath.jl

Julia math built-ins which return NaN and accumulator functions which ignore NaN
Other
53 stars 28 forks source link

Add generic fallback to all scalar functions #71

Open YingboMa opened 1 year ago

oscardssmith commented 1 year ago

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.

oscardssmith commented 1 year ago

This also needs tests.