change errno to static linkage (improves PIC code generation)
[musl] / src / math / s_lrint.c
1 #include <math.h>
2
3 // FIXME: incorrect exception behavior
4
5 long lrint(double x)
6 {
7         return rint(x);
8 }