X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Fmath%2Fllrintf.c;h=e41b6d41862304f09e6fe00c0cc788ade8940065;hp=f06a3c278eaf91e00f6dabd89ee7b7652fc27fb1;hb=9b6899f2c5cec70af6cea80ead7ba98fd2366ce9;hpb=b69f695acedd4ce2798ef9ea28d834ceccc789bd diff --git a/src/math/llrintf.c b/src/math/llrintf.c index f06a3c27..e41b6d41 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" +/* assumes LLONG_MAX > 2^24, see comments in lrint.c */ + +long long llrintf(float x) +{ + return rintf(x); +}