copysign
Da cppreference.com
![]() | This page has been machine-translated from the English version of the wiki using Google Translate. The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Definido no cabeçalho <math.h> | ||
float copysignf(float x, float y ); | ||
double copysign(double x, double y ); | ||
longdouble copysignl(longdouble x, longdouble y ); | ||
Compõe um valor de ponto flutuante com a magnitude de
x
eo sinal de y
. Original:
Composes a floating point value with the magnitude of
x
and the sign of 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 | - | valores de ponto flutuante Original: 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. |
[editar]Valor de retorno
Valor de ponto flutuante com a magnitude de
x
eo sinal de y
Original:
Floating point value with the magnitude of
x
and the sign of 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]Veja também
valor absoluto de um valor de ponto flutuante (|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. (função) | |
(C99) | Verifica se o número dado é negativo Original: checks if the given number is negative The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) |
C++ documentation for copysign |