NaNMath.jl icon indicating copy to clipboard operation
NaNMath.jl copied to clipboard

Add generic fallback to all scalar functions

Open YingboMa opened this issue 2 years ago • 2 comments

YingboMa avatar Aug 22 '23 15:08 YingboMa

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 avatar Aug 22 '23 15:08 oscardssmith

This also needs tests.

oscardssmith avatar Aug 22 '23 15:08 oscardssmith