std.c.fenv - D Programming Language - Digital Mars

D Programming Language 1.0

- Comments
- D
- Search
- Home

Last update Wed Sep 2 00:11:33 2009

# std.c.fenv

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

struct fenv_t;
  Entire floating point environment
fenv_t* FE_DFL_ENV;
  Default floating point environment
alias fexcept_t;
  Floating point status flags
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(fenv_t* envp);
int fegetexceptflag(int* flagp, int excepts);
int fesetexceptflag(int* flagp, int excepts);
int feholdexcept(fenv_t* envp);
int feupdateenv(fenv_t* envp);
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
FE_FLTPREC
FE_DBLPREC
FE_LDBLPREC

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