Function librapid::ldexp(const mpfr&, int)#

Function Documentation#

mpfr librapid::ldexp(const mpfr &val, int exponent)#

ldexp of a multiprecision floating point value: \( x \times 2^exp \)

Parameters
  • val – The value to take the ldexp of

  • exponent – The exponent to multiply the value by

Returns

The ldexp of the value