Blame src/api/fenv.c

nsz e19254
#include <fenv.h>
nsz e19254
#define T(t) (t*)0;
nsz e19254
#define F(t,n) {t *y = &x.;;}
nsz e19254
#define C(n) switch(n){case n:;}
nsz e19254
static void f()
nsz e19254
{
nsz e19254
T(fenv_t)
nsz e19254
T(fexcept_t)
nsz e19254
//FE_DIVBYZERO
nsz e19254
//FE_INEXACT
nsz e19254
//FE_INVALID
nsz e19254
//FE_OVERFLOW
nsz e19254
//FE_UNDERFLOW
nsz e19254
C(FE_ALL_EXCEPT)
nsz e19254
//FE_DOWNWARD
nsz e19254
//FE_TONEAREST
nsz e19254
//FE_TOWARDZERO
nsz e19254
//FE_UPWARD
nsz e19254
{const fenv_t *c = FE_DFL_ENV;}
nsz 0ef264
{int(*p)(int) = feclearexcept;}
nsz 0ef264
{int(*p)(fenv_t*) = fegetenv;}
nsz 0ef264
{int(*p)(fexcept_t*,int) = fegetexceptflag;}
nsz 0ef264
{int(*p)(void) = fegetround;}
nsz 0ef264
{int(*p)(fenv_t*) = feholdexcept;}
nsz 0ef264
{int(*p)(int) = feraiseexcept;}
nsz 0ef264
{int(*p)(const fenv_t*) = fesetenv;}
nsz 0ef264
{int(*p)(const fexcept_t*,int) = fesetexceptflag;}
nsz 0ef264
{int(*p)(int) = fesetround;}
nsz 0ef264
{int(*p)(int) = fetestexcept;}
nsz 0ef264
{int(*p)(const fenv_t*) = feupdateenv;}
nsz e19254
}