xieite::big_int<T>::str()

Defined in header <xieite/math/big_int.hpp>

Stringifies a xieite::big_int<T> {}. Supports negative radices.


Declaration

[[nodiscard]] constexpr std::string str(xieite::ssize_t radix = 10, xieite::num_str_config cfg = {}) const noexcept;


Example

int main() {
	xieite::dump(xieite::big_int(2).str(3).str());
}
Output:
8
[View in Compiler Explorer]