pub fn sinh_cosh<T: CordicNumber>(x: T) -> (T, T)Expand description
Hyperbolic sine and cosine. More efficient than separate calls.
§Saturation Behavior
Both outputs can saturate for large |x|:
- sinh saturates to
T::MAXorT::MIN - cosh saturates to
T::MAX
See sinh and cosh for threshold details.
When saturation occurs, both values saturate together (they grow at the same rate), so the relationship cosh²(x) - sinh²(x) = 1 will not hold for saturated outputs.