Standard library header <tgmath.h> (C99)
Cet en-tête fait partie de la bibliothèque numérique et fournit des macros génériques de type qui déterminent quelle fonction réelle ou, le cas échéant, complexe appeler en fonction des types des arguments.
Inclusions |
|
| <math.h> | |
| <complex.h> |
|
Cette section est incomplète
Raison : 7.28 Mathématiques génériques de type <tgmath.h> |
Synopsis
|
Cette section est incomplète
Raison : B.27 Mathématiques génériques de type <tgmath.h> |
#include <math.h> #include <complex.h> #define __STDC_VERSION_TGMATH_H__ 202311L #define acos /* voir description */ #define acosh /* voir description */ #define acospi /* voir description */ #define asin /* voir description */ #define asinh /* voir description */ #define asinpi /* voir description */ #define atan /* voir description */ #define atan2 /* voir description */ #define atan2pi /* voir description */ #define atanh /* voir description */ #define atanpi /* voir description */ #define cbrt /* voir description */ #define ceil /* voir description */ #define compoundn /* voir description */ #define copysign /* voir description */ #define cos /* voir description */ #define cosh /* voir description */ #define cospi /* voir description */ #define dadd /* voir description */ #define ddiv /* voir description */ #define dfma /* voir description */ #define dmul /* voir description */ #define dsqrt /* voir description */ #define dsub /* voir description */ #define erf /* voir description */ #define erfc /* voir description */ #define exp /* voir description */ #define exp10 /* voir description */ #define exp10m1 /* voir description */ #define exp2 /* voir description */ #define exp2m1 /* voir description */ #define expm1 /* voir description */ #define fabs /* voir description */ #define fadd /* voir description */ #define fdim /* voir description */ #define fdiv /* voir description */ #define ffma /* voir description */ #define floor /* voir description */ #define fma /* voir description */ #define fmax /* voir description */ #define fmaximum /* voir description */ #define fmaximum_mag /* voir description */ #define fmaximum_mag_num /* voir description */ #define fmaximum_num /* voir description */ #define fmin /* voir description */ #define fminimum /* voir description */ #define fminimum_mag /* voir description */ #define fminimum_mag_num /* voir description */ #define fminimum_num /* voir description */ #define fmod /* voir description */ #define fmul /* voir description */ #define frexp /* voir description */ #define fromfp /* voir description */ #define fromfpx /* voir description */ #define fsqrt /* voir description */ #define fsub /* voir description */ #define hypot /* voir description */ #define ilogb /* voir description */ #define ldexp /* voir description */ #define lgamma /* voir description */ #define llogb /* voir description */ #define llrint /* voir description */ #define llround /* voir description */ #define log /* voir description */ #define log10 /* voir description */ #define log10p1 /* voir description */ #define log1p /* voir description */ #define log2 /* voir description */ #define log2p1 /* voir description */ #define logb /* voir description */ #define logp1 /* voir description */ #define lrint /* voir description */ #define lround /* voir description */ #define nearbyint /* voir description */ #define nextafter /* voir description */ #define nextdown /* voir description */ #define nexttoward /* voir description */ #define nextup /* voir description */ #define pow /* voir description */ #define pown /* voir description */ #define powr /* voir description */ #define remainder /* voir description */ #define remquo /* voir description */ #define rint /* voir description */ #define rootn /* voir description */ #define round /* voir description */ #define roundeven /* voir description */ #define rsqrt /* voir description */ #define scalbln /* voir description */ #define scalbn /* voir description */ #define sin /* voir description */ #define sinh /* voir description */ #define sinpi /* voir description */ #define sqrt /* voir description */ #define tan /* voir description */ #define tanh /* voir description */ #define tanpi /* voir description */ #define tgamma /* voir description */ #define trunc /* voir description */ #define ufromfp /* voir description */ #define ufromfpx /* voir description */
Seulement si l'implémentation ne définit pas __STDC_NO_COMPLEX__ :
#ifndef __STDC_WANT_LIB_EXT1__ #define carg /* voir description */ #define cimag /* voir description */ #define conj /* voir description */ #define cproj /* voir description */ #define creal /* voir description */ #endif
Seulement si l'implémentation définit __STDC_IEC_60559_DFP__ :
#define d32add /* voir description */ #define d32div /* voir description */ #define d32fma /* voir description */ #define d32mul /* voir description */ #define d32sqrt /* voir description */ #define d32sub /* voir description */ #define d64add /* voir description */ #define d64div /* voir description */ #define d64fma /* voir description */ #define d64mul /* voir description */ #define d64sqrt /* voir description */ #define d64sub /* voir description */ #define llquantexp /* voir description */ #define quantize /* voir description */ #define quantum /* voir description */ #define samequantum /* voir description */
Seulement si l'implémentation définit
__STDC_IEC_60559_TYPES__
et que le code utilisateur définit
__STDC_WANT_IEC_60559_TYPES_EXT__
avant toute inclusion de
<tgmath.h>
:
#ifdef __STDC_WANT_IEC_60559_TYPES_EXT__ #define /*dMadd*/ /* voir description */ #define /*dMdiv*/ /* voir description */ #define /*dMfma*/ /* voir description */ #define /*dMmul*/ /* voir description */ #define /*dMsqrt*/ /* voir description */ #define /*dMsub*/ /* voir description */ #define /*dMxadd*/ /* voir description */ #define /*dMxdiv*/ /* voir description */ #define /*dMxfma*/ /* voir description */ #define /*dMxmul*/ /* voir description */ #define /*dMxsqrt*/ /* voir description */ #define /*dMxsub*/ /* voir description */ #define /*fMadd*/ /* voir description */ #define /*fMdiv*/ /* voir description */ #define /*fMfma*/ /* voir description */ #define /*fMmul*/ /* voir description */ #define /*fMsqrt*/ /* voir description */ #define /*fMsub*/ /* voir description */ #define /*fMxadd*/ /* voir description */ #define /*fMxdiv*/ /* voir description */ #define /*fMxfma*/ /* voir description */ #define /*fMxmul*/ /* voir description */ #define /*fMxsqrt*/ /* voir description */ #define /*fMxsub*/ /* voir description */