X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fmath%2Flroundl.c;h=094fdf6483842e90a9fac200394255d02bb8073d;hp=1469127b9064c2432a177783c6ef4112b06eb018;hb=8051e08e10d2b739fcfcbc6bc7466e8d77fa49f1;hpb=b69f695acedd4ce2798ef9ea28d834ceccc789bd diff --git a/src/math/lroundl.c b/src/math/lroundl.c index 1469127b..094fdf64 100644 --- a/src/math/lroundl.c +++ b/src/math/lroundl.c @@ -1,16 +1,6 @@ -#include "libm.h" -#if LDBL_MANT_DIG == 53 && LDBL_MAX_EXP == 1024 +#include + 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