X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fllroundl.c;h=2c2ee5ecd68596965567a90347a9b7fc4111b864;hb=5652d70054daf3c2c9b6d475fdf9d24a940e51aa;hp=107744a97034ab76c95f01d37ea709658cab942d;hpb=9560b6b152efeb23cc4e570dbaea5ef333ac971f;p=musl diff --git a/src/math/llroundl.c b/src/math/llroundl.c index 107744a9..2c2ee5ec 100644 --- a/src/math/llroundl.c +++ b/src/math/llroundl.c @@ -1,18 +1,6 @@ #include -#include -#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024 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