@@ -469,18 +469,20 @@ cmp_ok 0x3ffffffffffffffe % -0xc000000000000000, '==', -0x8000000000000002, 'mo
469
469
cmp_ok 0x3fffffffffffffff % -0xc000000000000000, ' ==' , -0x8000000000000001, ' modulo is (IV_MIN-1)' ;
470
470
cmp_ok 0x4000000000000000 % -0xc000000000000000, ' ==' , -0x8000000000000000, ' modulo is IV_MIN' ;
471
471
472
- # Arithmetic close to IV overflow
472
+ # Arithmetic close to IV overflow [GH 23503]
473
473
474
474
# These had been handled in generic (slower) code, but now in fast path
475
- # (as "simple common case"). Either way, these tests should pass.
475
+ # (as "simple common case") after [GH 23503].
476
+ # Either way, these tests should pass.
476
477
$q = 9223372036854775800;
477
478
cmp_ok 5 + $q , ' ==' , 9223372036854775805, " 5 + $q " ;
478
479
cmp_ok $q - -5, ' ==' , 9223372036854775805, " $q - -5" ;
479
480
$q = 1111111111111111111;
480
481
cmp_ok $q * 5, ' ==' , 5555555555555555555, " $q * 5" ;
481
482
482
- # IV <op> IV -> UV/NV promotion
483
+ # IV <op> IV -> UV/NV promotion [GH 23503]
483
484
485
+ # These tests should pass invariably before and after [GH 23503].
484
486
$q = 7777777777777777777;
485
487
$r = 2222222222222222223;
486
488
# Note 10000000000000000000 can be represented accurately in both
0 commit comments