You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is inaccurate for sinh due to catastrophic cancellation of p-q when x is close to zero.
Could perhaps be solved by using Math.Sinh and Math.Cosh within a threshold?
The text was updated successfully, but these errors were encountered:
I have found a number of potential places for improvements in
System.Numerics.Complex
:Math.SinCos
when available in various places.double.Hypot
when available inComplex.Hypot
sinh
andcosh
are calculated simultaneously as:This is inaccurate for
sinh
due to catastrophic cancellation ofp-q
whenx
is close to zero.Could perhaps be solved by using
Math.Sinh
andMath.Cosh
within a threshold?The text was updated successfully, but these errors were encountered: