Espacios de nombres
Variantes
Acciones

cos

De cppreference.com
< c‎ | numeric‎ | math
 
 
 
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.
(C99)
(C99)
(C99)
(C99)
(C99)
(C99)(C99)(C99)
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.
(C99)
(C99)
(C99)
(C99)
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.
(C99)
(C99)
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.
(C99)
(C99)
(C99)
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.
(C99)
(C99)
(C99)
(C99)
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.
(C99)(C99)(C99)
(C99)
(C99)(C99)(C99)
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.
(C99)(C99)
(C99)
(C99)
Clasificación
Original:
Classification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C99)
(C99)
(C99)
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.
 
Definido en el archivo de encabezado <math.h>
float       cosf( float arg );
(desde C99)
double      cos( double arg );
long double cosl( long double arg );
(desde C99)
Calcula el coseno de arg
Original:
Computes 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.

[editar] Parámetros

arg -
valor de punto flotante que representa el ángulo en radianes
Original:
floating point value representing angle in radians
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

Coseno de arg en el rango [-1.0 ; 1.0] .
Original:
Cosine of arg in the range [-1.0 ; 1.0].
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 es infinito. NAN se devuelve en ese caso .
Original:
Domain error occurs if arg is infinite. 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] Ver también

sine calcula (sin(x))
Original:
computes sine (sin(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 la tangente (tan(x))
Original:
computes tangent (tan(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 (arccos(x))
Original:
computes arc cosine (arccos(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]