summaryrefslogtreecommitdiff
path: root/src/math/lrintf.c
blob: ca0b6a46aaed3cf97d61724923593ea1b9d7aaf3 (plain)
1
2
3
4
5
6
7
8
#include <math.h>

/* uses LONG_MAX > 2^24, see comments in lrint.c */

long lrintf(float x)
{
	return rintf(x);
}