fix pthread_cleanup_pop(1) crash in non-thread-capable, static-linked programs
[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 }