diff --git a/tests/core/math/test_core_math.odin b/tests/core/math/test_core_math.odin index 32707c7eb..5797cb4ea 100644 --- a/tests/core/math/test_core_math.odin +++ b/tests/core/math/test_core_math.odin @@ -1012,7 +1012,7 @@ alike :: proc(t: ^testing.T, a, b: f64, loc := #caller_location) -> bool { case math.is_nan(a) && math.is_nan(b): ok = true case a == b: - ok = math.signbit(a) == math.signbit(b) + ok = math.sign_bit(a) == math.sign_bit(b) } testing.expectf(t, ok, "%.15g is not alike to %.15g", a, b, loc=loc) return ok