fdim
De cppreference.com
![]() | Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate. La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí. |
Definido en el archivo de encabezado <math.h> | ||
float fdimf(float x, float y ); | (desde C99) | |
double fdim(double x, double y ); | (desde C99) | |
longdouble fdiml(longdouble x, longdouble y ); | (desde C99) | |
Devuelve la diferencia positiva entre x y y .
Original:
Returns the positive difference between x and y.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Esto podría ser implementado como fmax(x - y, 0), así que si x ≤ y, el resultado es siempre igual a 0, de lo contrario es x - y .
Original:
This could be implemented as fmax(x - y, 0), so if x ≤ y, the result is always equals to 0, otherwise it is x - y.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar]Parámetros
x, y | - | 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
El valor de la diferencia positiva .
Original:
The positive difference value.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
[editar]Ver también
(C99) | calcula el valor absoluto de un valor de la integral (|x|) Original: computes absolute value of an integral 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) |
(C99) | mayor de los dos valores de punto flotante Original: larger of two floating point values The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (función) |
Documentación de C++ para fdim |