xref: /haiku/src/system/libroot/posix/musl/math/llrint.c (revision 21258e2674226d6aa732321b6f8494841895af5f)
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