cosmopolitan/libc/math/llrint.c

9 lines
131 B
C

#include "libc/math/math.h"
/* uses LLONG_MAX > 2^53, see comments in lrint.c */
long long llrint(double x)
{
return rint(x);
}