27 long osFlags = os.flags();
30 else if (osFlags & os.hex) {
32 if (osFlags & os.showbase)
34 }
else if (osFlags & os.oct) {
36 if (osFlags & os.showbase)
39 throw "std::ostream << BigUnsigned: Could not determine the desired base from output-stream flags";
std::string bigUnsignedToString(const BigUnsigned &x)
BigInteger stringToBigInteger(const std::string &s)
std::string bigIntegerToString(const BigInteger &x)
const BigUnsigned & getMagnitude() const
std::ostream & operator<<(std::ostream &os, const BigUnsigned &x)
BigUnsigned stringToBigUnsigned(const std::string &s)