diff --git a/fixed_wide/src/tests.rs b/fixed_wide/src/tests.rs index 43fa2ab..2f9aaa6 100644 --- a/fixed_wide/src/tests.rs +++ b/fixed_wide/src/tests.rs @@ -65,7 +65,7 @@ fn test_sqrt_zero(){ #[test] fn test_sqrt_low(){ let a=I32F32::HALF; - let b=a*a; + let b=a.fixed_mul(a); assert_eq!(b.sqrt(),a); } fn find_equiv_sqrt_via_f64(n:I32F32)->I32F32{