diff --git a/src/geomath.rs b/src/geomath.rs index 4482f06..2358ef8 100644 --- a/src/geomath.rs +++ b/src/geomath.rs @@ -153,7 +153,7 @@ pub fn sincosd(x: f64) -> (f64, f64) { }; if sinx == 0.0 { - sinx = libm::copysign(sinx, x); // special values from F.10.1.13 + sinx = sinx.copysign(x); // special values from F.10.1.13 } (sinx, cosx) }