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