-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Description
The expm1 and log1p functions are not yet implemented for Complex types.
In principle, I think these are straightforward: use a Taylor expansion for small arguments z (e.g. it is cheapest to check whether |real(z)|+|imag(z)| is small), and explicit function exp/log calls otherwise. The only annoyance is that you have to change the "small" cutoff and the order of the Taylor series depending upon the precision. For Float64 and Float32 this is simple, but for BigFloat matters are hairier.
Metadata
Metadata
Assignees
Labels
No labels