Movatterモバイル変換


[0]ホーム

URL:


D Logo
Menu
Search

Library Reference

version 2.112.0

overview

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 usinga local clone.

core.stdc.math

D header file for C99.
This module contains bindings to selected types andfunctions from the standard C header<math.h>. Note that thisis not automatically generated, and may omit some types/functions from theoriginal C header.
License:
Distributed under theBoost Software License 1.0. (See accompanying file LICENSE)
Authors:
Sean Kelly

Sourcecore/stdc/math.d

aliasfloat_t = float;
aliasdouble_t = double;
enum doubleHUGE_VAL;
enum doubleHUGE_VALF;
enum doubleHUGE_VALL;
enum floatINFINITY;
enum floatNAN;
enum intFP_ILOGB0;
enum intFP_ILOGBNAN;
enum intMATH_ERRNO;
enum intMATH_ERREXCEPT;
enum intmath_errhandling;
FP_NAN
FP_INFINITE
FP_ZERO
FP_SUBNORMAL
FP_NORMAL
FP_FAST_FMA
FP_FAST_FMAF
FP_FAST_FMAL
pure nothrow @nogc @trusted intfpclassify(floatx);
pure nothrow @nogc @trusted intfpclassify(doublex);
pure nothrow @nogc @trusted intfpclassify(realx);
pure nothrow @nogc @trusted intisfinite(floatx);
pure nothrow @nogc @trusted intisfinite(doublex);
pure nothrow @nogc @trusted intisfinite(realx);
pure nothrow @nogc @trusted intisinf(floatx);
pure nothrow @nogc @trusted intisinf(doublex);
pure nothrow @nogc @trusted intisinf(realx);
pure nothrow @nogc @trusted intisnan(floatx);
pure nothrow @nogc @trusted intisnan(doublex);
pure nothrow @nogc @trusted intisnan(realx);
pure nothrow @nogc @trusted intisnormal(floatx);
pure nothrow @nogc @trusted intisnormal(doublex);
pure nothrow @nogc @trusted intisnormal(realx);
pure nothrow @nogc @trusted intsignbit(floatx);
pure nothrow @nogc @trusted intsignbit(doublex);
pure nothrow @nogc @trusted intsignbit(realx);
pure intisgreater()(floatx, floaty);
pure intisgreater()(doublex, doubley);
pure intisgreater()(realx, realy);
pure intisgreaterequal()(floatx, floaty);
pure intisgreaterequal()(doublex, doubley);
pure intisgreaterequal()(realx, realy);
pure intisless()(floatx, floaty);
pure intisless()(doublex, doubley);
pure intisless()(realx, realy);
pure intislessequal()(floatx, floaty);
pure intislessequal()(doublex, doubley);
pure intislessequal()(realx, realy);
pure intislessgreater()(floatx, floaty);
pure intislessgreater()(doublex, doubley);
pure intislessgreater()(realx, realy);
pure intisunordered()(floatx, floaty);
pure intisunordered()(doublex, doubley);
pure intisunordered()(realx, realy);
nothrow @nogc @trusted doubleacos(doublex);
nothrow @nogc @trusted floatacosf(floatx);
nothrow @nogc @trusted doubleasin(doublex);
nothrow @nogc @trusted floatasinf(floatx);
pure nothrow @nogc @trusted doubleatan(doublex);
pure nothrow @nogc @trusted floatatanf(floatx);
nothrow @nogc @trusted doubleatan2(doubley, doublex);
nothrow @nogc @trusted floatatan2f(floaty, floatx);
pure nothrow @nogc @trusted doublecos(doublex);
pure nothrow @nogc @trusted floatcosf(floatx);
pure nothrow @nogc @trusted doublesin(doublex);
pure nothrow @nogc @trusted floatsinf(floatx);
pure nothrow @nogc @trusted doubletan(doublex);
pure nothrow @nogc @trusted floattanf(floatx);
nothrow @nogc @trusted doubleacosh(doublex);
nothrow @nogc @trusted floatacoshf(floatx);
pure nothrow @nogc @trusted doubleasinh(doublex);
pure nothrow @nogc @trusted floatasinhf(floatx);
nothrow @nogc @trusted doubleatanh(doublex);
nothrow @nogc @trusted floatatanhf(floatx);
nothrow @nogc @trusted doublecosh(doublex);
nothrow @nogc @trusted floatcoshf(floatx);
nothrow @nogc @trusted doublesinh(doublex);
nothrow @nogc @trusted floatsinhf(floatx);
pure nothrow @nogc @trusted doubletanh(doublex);
pure nothrow @nogc @trusted floattanhf(floatx);
nothrow @nogc @trusted doubleexp(doublex);
nothrow @nogc @trusted floatexpf(floatx);
nothrow @nogc @trusted doubleexp2(doublex);
nothrow @nogc @trusted floatexp2f(floatx);
nothrow @nogc @trusted doubleexpm1(doublex);
nothrow @nogc @trusted floatexpm1f(floatx);
pure nothrow @nogc @trusted doublefrexp(doublevalue, int*exp);
pure nothrow @nogc @trusted floatfrexpf(floatvalue, int*exp);
nothrow @nogc @trusted intilogb(doublex);
nothrow @nogc @trusted intilogbf(floatx);
nothrow @nogc @trusted doubleldexp(doublex, intexp);
nothrow @nogc @trusted floatldexpf(floatx, intexp);
nothrow @nogc @trusted doublelog(doublex);
nothrow @nogc @trusted floatlogf(floatx);
nothrow @nogc @trusted doublelog10(doublex);
nothrow @nogc @trusted floatlog10f(floatx);
nothrow @nogc @trusted doublelog1p(doublex);
nothrow @nogc @trusted floatlog1pf(floatx);
nothrow @nogc @trusted doublelog2(doublex);
nothrow @nogc @trusted floatlog2f(floatx);
nothrow @nogc @trusted doublelogb(doublex);
nothrow @nogc @trusted floatlogbf(floatx);
pure nothrow @nogc @trusted doublemodf(doublevalue, double*iptr);
pure nothrow @nogc @trusted floatmodff(floatvalue, float*iptr);
nothrow @nogc @trusted doublescalbn(doublex, intn);
nothrow @nogc @trusted floatscalbnf(floatx, intn);
nothrow @nogc @trusted doublescalbln(doublex, c_longn);
nothrow @nogc @trusted floatscalblnf(floatx, c_longn);
pure nothrow @nogc @trusted doublecbrt(doublex);
pure nothrow @nogc @trusted floatcbrtf(floatx);
pure nothrow @nogc @trusted doublefabs(doublex);
nothrow @nogc @trusted doublehypot(doublex, doubley);
nothrow @nogc @trusted floathypotf(floatx, floaty);
nothrow @nogc @trusted doublepow(doublex, doubley);
nothrow @nogc @trusted floatpowf(floatx, floaty);
nothrow @nogc @trusted doublesqrt(doublex);
nothrow @nogc @trusted floatsqrtf(floatx);
pure nothrow @nogc @trusted doubleerf(doublex);
pure nothrow @nogc @trusted floaterff(floatx);
nothrow @nogc @trusted doubleerfc(doublex);
nothrow @nogc @trusted floaterfcf(floatx);
nothrow @nogc @trusted doublelgamma(doublex);
nothrow @nogc @trusted floatlgammaf(floatx);
nothrow @nogc @trusted doubletgamma(doublex);
nothrow @nogc @trusted floattgammaf(floatx);
pure nothrow @nogc @trusted doubleceil(doublex);
pure nothrow @nogc @trusted floatceilf(floatx);
pure nothrow @nogc @trusted doublefloor(doublex);
pure nothrow @nogc @trusted floatfloorf(floatx);
pure nothrow @nogc @trusted doublenearbyint(doublex);
pure nothrow @nogc @trusted floatnearbyintf(floatx);
pure nothrow @nogc @trusted doublerint(doublex);
pure nothrow @nogc @trusted floatrintf(floatx);
nothrow @nogc @trusted c_longlrint(doublex);
nothrow @nogc @trusted c_longlrintf(floatx);
nothrow @nogc @trusted longllrint(doublex);
nothrow @nogc @trusted longllrintf(floatx);
pure nothrow @nogc @trusted doubleround(doublex);
pure nothrow @nogc @trusted floatroundf(floatx);
nothrow @nogc @trusted c_longlround(doublex);
nothrow @nogc @trusted c_longlroundf(floatx);
nothrow @nogc @trusted longllround(doublex);
nothrow @nogc @trusted longllroundf(floatx);
pure nothrow @nogc @trusted doubletrunc(doublex);
pure nothrow @nogc @trusted floattruncf(floatx);
nothrow @nogc @trusted doublefmod(doublex, doubley);
nothrow @nogc @trusted floatfmodf(floatx, floaty);
nothrow @nogc @trusted doubleremainder(doublex, doubley);
nothrow @nogc @trusted floatremainderf(floatx, floaty);
nothrow @nogc @trusted doubleremquo(doublex, doubley, int*quo);
nothrow @nogc @trusted floatremquof(floatx, floaty, int*quo);
pure nothrow @nogc @trusted doublecopysign(doublex, doubley);
pure nothrow @nogc @trusted floatcopysignf(floatx, floaty);
pure nothrow @nogc @trusted doublenan(char*tagp);
pure nothrow @nogc @trusted floatnanf(char*tagp);
nothrow @nogc @trusted doublenextafter(doublex, doubley);
nothrow @nogc @trusted floatnextafterf(floatx, floaty);
nothrow @nogc @trusted doublefdim(doublex, doubley);
nothrow @nogc @trusted floatfdimf(floatx, floaty);
pure nothrow @nogc @trusted doublefmax(doublex, doubley);
pure nothrow @nogc @trusted floatfmaxf(floatx, floaty);
pure nothrow @nogc @trusted doublefmin(doublex, doubley);
pure nothrow @nogc @trusted floatfminf(floatx, floaty);
pure nothrow @nogc @trusted doublefma(doublex, doubley, doublez);
pure nothrow @nogc @trusted floatfmaf(floatx, floaty, floatz);
nothrow @nogc @trusted realacosl(realx);
nothrow @nogc @trusted realasinl(realx);
pure nothrow @nogc @trusted realatanl(realx);
nothrow @nogc @trusted realatan2l(realy, realx);
pure nothrow @nogc @trusted realcosl(realx);
pure nothrow @nogc @trusted realsinl(realx);
pure nothrow @nogc @trusted realtanl(realx);
nothrow @nogc @trusted realacoshl(realx);
pure nothrow @nogc @trusted realasinhl(realx);
nothrow @nogc @trusted realatanhl(realx);
nothrow @nogc @trusted realcoshl(realx);
nothrow @nogc @trusted realsinhl(realx);
pure nothrow @nogc @trusted realtanhl(realx);
nothrow @nogc @trusted realexpl(realx);
nothrow @nogc @trusted realexp2l(realx);
nothrow @nogc @trusted realexpm1l(realx);
pure nothrow @nogc @trusted realfrexpl(realvalue, int*exp);
nothrow @nogc @trusted intilogbl(realx);
nothrow @nogc @trusted realldexpl(realx, intexp);
nothrow @nogc @trusted reallogl(realx);
nothrow @nogc @trusted reallog10l(realx);
nothrow @nogc @trusted reallog1pl(realx);
nothrow @nogc @trusted reallog2l(realx);
nothrow @nogc @trusted reallogbl(realx);
pure nothrow @nogc @trusted realmodfl(realvalue, real*iptr);
nothrow @nogc @trusted realscalbnl(realx, intn);
nothrow @nogc @trusted realscalblnl(realx, c_longn);
pure nothrow @nogc @trusted realcbrtl(realx);
pure nothrow @nogc @trusted floatfabsf(floatx);
pure nothrow @nogc @trusted realfabsl(realx);
nothrow @nogc @trusted realhypotl(realx, realy);
nothrow @nogc @trusted realpowl(realx, realy);
nothrow @nogc @trusted realsqrtl(realx);
pure nothrow @nogc @trusted realerfl(realx);
nothrow @nogc @trusted realerfcl(realx);
nothrow @nogc @trusted reallgammal(realx);
nothrow @nogc @trusted realtgammal(realx);
pure nothrow @nogc @trusted realceill(realx);
pure nothrow @nogc @trusted realfloorl(realx);
pure nothrow @nogc @trusted realnearbyintl(realx);
pure nothrow @nogc @trusted realrintl(realx);
nothrow @nogc @trusted c_longlrintl(realx);
nothrow @nogc @trusted longllrintl(realx);
pure nothrow @nogc @trusted realroundl(realx);
nothrow @nogc @trusted c_longlroundl(realx);
nothrow @nogc @trusted longllroundl(realx);
pure nothrow @nogc @trusted realtruncl(realx);
nothrow @nogc @trusted realfmodl(realx, realy);
nothrow @nogc @trusted realremainderl(realx, realy);
nothrow @nogc @trusted realremquol(realx, realy, int*quo);
pure nothrow @nogc @trusted realcopysignl(realx, realy);
pure nothrow @nogc @trusted realnanl(char*tagp);
nothrow @nogc @trusted realnextafterl(realx, realy);
nothrow @nogc @trusted doublenexttoward(doublex, realy);
nothrow @nogc @trusted floatnexttowardf(floatx, realy);
nothrow @nogc @trusted realnexttowardl(realx, realy);
nothrow @nogc @trusted realfdiml(realx, realy);
pure nothrow @nogc @trusted realfmaxl(realx, realy);
pure nothrow @nogc @trusted realfminl(realx, realy);
pure nothrow @nogc @trusted realfmal(realx, realy, realz);
Copyright © 1999-2026 by theD Language Foundation | Page generated byDdoc on Fri Feb 20 17:57:05 2026

[8]ページ先頭

©2009-2026 Movatter.jp