@@ -87,12 +87,12 @@ typedef unsigned __int128 uint128_t;
8787static const __uint128_t UINT128_MAX =__uint128_t (__int128_t (-1L ));
8888static_assert (UINT128_MAX == -1 , " " );
8989static_assert (UINT128_MAX == 1 , " " ); // both-error {{static assertion failed}} \
90- // both-note {{'340282366920938463463374607431768211455 == 1'}}
90+ // both-note {{'FFFFFFFFFFFFFFFFFFFF...FFFFFFFFFFFFFFFFFFFF == 1'}}
9191
9292static const __int128_t INT128_MAX = UINT128_MAX >> (__int128_t )1 ;
9393static_assert (INT128_MAX != 0 , " " );
9494static_assert (INT128_MAX == 0 , " " ); // both-error {{failed}} \
95- // both-note {{evaluates to '170141183460469231731687303715884105727 == 0'}}
95+ // both-note {{evaluates to '7FFFFFFFFFFFFFFFFFFF...FFFFFFFFFFFFFFFFFFFF == 0'}}
9696static const __int128_t INT128_MIN = -INT128_MAX - 1 ;
9797
9898
@@ -113,14 +113,14 @@ namespace i128 {
113113 static const __uint128_t UINT128_MAX =__uint128_t (__int128_t (-1L ));
114114 static_assert (UINT128_MAX == -1 , " " );
115115 static_assert (UINT128_MAX == 1 , " " ); // both-error {{static assertion failed}} \
116- // both-note {{'340282366920938463463374607431768211455 == 1'}}
116+ // both-note {{'FFFFFFFFFFFFFFFFFFFF...FFFFFFFFFFFFFFFFFFFF == 1'}}
117117
118118 constexpr uint128_t TooMuch = UINT128_MAX * 2 ;
119119
120120 static const __int128_t INT128_MAX = UINT128_MAX >> (__int128_t )1 ;
121121 static_assert (INT128_MAX != 0 , " " );
122122 static_assert (INT128_MAX == 0 , " " ); // both-error {{failed}} \
123- // both-note {{evaluates to '170141183460469231731687303715884105727 == 0'}}
123+ // both-note {{evaluates to '7FFFFFFFFFFFFFFFFFFF...FFFFFFFFFFFFFFFFFFFF == 0'}}
124124
125125 constexpr int128_t TooMuch2 = INT128_MAX * INT128_MAX; // both-error {{must be initialized by a constant expression}} \
126126 // both-note {{value 28948022309329048855892746252171976962977213799489202546401021394546514198529 is outside the range of representable}}
0 commit comments