C++-Referenz/ Standardbibliothek/ Mathematisch

Aus Wikibooks
Zur Navigation springen Zur Suche springen
Symbol opinion vote.svg
Alte Seite

Die Arbeit am Buch »C++-Referenz« wurde vom Hauptautor eingestellt. Ein Lehrbuch zum Thema C++ ist unter »C++-Programmierung« zu finden. Eine sehr umfangreiche und gute Referenz gibt es unter cppreference.com.

Diese Seite beschreibt C++98, einen stark veralteten Standard. Aktuelle Referenz.

acos[Bearbeiten]

Crystal Clear app terminal.png
// Header: cmath
float acos(float arg);
double acos(double arg);
long double acos(long double arg);

asin[Bearbeiten]

Crystal Clear app terminal.png
// Header: cmath
float asin(float arg);
double asin(double arg);
long double asin(long double arg);

atan[Bearbeiten]

Crystal Clear app terminal.png
// Header: cmath
float atan(float arg);
double atan(double arg);
long double atan(long double arg);

atan2[Bearbeiten]

Crystal Clear app terminal.png
// Header: cmath
float atan2(float x, float y);
double atan2(double x, double y);
long double atan2(long double x, long double y);

ceil[Bearbeiten]

Crystal Clear app terminal.png
// Header: cmath
float ceil(float num);
double ceil(double num);
long double ceil(long double num);

cos[Bearbeiten]

Crystal Clear app terminal.png
// Header: cmath
float cos(float arg);
double cos(double arg);
long double cos(long double arg);

cosh[Bearbeiten]

Crystal Clear app terminal.png
// Header: cmath
float cosh(float arg);
double cosh(double arg);
long double cosh(long double arg);

exp[Bearbeiten]

Crystal Clear app terminal.png
// Header: cmath
float exp(float arg);
double exp(double arg);
long double exp(long double arg);

fabs[Bearbeiten]

Crystal Clear app terminal.png
// Header: cmath
float fabs(float num);
double fabs(double num);
long double fabs(long double num);

floor[Bearbeiten]

Crystal Clear app terminal.png
// Header: cmath
float floor(float num);
double floor(double num);
long double floor(long double num);

fmod[Bearbeiten]

Crystal Clear app terminal.png
// Header: cmath
float fmod(float x, float y);
double fmod(double x, double y);
long double fmod(long double x, long double y);

frexp[Bearbeiten]

Crystal Clear app terminal.png
// Header: cmath
float frexp(float num, int *exp);
double frexp(double num, int *exp);
long double frexp(long double num, int *exp);

ldexp[Bearbeiten]

Crystal Clear app terminal.png
// Header: cmath
float ldexp(float num, int exp);
double ldexp(double num, int exp);
long double ldexp(long double num, int exp);

log[Bearbeiten]

Crystal Clear app terminal.png
// Header: cmath
float log(float num);
double log(double num);
long double log(long double num);

log10[Bearbeiten]

Crystal Clear app terminal.png
// Header: cmath
float log10(float num);
double log10(double num);
long double log10(long double num);

modf[Bearbeiten]

Crystal Clear app terminal.png
// Header: cmath
float modf(float num, float *i);
double modf(double num, double *i);
long double modf(long double num, long double *i);

pow[Bearbeiten]

Crystal Clear app terminal.png
// Header: cmath
float pow(float base, int exp);
float pow(float base, float exp);
double pow(double base, int exp);
double pow(double base, double exp);
long double pow(long double base, int exp);
long double pow(long double base, long double exp);

Berechnet die Potenz zur Basis base mit dem Exponenten exp.

sin[Bearbeiten]

Crystal Clear app terminal.png
// Header: cmath
float sin(float arg);
double sin(double arg);
long double sin(long double arg);

sinh[Bearbeiten]

Crystal Clear app terminal.png
// Header: cmath
float sinh(float arg);
double sinh(double arg);
long double sinh(long double arg);

sqrt[Bearbeiten]

Crystal Clear app terminal.png
// Header: cmath
float sqrt(float num);
double sqrt(double num);
long double sqrt(long double num);

Berechnet die Quadratwurzel von num.

tan[Bearbeiten]

Crystal Clear app terminal.png
// Header: cmath
float tan(float arg);
double tan(double arg);
long double tan(long double arg);

tanh[Bearbeiten]

Crystal Clear app terminal.png
// Header: cmath
float tanh(float arg);
double tanh(double arg);
long double tanh(long double arg);