Template Function librapid::detail::algorithm::expMul#
Defined in File complex.hpp
Function Documentation#
-
template<typename T>
auto librapid::detail::algorithm::expMul(T *pleft, T right, short exponent) -> short# Compute \(e^{\text{pleft}} \times \text{right} \times 2^{\text{exponent}}\).
- Template Parameters
T – Template type
- Parameters
pleft – Pointer to the value to be exponentiated
right – Multiplier for the exponentiated value
exponent – Exponent for the power of 2 multiplication
- Returns
1 if the result is NaN or Inf, -1 otherwise