فهرست منبع

`signbit` -> `sign_bit` in `tests/core/math`

Jeroen van Rijn 4 ماه پیش
والد
کامیت
678fa897f5
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      tests/core/math/test_core_math.odin

+ 1 - 1
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