1
0
mirror of https://github.com/adtools/clib2.git synced 2026-05-05 04:09:51 +00:00

- Implemented fmin()/fminf(), fmax()/fmaxf(), fdim()/fdimf() for C99.

- Ported acosf(), asinf(), atan2f(), atanf(), ceilf(), expf(), floorf(),
  fmodf(), frexpf(), ldexpf(), log10f(), logbf(), logf(), modff(), powf(), sqrtf(),
  scalbn() and scalbnf() for C99.

- Ported cbrt(), cbrtf(), erf(), erff(), erfc(), erfcf(), expm1(),
  expm1f(), ilogb(), ilogbf(), log1p() and log1pf() for C99.


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14963 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2005-05-29 14:45:33 +00:00
parent 49e98713d4
commit 3c220c3939
36 changed files with 2501 additions and 161 deletions

View File

@@ -1,5 +1,5 @@
/*
* $Id: math.h,v 1.12 2005-05-29 12:41:04 obarthel Exp $
* $Id: math.h,v 1.13 2005-05-29 14:45:33 obarthel Exp $
*
* :ts=4
*
@@ -224,7 +224,25 @@ extern int __isunordered_double(double x,double y);
/****************************************************************************/
extern float acosf(float x);
extern float asinf(float x);
extern float atanf(float x);
extern float atan2f(float y, float x);
extern float ceilf(float x);
extern float expf(float x);
extern float fabsf(float x);
extern float floorf(float x);
extern float fmodf(float x, float y);
extern float frexpf(float x, int *eptr);
extern float ldexp(float x,int exp);
extern float logf(float x);
extern float log10f(float x);
extern float logbf(float x);
extern float modff(float x, float *iptr);
extern float powf(float x, float y);
extern float sqrtf(float x);
/****************************************************************************/
@@ -258,6 +276,41 @@ extern double fmax(double x,double y);
/****************************************************************************/
extern float scalbnf (float x, int n);
extern double scalbn (double x, int n);
/****************************************************************************/
extern float cbrtf(float x);
extern double cbrt(double x);
/****************************************************************************/
extern float erff(float x);
extern double erf(double x);
/****************************************************************************/
extern float erfcf(float x);
extern double erfc(double x);
/****************************************************************************/
extern float expm1f(float x);
extern double expm1(double x);
/****************************************************************************/
extern int ilogbf(float x);
extern int ilogb(double x);
/****************************************************************************/
extern float log1pf(float x);
extern double log1p(double x);
/****************************************************************************/
#define FLT_EVAL_METHOD 0
/****************************************************************************/