JuliaMath / NaNMath.jl

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

`NaNMath.sqrt` has no method for complex arguments #77

Open OsmarCLFilho opened 3 months ago

OsmarCLFilho commented 3 months ago

Given a + bim, we could just return Base.sqrt(a + bim) since it can handle those values without throwing domain errors.

Currently, NaNMath.sqrt(a + bim) will just yield a missing method error.

moble commented 1 month ago

This is essentially the same as #66.