X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fmath%2Fllrint.c;h=4f583ae5536aa6152c3bab8671846da507f8f57e;hp=c0a40721c45e2ba6760285312fed28772b166726;hb=74025c80ce1eb4cda110ab2e3ac11718d3c6f2ff;hpb=b69f695acedd4ce2798ef9ea28d834ceccc789bd diff --git a/src/math/llrint.c b/src/math/llrint.c index c0a40721..4f583ae5 100644 --- a/src/math/llrint.c +++ b/src/math/llrint.c @@ -1,8 +1,8 @@ -#define type double -#define roundit rint -#define dtype long long -#define fn llrint - -#include "lrint.c" +#include +/* uses LLONG_MAX > 2^53, see comments in lrint.c */ +long long llrint(double x) +{ + return rint(x); +}