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.complex

D header file for C99.
This module contains bindings to selected types and functions from the standard C header <complex.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/complex.d

Standards:
ISO/IEC 9899:1999 (E)

alias `complex` = creal;
alias `imaginary` = ireal;
nothrow @nogc @trusted cdouble `cacos`(cdouble `z`);
nothrow @nogc @trusted cfloat `cacosf`(cfloat `z`);
nothrow @nogc @trusted creal `cacosl`(creal `z`);
nothrow @nogc @trusted cdouble `casin`(cdouble `z`);
nothrow @nogc @trusted cfloat `casinf`(cfloat `z`);
nothrow @nogc @trusted creal `casinl`(creal `z`);
nothrow @nogc @trusted cdouble `catan`(cdouble `z`);
nothrow @nogc @trusted cfloat `catanf`(cfloat `z`);
nothrow @nogc @trusted creal `catanl`(creal `z`);
nothrow @nogc @trusted cdouble `ccos`(cdouble `z`);
nothrow @nogc @trusted cfloat `ccosf`(cfloat `z`);
nothrow @nogc @trusted creal `ccosl`(creal `z`);
nothrow @nogc @trusted cdouble `csin`(cdouble `z`);
nothrow @nogc @trusted cfloat `csinf`(cfloat `z`);
nothrow @nogc @trusted creal `csinl`(creal `z`);
nothrow @nogc @trusted cdouble `ctan`(cdouble `z`);
nothrow @nogc @trusted cfloat `ctanf`(cfloat `z`);
nothrow @nogc @trusted creal `ctanl`(creal `z`);
nothrow @nogc @trusted cdouble `cacosh`(cdouble `z`);
nothrow @nogc @trusted cfloat `cacoshf`(cfloat `z`);
nothrow @nogc @trusted creal `cacoshl`(creal `z`);
nothrow @nogc @trusted cdouble `casinh`(cdouble `z`);
nothrow @nogc @trusted cfloat `casinhf`(cfloat `z`);
nothrow @nogc @trusted creal `casinhl`(creal `z`);
nothrow @nogc @trusted cdouble `catanh`(cdouble `z`);
nothrow @nogc @trusted cfloat `catanhf`(cfloat `z`);
nothrow @nogc @trusted creal `catanhl`(creal `z`);
nothrow @nogc @trusted cdouble `ccosh`(cdouble `z`);
nothrow @nogc @trusted cfloat `ccoshf`(cfloat `z`);
nothrow @nogc @trusted creal `ccoshl`(creal `z`);
nothrow @nogc @trusted cdouble `csinh`(cdouble `z`);
nothrow @nogc @trusted cfloat `csinhf`(cfloat `z`);
nothrow @nogc @trusted creal `csinhl`(creal `z`);
nothrow @nogc @trusted cdouble `ctanh`(cdouble `z`);
nothrow @nogc @trusted cfloat `ctanhf`(cfloat `z`);
nothrow @nogc @trusted creal `ctanhl`(creal `z`);
nothrow @nogc @trusted cdouble `cexp`(cdouble `z`);
nothrow @nogc @trusted cfloat `cexpf`(cfloat `z`);
nothrow @nogc @trusted creal `cexpl`(creal `z`);
nothrow @nogc @trusted cdouble `clog`(cdouble `z`);
nothrow @nogc @trusted cfloat `clogf`(cfloat `z`);
nothrow @nogc @trusted creal `clogl`(creal `z`);
nothrow @nogc @trusted double `cabs`(cdouble `z`);
nothrow @nogc @trusted float `cabsf`(cfloat `z`);
nothrow @nogc @trusted real `cabsl`(creal `z`);
nothrow @nogc @trusted cdouble `cpow`(cdouble `x`, cdouble `y`);
nothrow @nogc @trusted cfloat `cpowf`(cfloat `x`, cfloat `y`);
nothrow @nogc @trusted creal `cpowl`(creal `x`, creal `y`);
nothrow @nogc @trusted cdouble `csqrt`(cdouble `z`);
nothrow @nogc @trusted cfloat `csqrtf`(cfloat `z`);
nothrow @nogc @trusted creal `csqrtl`(creal `z`);
nothrow @nogc @trusted double `carg`(cdouble `z`);
nothrow @nogc @trusted float `cargf`(cfloat `z`);
nothrow @nogc @trusted real `cargl`(creal `z`);
nothrow @nogc @trusted double `cimag`(cdouble `z`);
nothrow @nogc @trusted float `cimagf`(cfloat `z`);
nothrow @nogc @trusted real `cimagl`(creal `z`);
nothrow @nogc @trusted cdouble `conj`(cdouble `z`);
nothrow @nogc @trusted cfloat `conjf`(cfloat `z`);
nothrow @nogc @trusted creal `conjl`(creal `z`);
nothrow @nogc @trusted cdouble `cproj`(cdouble `z`);
nothrow @nogc @trusted cfloat `cprojf`(cfloat `z`);
nothrow @nogc @trusted creal `cprojl`(creal `z`);
nothrow @nogc @trusted double `creald`(cdouble `z`);
nothrow @nogc @trusted float `crealf`(cfloat `z`);
nothrow @nogc @trusted real `creall`(creal `z`);

Copyright © 1999-2021 by the D Language Foundation | Page generated by Ddoc on Fri Jan 1 12:57:01 2021