libzigc: std.math -> math

Remove the two uses of `std.math` since that namespace is
already assigned to the `math` constant and used as such.
This commit is contained in:
mihael
2026-03-11 17:58:42 +01:00
parent c38e6ed686
commit 888014c837
+2 -2
View File
@@ -70,7 +70,7 @@ fn acos(x: f64) callconv(.c) f64 {
}
fn acosf(x: f32) callconv(.c) f32 {
return std.math.acos(x);
return math.acos(x);
}
fn atan(x: f64) callconv(.c) f64 {
@@ -177,7 +177,7 @@ fn pow10f(x: f32) callconv(.c) f32 {
}
fn rint(x: f64) callconv(.c) f64 {
const toint: f64 = 1.0 / @as(f64, std.math.floatEps(f64));
const toint: f64 = 1.0 / @as(f64, math.floatEps(f64));
const a: u64 = @bitCast(x);
const e = a >> 52 & 0x7ff;
const s = a >> 63;