diff --git a/src/libc/c99/math/lrintl.c b/src/libc/c99/math/lrintl.c index 6efa2079..30a4077f 100644 --- a/src/libc/c99/math/lrintl.c +++ b/src/libc/c99/math/lrintl.c @@ -1,14 +1,6 @@ -/* Copyright (C) 2013 DJ Delorie, see COPYING.DJ for details */ - #include - -long int -lrintl(long double x) +long lrintl(long double x) { - long int result; - - asm("fistpl %0" : "=m" (result) : "t" (x) : "st"); - - return result; + return rintl(x); }