X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fmath%2Flroundl.c;h=094fdf6483842e90a9fac200394255d02bb8073d;hp=7b593f773a3742c73e57125c2916e47960eae690;hb=9f58d06007818c43b9504e959ef81ab5f113b374;hpb=93a50a26cd0f9efc59cc83daae7b2d916b327ab1 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