Template Function TRAP::Math::LdExp(const genType&, const i32&)#
Function Documentation#
-
template<typename genType>
genType TRAP::Math::LdExp(const genType &x, const i32 &exp)# Builds a floating-point number from x and the corresponding integral exponent of two in exp, returning: significant * Exp(2, exponent).
Note
If this product is too large to be represented in the floating-point type, the result is undefined!
- Parameters:
x – Specifies the value to be used as a source of significand.
exp – Specifies the value to be used as a source of exponent.
- Returns:
See description.