diff --git a/libc/arch/x86_64/math.c b/libc/arch/x86_64/math.c index a1d6048a..1d0eb7a9 100644 --- a/libc/arch/x86_64/math.c +++ b/libc/arch/x86_64/math.c @@ -1,17 +1,5 @@ #include -double ceil(double x) { - if (x == 0.0) return x; - - double out; - asm volatile ( - "frndint\n" - : "=t"(out) : "0"(x) - ); - if (out < x) return out + 1.0; - return out; -} - double floor(double x) { if (x == 0.0) return x;