delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/10/27/10:16:57

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
From: Kbwms AT aol DOT com
Message-ID: <1d7.12d64ef7.2cce9018@aol.com>
Date: Mon, 27 Oct 2003 10:13:28 EST
Subject: C99 Functions Under Development and Checkout
To: djgpp-workers AT delorie DOT com
MIME-Version: 1.0
X-Mailer: 8.0 for Windows sub 6021
Reply-To: djgpp-workers AT delorie DOT com

--part1_1d7.12d64ef7.2cce9018_boundary
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit

Appended to this email as a postscript is a listing of prototypes for C99 
functions that have been developed by me.  The list is in four sections -- 
functions for the floating point environment (fenv.h), and floating point functions 
for arguments of type double, float and long double.  Work to be done on the 
floating point functions includes ensuring that requirements of the ISO C 
standard are met.

Below is a list of functions remaining:

double      fma(double, double, double);
float       fmaf(float, float, float);
long double fmal(long double, long double, long double);
double      nextafter(double, double);
float       nextafterf(float, float);
double      nexttoward(double, long double);
float       nexttowardf(float, long double);
long double nexttowardl(long double, long double);
float       scalblnf(float, long);
double      tgamma(double);
float       tgammaf(float);


KB Williams

PS


/* ------------------- */
/* FUNCTION PROTOTYPES */
/* ------------------- */

// Functions for floating-point environment

int     feclearexcept  (int);
int     fegetenv  (fenv_t *);
int     fegetround  (void);
int     feholdexcept  (fenv_t *);
int     fesetenv  (const fenv_t *);
int     fesetround  (int);
int     fegetexceptflag  (fexcept_t *, int);
int     feupdateenv  (const fenv_t *);
int     feraiseexcept  (int);
int     fesetexceptflag  (const fexcept_t *, int);
int     fetestexcept  (int);

// Functions for arguments of type double

double  fdim  (double, double);
double  fmax  (double, double);
double  fmin  (double, double);
long long int llrint  (double);
long long int llround  (double);
long int lrint  (double);
long int lround  (double);
double  nearbyint  (double);
double  remquo  (double, double, int *);
double  round  (double);
int     signbitd  (double);
double  trunc  (double);

// Functions for arguments of type float

float   exp2f  (float);
float   fdimf  (float, float);
float   fmaxf  (float, float);
float   fminf  (float, float);
long long int llrintf  (float);
long long int llroundf  (float);
float   log2f  (float);
long int lrintf  (float);
long int lroundf  (float);
float   nearbyintf  (float);
float   remquof  (float, float, int *);
float   roundf  (float);
int     signbitf  (float);
float   truncf  (float);

// Functions for arguments of type long double

long double acoshl  (long double);
long double acosl  (long double);
long double asinhl  (long double);
long double asinl  (long double);
long double atan2l  (long double, long double);
long double atanhl  (long double);
long double atanl  (long double);
long double cbrtl  (long double);
long double ceill  (long double);
long double copysignl  (long double, long double);
long double coshl  (long double);
long double erfcl  (long double);
long double erfl  (long double);
long double exp2l  (long double);
long double expl  (long double);
long double expm1l  (long double);
long double fabsl  (long double);
long double fdiml  (long double, long double);
long double floorl  (long double);
long double fmaxl  (long double, long double);
long double fminl  (long double, long double);
long double fmodl  (long double, long double);
long double frexpl  (long double, int *);
long double hypotl  (long double, long double);
int     ilogbl  (long double);
long double j0l  (long double);
long double y0l  (long double);
long double j1l  (long double);
long double y1l  (long double);
long double jnl  (int, long double);
long double ynl  (int, long double);
long double ldexpl  (long double, int);
long double lgammal  (long double);
long double lgammal_r  (long double, int *);
long long int llrintl  (long double);
long long int llroundl  (long double);
long int lrintl  (long double);
long int lroundl  (long double);
long double log10l  (long double);
long double log1pl  (long double);
long double log2l  (long double);
long double logbl  (long double);
long double logl  (long double);
long double modfl  (long double, long double *);
long double nextafterl  (long double, long double);
long double nearbyintl  (long double);
long double powl  (long double, long double);
long double remainderl  (long double, long double);
long double remquol  (long double, long double, int *);
long double rintl  (long double);
long double roundl  (long double);
long double scalblnl  (long double, long int);
long double scalbnl  (long double, int);
int     signbitl  (long double);
long double sinhl  (long double);
long double cosl  (long double);
long double sinl  (long double);
long double sqrtl  (long double);
long double cotl  (long double);
long double tanl  (long double);
long double tanhl  (long double);
long double tgammal  (long double);
long double truncl  (long double);

