X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fmath%2Fllroundl.c;h=2c2ee5ecd68596965567a90347a9b7fc4111b864;hp=9e2cfdc717895188b88f74e97334947216529b1e;hb=d8a7619e371ff0f226200f6316abb46dd1192f3d;hpb=b69f695acedd4ce2798ef9ea28d834ceccc789bd diff --git a/src/math/llroundl.c b/src/math/llroundl.c index 9e2cfdc7..2c2ee5ec 100644 --- a/src/math/llroundl.c +++ b/src/math/llroundl.c @@ -1,16 +1,6 @@ -#include "libm.h" -#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024 +#include + long long llroundl(long double x) { - return llround(x); + return roundl(x); } -#else -#define type long double -#define roundit roundl -#define dtype long long -#define DTYPE_MIN LLONG_MIN -#define DTYPE_MAX LLONG_MAX -#define fn llroundl - -#include "lround.c" -#endif