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_UPWARD

FE_DOWNWARD

FE_TOWARDZERO

enum fenv_t* FE_DFL_ENV;

nothrow @nogc @system int feclearexcept(int excepts);

nothrow @nogc @system int fetestexcept(int excepts);

nothrow @nogc @system int feholdexcept(fenv_t* envp);

nothrow @nogc @system int fegetexceptflag(fexcept_t* flagp, int excepts);

nothrow @nogc @system int fesetexceptflag(in fexcept_t* flagp, int excepts);

nothrow @nogc @system int fegetround();

nothrow @nogc @system int fesetround(int round);

nothrow @nogc @system int fegetenv(fenv_t* envp);

nothrow @nogc @system int fesetenv(in fenv_t* envp);

nothrow @nogc @system int feraiseexcept(int excepts);

nothrow @nogc @system int feupdateenv(in fenv_t* envp);