xte ::big_int <T >::str ()
Defined in header <xte/math/big_int.hpp> Definition
Stringifies the big-integer. Negative radices are supported. May throw if allocation fails.template <xte ::is_int Radix =xte ::uz > [[nodiscard ]]constexpr xte ::string str (this auto&& ,Radix radix =10 ,const xte ::number_format_config & config = {})noexcept (false );
Example
Output:std ::println ("{}" ,xte ::big_int (99 ).pow (99 ).str ());
[View in Compiler Explorer]13C8DB009372548E1D1EE21004B41F9D0A2F1C7A4CA716024FF714032153A5AB531817C13EF1F2F7F401B48535A8C22BBDC1EE93B772F0DD094A8FD9727DAE16CEB8E4A25451BBA34A32099615746B57BC8BB