1 /*
2  * Public domain.
3  */
4 
5 #define NO_MATH_REDIRECT
6 #include <libm-alias-ldouble.h>
7 
8 long double
__rintl(long double x)9 __rintl (long double x)
10 {
11   long double res;
12 
13   asm ("frndint" : "=t" (res) : "0" (x));
14   return res;
15 }
16 
17 libm_alias_ldouble (__rint, rint)
18