Function librapid::str(const mpf&, int64_t, int)#

Function Documentation#

std::string librapid::str(const mpf &val, int64_t digits = -1, int base = 10)#

Convert a multiprecision floating point type to a string with a given base

Parameters
  • val – The value to convert

  • base – The base to convert to

Returns

The converted value