X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fmath%2Fllrintf.c;h=96949a006ea88146af15d967fc01f90431e34d19;hp=f06a3c278eaf91e00f6dabd89ee7b7652fc27fb1;hb=be81f51030d90de8d5eb0b65dbdab3032d5cae23;hpb=b69f695acedd4ce2798ef9ea28d834ceccc789bd diff --git a/src/math/llrintf.c b/src/math/llrintf.c index f06a3c27..96949a00 100644 --- a/src/math/llrintf.c +++ b/src/math/llrintf.c @@ -1,6 +1,8 @@ -#define type float -#define roundit rintf -#define dtype long long -#define fn llrintf +#include -#include "lrint.c" +/* uses LLONG_MAX > 2^24, see comments in lrint.c */ + +long long llrintf(float x) +{ + return rintf(x); +}