aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/options/ansi/musl-generic-math/llrint.c
blob: 4f583ae5536aa6152c3bab8671846da507f8f57e (plain)
1
2
3
4
5
6
7
8
#include <math.h>

/* uses LLONG_MAX > 2^53, see comments in lrint.c */

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