--part1_1d7.12d64ef7.2cce9018_boundary
Content-Type: text/html; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable

<HTML><FONT FACE=3Darial,helvetica><FONT  SIZE=3D3 FAMILY=3D"SERIF" FACE=3D"=
Georgia" LANG=3D"0">Appended to this email as a postscript is a listing of p=
rototypes for C99 functions that have been developed by me.&nbsp; The list i=
s in four sections -- functions for the floating point environment (fenv.h),=
 and floating point functions for arguments of type double, float and long d=
ouble.&nbsp; Work to be done on the floating point functions includes ensuri=
ng that requirements of the ISO C standard are met.<BR>
<BR>
Below is a list of functions remaining:<BR>
<BR>
double&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fma(double, double, double);<BR>
float&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; fmaf(float, float, float);<BR>
long double fmal(long double, long double, long double);<BR>
double&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nextafter(double, double);<BR>
float&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nextafterf(float, float);<BR>
double&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nexttoward(double, long double);<BR>
float&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nexttowardf(float, long double);<B=
R>
long double nexttowardl(long double, long double);<BR>
float&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scalblnf(float, long);<BR>
double&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tgamma(double);<BR>
float&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tgammaf(float);<BR>
<BR>
<BR>
KB Williams<BR>
<BR>
PS<BR>
<BR>
<BR>
/* ------------------- */<BR>
/* FUNCTION PROTOTYPES */<BR>
/* ------------------- */<BR>
<BR>
// Functions for floating-point environment<BR>
<BR>
int&nbsp;&nbsp;&nbsp;&nbsp; feclearexcept&nbsp; (int);<BR>
int&nbsp;&nbsp;&nbsp;&nbsp; fegetenv&nbsp; (fenv_t *);<BR>
int&nbsp;&nbsp;&nbsp;&nbsp; fegetround&nbsp; (void);<BR>
int&nbsp;&nbsp;&nbsp;&nbsp; feholdexcept&nbsp; (fenv_t *);<BR>
int&nbsp;&nbsp;&nbsp;&nbsp; fesetenv&nbsp; (const fenv_t *);<BR>
int&nbsp;&nbsp;&nbsp;&nbsp; fesetround&nbsp; (int);<BR>
int&nbsp;&nbsp;&nbsp;&nbsp; fegetexceptflag&nbsp; (fexcept_t *, int);<BR>
int&nbsp;&nbsp;&nbsp;&nbsp; feupdateenv&nbsp; (const fenv_t *);<BR>
int&nbsp;&nbsp;&nbsp;&nbsp; feraiseexcept&nbsp; (int);<BR>
int&nbsp;&nbsp;&nbsp;&nbsp; fesetexceptflag&nbsp; (const fexcept_t *, int);<=
BR>
int&nbsp;&nbsp;&nbsp;&nbsp; fetestexcept&nbsp; (int);<BR>
<BR>
// Functions for arguments of type double<BR>
<BR>
double&nbsp; fdim&nbsp; (double, double);<BR>
double&nbsp; fmax&nbsp; (double, double);<BR>
double&nbsp; fmin&nbsp; (double, double);<BR>
long long int llrint&nbsp; (double);<BR>
long long int llround&nbsp; (double);<BR>
long int lrint&nbsp; (double);<BR>
long int lround&nbsp; (double);<BR>
double&nbsp; nearbyint&nbsp; (double);<BR>
double&nbsp; remquo&nbsp; (double, double, int *);<BR>
double&nbsp; round&nbsp; (double);<BR>
int&nbsp;&nbsp;&nbsp;&nbsp; signbitd&nbsp; (double);<BR>
double&nbsp; trunc&nbsp; (double);<BR>
<BR>
// Functions for arguments of type float<BR>
<BR>
float&nbsp;&nbsp; exp2f&nbsp; (float);<BR>
float&nbsp;&nbsp; fdimf&nbsp; (float, float);<BR>
float&nbsp;&nbsp; fmaxf&nbsp; (float, float);<BR>
float&nbsp;&nbsp; fminf&nbsp; (float, float);<BR>
long long int llrintf&nbsp; (float);<BR>
long long int llroundf&nbsp; (float);<BR>
float&nbsp;&nbsp; log2f&nbsp; (float);<BR>
long int lrintf&nbsp; (float);<BR>
long int lroundf&nbsp; (float);<BR>
float&nbsp;&nbsp; nearbyintf&nbsp; (float);<BR>
float&nbsp;&nbsp; remquof&nbsp; (float, float, int *);<BR>
float&nbsp;&nbsp; roundf&nbsp; (float);<BR>
int&nbsp;&nbsp;&nbsp;&nbsp; signbitf&nbsp; (float);<BR>
float&nbsp;&nbsp; truncf&nbsp; (float);<BR>
<BR>
// Functions for arguments of type long double<BR>
<BR>
long double acoshl&nbsp; (long double);<BR>
long double acosl&nbsp; (long double);<BR>
long double asinhl&nbsp; (long double);<BR>
long double asinl&nbsp; (long double);<BR>
long double atan2l&nbsp; (long double, long double);<BR>
long double atanhl&nbsp; (long double);<BR>
long double atanl&nbsp; (long double);<BR>
long double cbrtl&nbsp; (long double);<BR>
long double ceill&nbsp; (long double);<BR>
long double copysignl&nbsp; (long double, long double);<BR>
long double coshl&nbsp; (long double);<BR>
long double erfcl&nbsp; (long double);<BR>
long double erfl&nbsp; (long double);<BR>
long double exp2l&nbsp; (long double);<BR>
long double expl&nbsp; (long double);<BR>
long double expm1l&nbsp; (long double);<BR>
long double fabsl&nbsp; (long double);<BR>
long double fdiml&nbsp; (long double, long double);<BR>
long double floorl&nbsp; (long double);<BR>
long double fmaxl&nbsp; (long double, long double);<BR>
long double fminl&nbsp; (long double, long double);<BR>
long double fmodl&nbsp; (long double, long double);<BR>
long double frexpl&nbsp; (long double, int *);<BR>
long double hypotl&nbsp; (long double, long double);<BR>
int&nbsp;&nbsp;&nbsp;&nbsp; ilogbl&nbsp; (long double);<BR>
long double j0l&nbsp; (long double);<BR>
long double y0l&nbsp; (long double);<BR>
long double j1l&nbsp; (long double);<BR>
long double y1l&nbsp; (long double);<BR>
long double jnl&nbsp; (int, long double);<BR>
long double ynl&nbsp; (int, long double);<BR>
long double ldexpl&nbsp; (long double, int);<BR>
long double lgammal&nbsp; (long double);<BR>
long double lgammal_r&nbsp; (long double, int *);<BR>
long long int llrintl&nbsp; (long double);<BR>
long long int llroundl&nbsp; (long double);<BR>
long int lrintl&nbsp; (long double);<BR>
long int lroundl&nbsp; (long double);<BR>
long double log10l&nbsp; (long double);<BR>
long double log1pl&nbsp; (long double);<BR>
long double log2l&nbsp; (long double);<BR>
long double logbl&nbsp; (long double);<BR>
long double logl&nbsp; (long double);<BR>
long double modfl&nbsp; (long double, long double *);<BR>
long double nextafterl&nbsp; (long double, long double);<BR>
long double nearbyintl&nbsp; (long double);<BR>
long double powl&nbsp; (long double, long double);<BR>
long double remainderl&nbsp; (long double, long double);<BR>
long double remquol&nbsp; (long double, long double, int *);<BR>
long double rintl&nbsp; (long double);<BR>
long double roundl&nbsp; (long double);<BR>
long double scalblnl&nbsp; (long double, long int);<BR>
long double scalbnl&nbsp; (long double, int);<BR>
int&nbsp;&nbsp;&nbsp;&nbsp; signbitl&nbsp; (long double);<BR>
long double sinhl&nbsp; (long double);<BR>
long double cosl&nbsp; (long double);<BR>
long double sinl&nbsp; (long double);<BR>
long double sqrtl&nbsp; (long double);<BR>
long double cotl&nbsp; (long double);<BR>
long double tanl&nbsp; (long double);<BR>
long double tanhl&nbsp; (long double);<BR>
long double tgammal&nbsp; (long double);<BR>
long double truncl&nbsp; (long double);<BR>
</FONT></HTML>
--part1_1d7.12d64ef7.2cce9018_boundary--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019