mirror of
https://github.com/odin-lang/Odin.git
synced 2026-08-14 09:44:26 +00:00
correct windows limb size
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user