JuliaMath / NaNMath.jl

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

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

Open OsmarCLFilho opened 8 months ago

OsmarCLFilho commented 8 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 5 months ago

This is essentially the same as #66.