X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Flroundl.c;h=094fdf6483842e90a9fac200394255d02bb8073d;hb=666271c105e4137bdfa195e217799d74143370d4;hp=7b593f773a3742c73e57125c2916e47960eae690;hpb=9560b6b152efeb23cc4e570dbaea5ef333ac971f;p=musl diff --git a/src/math/lroundl.c b/src/math/lroundl.c index 7b593f77..094fdf64 100644 --- a/src/math/lroundl.c +++ b/src/math/lroundl.c @@ -1,18 +1,6 @@ #include -#include -#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024 long lroundl(long double x) { - return lround(x); + return roundl(x); } -#else -#define type long double -#define roundit roundl -#define dtype long -#define DTYPE_MIN LONG_MIN -#define DTYPE_MAX LONG_MAX -#define fn lroundl - -#include "lround.c" -#endif