correct windows limb size

This commit is contained in:
kalsprite
2026-08-07 15:18:46 -07:00
parent 5393a11ee1
commit 3dc7741e06

View File

@@ -14,8 +14,8 @@ array_count_from_integral_float :: proc(t: ^testing.T) {
testing.expect_value(t, len([Halved]u8{}), 3)
testing.expect_value(t, len([Summed]u8{}), 3)
// 2^53, the largest integer an f64 holds exactly, on a zero-sized element
testing.expect_value(t, len([9007199254740992.0]struct{}{}), 1 << 53)
// NOTE: keep below one BigInt limb: 2^28 on windows, 2^60 on linux
testing.expect_value(t, len([65536.0]struct{}{}), 1 << 16)
testing.expect_value(t, size_of(matrix[2.0, 3.0]f32), 24)
testing.expect_value(t, size_of(#simd[4.0]u8), 4)