summaryrefslogblamecommitdiff
path: root/src/math/s_lrint.c
blob: da8e198925c9d9f800554a65305f43593ae39c7e (plain) (tree)
1
2
3
4
5
6
7
8







                                      
#include <math.h>

// FIXME: incorrect exception behavior

long lrint(double x)
{
	return rint(x);
}