D Programming Language 2.0

- Comments
- D
- Search
- Home

Last update Mon Nov 24 23:49:46 2008

# 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;
  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(in fenv_t* envp);
int fegetexceptflag(int* flagp, int excepts);
int fesetexceptflag(in int* flagp, int excepts);
int feholdexcept(fenv_t* envp);
int feupdateenv(in fenv_t* envp);

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