Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Mathematische Funktionen

&pagelevel(3)&pagelevel

Integer-Arithmetik

Name

Kurzbeschreibung

abs

Absolutbetrag (integer)

div

Division (integer)

imaxabs

Absolutbetrag (intmax_t)

imaxdiv

Division (intmax_t)

labs

Absolutbetrag (long integer)

llabs

Absolutbetrag (long long integer)

ldiv

Division (long integer)

lldiv

Division (long long integer)

Gleitkommazahlen

Name

Kurzbeschreibung

acos, acosf, acosl

Arcuscosinus

asin, asin, asinl

Arcussinus

atan, atanf, atanl

Arcustangens x

atan2, atan2f, atan2l

Arcustangens x/y

cabs

Absolutbetrag einer komplexen Zahl

cos, cosf, cosl

Cosinus

cosh, coshf, coshl

Cosinushyperbolicus

erf, erff, erfl

Fehlerfunktion

erfc, erfcf, erfcl

Komplement der Fehlerfunktion

exp, expf, expl

Exponentialfunktion zur Basis e

expm1, expm1f, expm1l

Exponentialfunktion zur Basis e - 1

exp2, exp2f, exp2l

Exponentialfunktion zur Basis 2

fabs, fabsf, fabsl

Absolutbetrag einer Gleitkommazahl

fdim, fdimf, fdiml

positive Differenz

fmax, fmaxf, fmaxl

maximaler Wert

fmin, fminf, fminl

minimaler Wert

fmod, fmodf, fmodl

Rest einer Division

frexp, frexpf, frexpl

normierte Darstellung zur Basis 2

gamma

Logarithmus der Gammafunktion

hypot, hypotf, hypotl

Euklidischer Abstand

j0, j1, jn

Besselfunktionen der ersten Art

ldexp, ldexpf, ldexpl

Wert im Zweiersystem berechnen

lgamma, lgammaf, lgammal

Logarithmus der Gammafunktion

log, logf, logl

natürlicher Logarithmus

log10, log10f, log10l

Logarithmus zur Basis 10

log1p, log1pf, log1pl

natürlicher Logarithmus + 1

log2, log2f, log2l

Logarithmus zur Basis 2

modf, modff, modfl

Aufspalten in ganzzahligen und gebrochenen Teil

nearbyint, nearbyintf,
nearbyintl

nächste ganze Zahl

pow, powf, powl

allgemeine Exponentialfunktion

sin, sinf, sinl

Sinus

sinh, sinhf, sinhl

Sinus hyperbolicus

sqrt, sqrtf, sqrtl

Quadratwurzel

tan, tanf, tanl

Tangens

tanh, tanhf, tanhl

Tangens hyperbolicus

tgamma, tgammaf, tgammal

Gammafunktion

y0, y1, yn

Besselfunktionen der zweiten Art

Rundungsfunktionen (abhängig vom Rundungsmodus)

Name

Kurzbeschreibung

llrint, llrintf, llrintl

Rundet Gleitkommazahl auf nächste Ganzzahl vom Typ long long int

lrint, lrintf, lrintl

Rundet Gleitkommazahl auf nächste Ganzzahl vom Typ long int

rint, rintf, rintl

Rundet Gleitkommazahl auf nächste Ganzzahl als Gleitkommazahl

nearbyint, nearbyintf,
nearbyintl

Rundet Gleitkommazahl auf nächste Ganzzahl als Gleitkommazahl

Rundungsfunktionen (unabhängig vom Rundungsmodus)

Name

Kurzbeschreibung

ceil, ceilf, ceill

Rundet Gleitkommazahl auf nächste Ganzzahl nach oben als Gleitkommazahl

floor, floorf, floorl

Rundet Gleitkommazahl auf nächste Ganzzahl nach unten als Gleitkommazahl

llround, llroundf, llroundl

Rundet Gleitkommazahl auf nächste Ganzzahl vom Typ long long int

lround, lroundf, lroundl

Rundet Gleitkommazahl auf nächste Ganzzahl vom Typ long int

round, roundf, roundl

Rundet Gleitkommazahl auf nächste Ganzzahl als Gleitkommazahl

trunc, truncf, truncl

Rundet Gleitkommazahl auf nächste Ganzzahl Richtung 0 als Gleitkommazahl