Menu

- Learn
- Documentation
  - Language Reference
  - Library Reference
  - Command-line Reference
  - Feature Overview
  - Articles
- Downloads
- Packages
- Community
  - Blog
  - Orgs using D
  - Twitter
  - Calendar
  - Forums
  - IRC
  - Community Discord
  - Wiki
  - GitHub
  - Issues
  - Get involved
  - Contributors
  - Foundation
  - Security Team
  - Donate
  - Sponsors
- Resources
  - Tour
  - Books
  - Tutorials
  - Tools
  - Editors
  - IDEs
  - run.dlang.io
  - Visual D
  - Acknowledgments
  - D Style
  - Glossary
  - Sitemap

Search
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

Source core/stdc/fenv.d

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 @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`(scope const 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`(scope const fenv_t* `envp`);
nothrow @nogc @system int `feraiseexcept`(int `excepts`);
nothrow @nogc @system int `feupdateenv`(scope const fenv_t* `envp`);

Copyright © 1999-2022 by the D Language Foundation | Page generated by Ddoc on Sat Sep 10 10:03:09 2022