mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-12 12:07:12 +08:00
(__rinttol, rinttol): New inline.
This commit is contained in:
parent
d0a13f94e4
commit
90ad32dd72
@ -282,6 +282,13 @@ __inline_functions (float,f)
|
|||||||
__inline_functions (long double,l)
|
__inline_functions (long double,l)
|
||||||
#undef __inline_functions
|
#undef __inline_functions
|
||||||
|
|
||||||
|
__m81_defun (long int, __rinttol, (long double __x))
|
||||||
|
{
|
||||||
|
long int __result;
|
||||||
|
__asm ("fmove%.l %1, %0" : "=dm" (__result) : "f" (__x));
|
||||||
|
return __result;
|
||||||
|
}
|
||||||
|
|
||||||
#if !defined __NO_MATH_INLINES && defined __OPTIMIZE__
|
#if !defined __NO_MATH_INLINES && defined __OPTIMIZE__
|
||||||
|
|
||||||
/* Define inline versions of the user visible functions. */
|
/* Define inline versions of the user visible functions. */
|
||||||
@ -349,6 +356,7 @@ __inline_forward_c(int,ilogbl, (long double __value), (__value))
|
|||||||
#endif
|
#endif
|
||||||
#ifdef __USE_ISOC9X
|
#ifdef __USE_ISOC9X
|
||||||
__inline_forward_c(long double,nearbyintl, (long double __value), (__value))
|
__inline_forward_c(long double,nearbyintl, (long double __value), (__value))
|
||||||
|
__inline_forward_c(long int,rinttol, (long double __value), (__value))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* Use misc or ISO C9X */
|
#endif /* Use misc or ISO C9X */
|
||||||
|
Loading…
Reference in New Issue
Block a user