31 Ops::div_mod(this->span(), divisor.span(), division_result.span(), modulo_result.span());
32 return division_result;
38 Ops::div_mod(this->span(), divisor.span(), division_result.span(), modulo_result.span());
51 constexpr auto span() {
return m_storage.span(); }
52 constexpr auto span()
const {
return m_storage.span(); }
A fixed-width unsigned integer.
Definition fixed_unsigned.h:17
constexpr friend auto operator<=>(FixedUnsigned const &a, FixedUnsigned const &b)
Definition fixed_unsigned.h:47
constexpr auto operator/(FixedUnsigned const &divisor) const -> FixedUnsigned
Definition fixed_unsigned.h:28
constexpr friend auto operator==(FixedUnsigned const &a, FixedUnsigned const &b) -> bool
Definition fixed_unsigned.h:43
constexpr auto operator%(FixedUnsigned const &divisor) const -> FixedUnsigned
Definition fixed_unsigned.h:35
constexpr FixedUnsigned(bigint::StorageType value)
Definition fixed_unsigned.h:26
unsigned long StorageType
Definition fixed_ops.h:18
FixedUnsigned< 128 > u128_fallback
Definition fixed_unsigned.h:57
FixedUnsigned< 256 > u256
Definition fixed_unsigned.h:58
size_t usize
Definition integers.h:33
Definition zstring_parser.h:9
Definition fixed_ops.h:21
static constexpr auto compare(Span< StorageType const, words > lhs, Span< StorageType const, words > rhs) -> strong_ordering
Definition fixed_ops.h:44
static constexpr void div_mod(Span< StorageType const, words > dividend, Span< StorageType const, words > divisor, Span< StorageType, words > quotient, Span< StorageType, words > remainder)
Definition fixed_ops.h:94
Definition span_fixed_size.h:37