behavior: add test coverage for previous i128 regression on aarch64

Closes #8429
This commit is contained in:
r00ster91 2022-12-07 18:39:03 +01:00
parent 981cfd9c1c
commit 01947bfe92

View File

@ -53,6 +53,11 @@ test "int128" {
buff = -0x12341234123412341234123412341234;
try expect(-buff == 0x12341234123412341234123412341234);
const a: i128 = -170141183460469231731687303715884105728;
const b: i128 = -0x8000_0000_0000_0000_0000_0000_0000_0000;
try expect(@divFloor(b, 1_000_000) == -170141183460469231731687303715885);
try expect(a == b);
}
test "truncate int128" {