X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmath%2Fllroundl.c;h=2c2ee5ecd68596965567a90347a9b7fc4111b864;hb=c6383b7b10303457306932584fc23f24b5153a81;hp=107744a97034ab76c95f01d37ea709658cab942d;hpb=93a50a26cd0f9efc59cc83daae7b2d916b327ab1;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