Warning: Undefined array key "HTTP_ACCEPT_LANGUAGE" in /var/www/vhosts/bilgigunlugum.net/httpdocs/index.php on line 43
C Programlama

SDL3 Oyun Programlama sayfalarımız yayında...

Ana sayfa > Programlama > C Programlama > C standart kütüphanesi > <tgmath.h> (C99)

<tgmath.h> (C99)

C99 standartları ile birlikte standart kütüphaneye katılan tgmath.h başlık dosyasında, math.h ve complex.h başlık dosyaları dahil edilmiş ve bu dosyalarda yer alan her matematiksel fonksiyon için bir makro tanımlanmıştır. Hem gerçek hem de karmaşık sayılar için tanımlanmış bir fonksiyona karşılık gelen her makro, float, double and long double ve bunların karmaşık değişkenleri olmak üzere toplam 6 farklı fonksiyon içerir.

Fonksiyon makroları

Makro adı Değeri
acos(z)__TGMATH_CPLX(z, acos, cacos)
acosh(z)__TGMATH_CPLX(z, acosh, cacosh)
asin(z)__TGMATH_CPLX(z, asin, casin)
asinh(z)__TGMATH_CPLX(z, asinh, casinh)
atan(z)__TGMATH_CPLX(z, atan, catan)
atan2(x,y)__TGMATH_REAL_2(x, y, atan2)
atanh(z)__TGMATH_CPLX(z, atanh, catanh)
carg(z)__TGMATH_CPLX_ONLY(z, carg)
cbrt(x)__TGMATH_REAL(x, cbrt)
ceil(x)__TGMATH_REAL(x, ceil)
cimag(z)__TGMATH_CPLX_ONLY(z, cimag)
conj(z)__TGMATH_CPLX_ONLY(z, conj)
copysign(x,y)__TGMATH_REAL_2(x, y, copysign)
cos(z)__TGMATH_CPLX(z, cos, ccos)
cosh(z)__TGMATH_CPLX(z, cosh, ccosh)
cproj(z)__TGMATH_CPLX_ONLY(z, cproj)
creal(z)__TGMATH_CPLX_ONLY(z, creal)
erf(x)__TGMATH_REAL(x, erf)
erfc(x)__TGMATH_REAL(x, erfc)
exp(z)__TGMATH_CPLX(z, exp, cexp)
exp2(x)__TGMATH_REAL(x, exp2)
expm1(x)__TGMATH_REAL(x, expm1)
fabs(z)__TGMATH_CPLX(z, fabs, cabs)
fdim(x,y)__TGMATH_REAL_2(x, y, fdim)
floor(x)__TGMATH_REAL(x, floor)
fma(x,y,z)__TGMATH_REAL_3(x, y, z, fma)
fmax(x,y)__TGMATH_REAL_2(x, y, fmax)
fmin(x,y)__TGMATH_REAL_2(x, y, fmin)
fmod(x,y)__TGMATH_REAL_2(x, y, fmod)
frexp(x,y)__TGMATH_REAL_1_2(x, y, frexp)
hypot(x,y)__TGMATH_REAL_2(x, y, hypot)
ilogb(x)__TGMATH_REAL(x, ilogb)
ldexp(x,y)__TGMATH_REAL_1_2(x, y, ldexp)
lgamma(x)__TGMATH_REAL(x, lgamma)
llrint(x)__TGMATH_REAL(x, llrint)
llround(x)__TGMATH_REAL(x, llround)
log(z)__TGMATH_CPLX(z, log, clog)
log10(x)__TGMATH_REAL(x, log10)
log1p(x)__TGMATH_REAL(x, log1p)
log2(x)__TGMATH_REAL(x, log2)
logb(x)__TGMATH_REAL(x, logb)
lrint(x)__TGMATH_REAL(x, lrint)
lround(x)__TGMATH_REAL(x, lround)
nearbyint(x)__TGMATH_REAL(x, nearbyint)
nextafter(x,y)__TGMATH_REAL_2(x, y, nextafter)
nexttoward(x,y)__TGMATH_REAL_1_2(x, y, nexttoward)
pow(z1,z2)__TGMATH_CPLX_2(z1, z2, pow, cpow)
remainder(x,y)__TGMATH_REAL_2(x, y, remainder)
remquo(x,y,z)__TGMATH_REAL_2_3(x, y, z, remquo)
rint(x)__TGMATH_REAL(x, rint)
round(x)__TGMATH_REAL(x, round)
scalbln(x,y)__TGMATH_REAL_1_2(x, y, scalbln)
scalbn(x,y)__TGMATH_REAL_1_2(x, y, scalbn)
sin(z)__TGMATH_CPLX(z, sin, csin)
sinh(z)__TGMATH_CPLX(z, sinh, csinh)
sqrt(z)__TGMATH_CPLX(z, sqrt, csqrt)
tan(z)__TGMATH_CPLX(z, tan, ctan)
tanh(z)__TGMATH_CPLX(z, tanh, ctanh)
tgamma(x)__TGMATH_REAL(x, tgamma)
trunc(x)__TGMATH_REAL(x, trunc)