Espacios de nombres
Variantes
Acciones

std::acos

De cppreference.com
< cpp‎ | numeric‎ | math

 
 
Numéricos biblioteca
Funciones matemáticas comunes
Floating-point medio ambiente
Los números complejos
Matrices numéricas
Pseudo-aleatoria de generación de números
En tiempo de compilación aritmética racional (C++11)
Genéricos operaciones numéricas
Original:
Generic numeric operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
 
Funciones matemáticas comunes
Funciones
Original:
Functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Operaciones básicas
Original:
Basic operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)(C++11)(C++11)
Funciones exponenciales
Original:
Exponential functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
(C++11)
(C++11)
Funciones de energía
Original:
Power functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
Funciones trigonométricas e hiperbólicas
Original:
Trigonometric and hyperbolic functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
(C++11)
Error gamma y funciones
Original:
Error and gamma functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
(C++11)
(C++11)
Más cerca de las operaciones con enteros en coma flotante
Original:
Nearest integer floating point operations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)(C++11)(C++11)
(C++11)
(C++11)
(C++11)(C++11)(C++11)
Funciones de punto flotante de manipulación
Original:
Floating point manipulation functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)(C++11)
(C++11)
(C++11)
(C++11)(C++11)
(C++11)
Clasificación / Comparación
Original:
Classification/Comparison
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
Constantes Macro
Original:
Macro constants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)(C++11)(C++11)(C++11)(C++11)
 
Definido en la cabecera <cmath>
float       acos( float arg );
double      acos( double arg );
long double acos( long double arg );
double      acos( Integral arg );
(desde C++11)
Calcula arco coseno de arg
Original:
Computes arc cosine of arg
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Contenido

[editar] Parámetros

arg -
flotando valor en puntos
Original:
floating point value
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Valor de retorno

Arco coseno de arg en radianes en el intervalo de radianes [0; π] .
Original:
Arc cosine of arg in radians in the range of [0; π] radians.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Domain error se produce si arg está fuera del rango [-1.0; 1.0]. NAN se devuelve en ese caso .
Original:
Domain error occurs if arg is outside the range [-1.0; 1.0]. NAN is returned in that case.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Ejemplo

#include <cmath>
#include <iostream>
 
int main()
{
    std::cout << "The number pi is " << std::acos(-1) << '\n';
}

Salida:

The number pi is 3.14159

[editar] Ver también

calcula arcoseno (arcsin(x))
Original:
computes arc sine (arcsin(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(función) [editar]
calcula arco tangente (arctan(x))
Original:
computes arc tangent (arctan(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(función) [editar]
arco tangente, usando signos para determinar cuadrantes
Original:
arc tangent, using signs to determine quadrants
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(función) [editar]
calcula coseno (cos(x))
Original:
computes cosine (cos(x))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(función) [editar]
calcula arco coseno de un número complejo (arccos(z))
Original:
computes arc cosine of a complex number (arccos(z))
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(plantilla de función) [editar]
se aplica la std::acos función a cada elemento de valarray
Original:
applies the function std::acos to each element of valarray
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(plantilla de función) [editar]