Espacios de nombres
Variantes
Acciones

abs, labs, llabs, imaxabs

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.
abslabsllabsimaxabs
(C99)
(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 <stdlib.h>
int        abs( int n );
long       labs( long n );
long long llabs( long long n );
(desde C99)
Definido en el archivo de encabezado <inttypes.h>
intmax_t imaxabs( intmax_t n );
(desde C99)
Calcula el valor absoluto de un número entero .
Original:
Computes the absolute value of an integer number.
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

n -
valor entero
Original:
integer 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

El valor absoluto de n (es decir |n|)
Original:
The absolute value of n (i.e. |n|)
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

valor absoluto de un valor de punto flotante (|x|)
Original:
absolute value of a floating point value (|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]