cosmopolitan/libc/math/lrintf.c

9 lines
125 B
C
Raw Normal View History

2020-06-15 14:18:57 +00:00
#include "libc/math/math.h"
/* uses LONG_MAX > 2^24, see comments in lrint.c */
long lrintf(float x)
{
return rintf(x);
}