@@ -111,7 +111,7 @@ class Signed : public SignedTag {
111111
112112 template <Range R2 >
113113 explicit (size() < R2 .length()) constexpr Signed (Signed<R2 > const & other) {
114- if constexpr (size () >= other. size ()) {
114+ if constexpr (R. length () >= R2 . length ()) {
115115 value_ = resize<size ()>(other).value_ ;
116116 } else {
117117 value_ = resize<size ()>(other).value_ ;
@@ -413,10 +413,10 @@ class Signed : public SignedTag {
413413 }
414414 safe_shift = static_cast <size_t >(shift_amount);
415415 } else if constexpr (detail::is_coconext_unsigned<CleanType>::value) {
416- static_assert (shift_amount. size () < 64 , " Bit Width cap 2**64" );
416+ static_assert (CleanType:: size () < 64 , " Bit Width cap 2**64" );
417417 safe_shift = static_cast <size_t >(static_cast <unsigned long long >(shift_amount));
418418 } else if constexpr (detail::is_coconext_signed<CleanType>::value) {
419- static_assert (shift_amount. size () < 64 , " Bit Width cap 2**64" );
419+ static_assert (CleanType:: size () < 64 , " Bit Width cap 2**64" );
420420 long long signed_val = static_cast <long long >(shift_amount);
421421 if (signed_val < 0 ) {
422422 if consteval {
@@ -459,10 +459,10 @@ class Signed : public SignedTag {
459459 }
460460 safe_shift = static_cast <size_t >(shift_amount);
461461 } else if constexpr (detail::is_coconext_unsigned<CleanType>::value) {
462- static_assert (shift_amount. size () < 64 , " Bit Width cap 2**64" );
462+ static_assert (CleanType:: size () < 64 , " Bit Width cap 2**64" );
463463 safe_shift = static_cast <size_t >(static_cast <unsigned long long >(shift_amount));
464464 } else if constexpr (detail::is_coconext_signed<CleanType>::value) {
465- static_assert (shift_amount. size () < 64 , " Bit Width cap 2**64" );
465+ static_assert (CleanType:: size () < 64 , " Bit Width cap 2**64" );
466466 long long signed_val = static_cast <long long >(shift_amount);
467467 if (signed_val < 0 ) {
468468 if consteval {
@@ -539,7 +539,7 @@ class Signed : public SignedTag {
539539
540540 template <Range R2 >
541541 constexpr auto operator %(Signed<R2 > const & rhs) const {
542- constexpr size_t W_calc = std::max (size (), rhs. size ());
542+ constexpr size_t W_calc = std::max (R. length (), R2 . length ());
543543 if (!static_cast <bool >(rhs)) {
544544 throw std::domain_error (" Division by zero" );
545545 }
0 commit comments