Welcome to the new CppUtils documentation!
CppUtils::Math::BasicBigInt<bool IsSigned = false>
CLASSPublic methods & functions
Section titled “Public methods & functions”template <bool OtherSigned>explicit constexpr BasicBigInt::BasicBigInt(const BasicBigInt<OtherSigned>& other);[[nodiscard]] constexpr auto BasicBigInt::divMod(const BasicBigInt& divisor) const -> std::expected<DivModResult, std::string_view>;[[nodiscard]] constexpr auto BasicBigInt::operator-() const -> BasicBigInt requires (IsSigned) { auto result = *this; if (not result.isZero()) result.setNegative(not result.isNegative()); return result; } [[nodiscard]] constexpr auto modPow(BasicBigInt exponent, const BasicBigInt& modulus) const -> BasicBigInt;[[nodiscard]] constexpr auto BasicBigInt::modPow(BasicBigInt exponent, const BasicBigInt& modulus) const -> BasicBigInt;[[nodiscard]] static constexpr auto BasicBigInt::parse(std::string_view string) -> std::expected<BasicBigInt, std::string_view>;[[nodiscard]] static constexpr auto BasicBigInt::fromBytes(std::span<const std::byte> bytes) -> BasicBigInt;Public attributes
Section titled “Public attributes”blockMask
Section titled “blockMask”constexpr auto blockMask;byteMask
Section titled “byteMask”constexpr auto byteMask;