Add standard skeleton stuff.

This commit is contained in:
Ulrich Drepper 1997-10-26 19:58:40 +00:00
parent 7b5e4b7fe2
commit f6672b01b5
3 changed files with 19 additions and 3 deletions

View File

@ -22,10 +22,20 @@
#define __LIBC_M81_MATH_INLINES
#include <math.h>
#ifndef suffix
#define suffix /*empty*/
#endif
#ifndef float_type
#define float_type double
#endif
#define CONCATX(a,b) __CONCAT(a,b)
long int
__lrint (long double x)
CONCATX(__lrint,suffix) (float_type x)
{
return __m81_u(__lrint) (x);
return __m81_u(CONCATX(__lrint,suffix)) (x);
}
weak_alias (__lrint, lrint)
#define weak_aliasx(a,b) weak_alias(a,b)
weak_aliasx (CONCATX(__lrint,suffix), CONCATX(lrint,suffix))

View File

@ -0,0 +1,3 @@
#define suffix f
#define float_type float
#include <s_lrint.c>

View File

@ -0,0 +1,3 @@
#define suffix l
#define float_type long double
#include <s_lrint.c>