copysign
提供: 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. |
Defined in header <math.h>
|
||
float copysignf( float x, float y ); |
||
double copysign( double x, double y ); |
||
long double copysignl( long double x, long double y ); |
||
x
と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.
[編集] パラメータ
x, y | - | 浮動小数点値
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. |
[編集] 値を返します
x
と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.
[編集] も参照してください
浮動小数点値の絶対値(|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. (関数) | |
(C99) |
チェック与えられた数値が負の場合 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. (関数) |
C++ documentation for copysign
|