Inhaltsverzeichnis

asin()

#include <cmath>

double asin (double x) 

Liefert den Arcussinus von x für $-1\leq x\leq 1$.

Parameter

x -

Bei unzulässigem Argument wird errno auf EDOM gesetzt.

Ergebnis

Rückgabewert: Hauptwert von arcsin(x) im Bereich [-pi/2, pi/2], im Fehlerfall NAN (not a number).

Siehe auch

acos(), atan(), sin().

Beispiel

asin.cpp
#include <cmath>
#include <iostream>
 
int main()
{
  double x = 0.5 * std::sqrt(3);
  std::cout << "Arcus sinus von " << x << " = " << std::asin(x) << '\n';
}