- Comments
- D
- Search
- Home

Last update Sun Jul 22 16:19:30 2007

# std.c.fenv

C's <fenv.h>
Authors:
Walter Bright, Digital Mars, www.digitalmars.com
License:
Public Domain

struct fenv_t;
  Entire floating point environment
alias fexcept_t;
  Floating point status flags
FE_INVALID
FE_DENORMAL
FE_DIVBYZERO
FE_OVERFLOW
FE_UNDERFLOW
FE_INEXACT
FE_ALL_EXCEPT
  Mask of all the exceptions
FE_TONEAREST
FE_UPWARD
FE_DOWNWARD
FE_TOWARDZERO
fenv_t _FE_DFL_ENV;
fenv_t* FE_DFL_ENV;
  Default floating point environment
FE_FLTPREC
FE_DBLPREC
FE_LDBLPREC
int fetestexcept(int excepts);
int feraiseexcept(int excepts);
int feclearexcept(int excepts);
int fegetround();
int fesetround(int round);
int fegetprec();
int fesetprec(int prec);
int fegetenv(fenv_t* envp);
int fesetenv(const fenv_t* envp);
int fegetexceptflag(int* flagp, int excepts);
int fesetexceptflag(const int* flagp, int excepts);
int feholdexcept(fenv_t* envp);
int feupdateenv(const fenv_t* envp);

Copyright © 1999-2007 by Digital Mars, All Rights Reserved | Page generated by Ddoc.