xref: /haiku/src/system/libroot/posix/musl/math/llrint.c (revision 1deede7388b04dbeec5af85cae7164735ea9e70d)
1 #include <math.h>
2 
3 /* uses LLONG_MAX > 2^53, see comments in lrint.c */
4 
5 long long llrint(double x)
6 {
7 	return rint(x);
8 }
9