Back to index

glibc  2.9
s_rintl.c
Go to the documentation of this file.
00001 /*
00002  * Written by J.T. Conklin <jtc@netbsd.org>.
00003  * Changes for long double by Ulrich Drepper <drepper@cygnus.com>
00004  * Public domain.
00005  */
00006 
00007 #include <math_private.h>
00008 
00009 long double
00010 __rintl (long double x)
00011 {
00012   long double res;
00013 
00014   asm ("frndint" : "=t" (res) : "0" (x));
00015   return res;
00016 }
00017 
00018 weak_alias (__rintl, rintl)