Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

core.stdc.fenv

D header file for C99.
This module contains bindings to selected types and functions from the standard C header <fenv.h>. Note that this is not automatically generated, and may omit some types/functions from the original C header.
License:
Distributed under the Boost Software License 1.0. (See accompanying file LICENSE)
Authors:
Sean Kelly
Standards:
ISO/IEC 9899:1999 (E)
FE_INVALID
FE_DENORMAL
non-standard
FE_DIVBYZERO
FE_OVERFLOW
FE_UNDERFLOW
FE_INEXACT
FE_ALL_EXCEPT
FE_TONEAREST
FE_DOWNWARD
FE_UPWARD
FE_TOWARDZERO
enum fenv_t* FE_DFL_ENV;
nothrow @nogc int feclearexcept(int excepts);
nothrow @nogc int fetestexcept(int excepts);
nothrow @nogc int feholdexcept(fenv_t* envp);
nothrow @nogc int fegetexceptflag(fexcept_t* flagp, int excepts);
nothrow @nogc int fesetexceptflag(scope const fexcept_t* flagp, int excepts);
nothrow @nogc int fegetround();
nothrow @nogc int fesetround(int round);
nothrow @nogc int fegetenv(fenv_t* envp);
nothrow @nogc int fesetenv(scope const fenv_t* envp);
nothrow @nogc int feraiseexcept(int excepts);
nothrow @nogc int feupdateenv(scope const fenv_t* envp);