Add (l)lrint(f).

Being here, move some C99 function declarations into the appropriate
section (as discussed with kleink).
This commit is contained in:
drochner 2004-06-30 15:11:05 +00:00
parent d76992e490
commit 737ab05bf9

View File

@ -1,4 +1,4 @@
/* $NetBSD: math.h,v 1.34 2004/03/04 23:42:38 kleink Exp $ */
/* $NetBSD: math.h,v 1.35 2004/06/30 15:11:05 drochner Exp $ */
/*
* ====================================================
@ -255,6 +255,74 @@ double scalb __P((double, double));
/* 7.12.3.6 int signbit(real-floating x) */
#define signbit(__x) __fpmacro_unary_floating(signbit, __x)
/* 7.12.4 trigonometric */
float acosf __P((float));
float asinf __P((float));
float atanf __P((float));
float atan2f __P((float, float));
float cosf __P((float));
float sinf __P((float));
float tanf __P((float));
/* 7.12.5 hyperbolic */
float acoshf __P((float));
float asinhf __P((float));
float atanhf __P((float));
float coshf __P((float));
float sinhf __P((float));
float tanhf __P((float));
/* 7.12.6 exp / log */
float expf __P((float));
float expm1f __P((float));
float frexpf __P((float, int *));
int ilogbf __P((float));
float ldexpf __P((float, int));
float logf __P((float));
float log10f __P((float));
float log1pf __P((float));
float logbf __P((float));
float modff __P((float, float *));
float scalbnf __P((float, int));
/* 7.12.7 power / absolute */
float cbrtf __P((float));
float fabsf __P((float));
float hypotf __P((float, float));
float powf __P((float, float));
float sqrtf __P((float));
/* 7.12.8 error / gamma */
float erff __P((float));
float erfcf __P((float));
float lgammaf __P((float));
/* 7.12.9 nearest integer */
float ceilf __P((float));
float floorf __P((float));
float rintf __P((float));
long int lrint __P((double));
long int lrintf __P((float));
long long int llrint __P((double));
long long int llrintf __P((float));
/* 7.12.10 remainder */
float fmodf __P((float, float));
float remainderf __P((float, float));
/* 7.2.11 manipulation */
float copysignf __P((float, float));
float nextafterf __P((float, float));
#endif /* !_ANSI_SOURCE && ... */
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_C_SOURCE) || \
@ -316,55 +384,18 @@ double lgamma_r __P((double, int *));
#if defined(_NETBSD_SOURCE)
/* float versions of ANSI/POSIX functions */
float acosf __P((float));
float asinf __P((float));
float atanf __P((float));
float atan2f __P((float, float));
float cosf __P((float));
float sinf __P((float));
float tanf __P((float));
float coshf __P((float));
float sinhf __P((float));
float tanhf __P((float));
float expf __P((float));
float frexpf __P((float, int *));
float ldexpf __P((float, int));
float logf __P((float));
float log10f __P((float));
float modff __P((float, float *));
float powf __P((float, float));
float sqrtf __P((float));
float ceilf __P((float));
float fabsf __P((float));
float floorf __P((float));
float fmodf __P((float, float));
float erff __P((float));
float erfcf __P((float));
float gammaf __P((float));
float hypotf __P((float, float));
int isinff __P((float));
int isnanf __P((float));
int finitef __P((float));
float j0f __P((float));
float j1f __P((float));
float jnf __P((int, float));
float lgammaf __P((float));
float y0f __P((float));
float y1f __P((float));
float ynf __P((int, float));
float acoshf __P((float));
float asinhf __P((float));
float atanhf __P((float));
float cbrtf __P((float));
float logbf __P((float));
float nextafterf __P((float, float));
float remainderf __P((float, float));
float scalbf __P((float, float));
/*
@ -372,15 +403,6 @@ float scalbf __P((float, float));
*/
float significandf __P((float));
/*
* Float versions of functions callable from C, intended to support
* IEEE arithmetic.
*/
float copysignf __P((float, float));
int ilogbf __P((float));
float rintf __P((float));
float scalbnf __P((float, int));
/*
* float versions of BSD math library entry points
*/
@ -388,8 +410,6 @@ float scalbnf __P((float, int));
float cabsf __P((/* struct complex { float r; float i; } */));
#endif
float dremf __P((float, float));
float expm1f __P((float));
float log1pf __P((float));
#endif /* _NETBSD_SOURCE */
#if defined(_NETBSD_SOURCE) || defined(_REENTRANT)