NFloat.CopySign(NFloat, NFloat) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Copies the sign of a value to the sign of another value.
public:
static System::Runtime::InteropServices::NFloat CopySign(System::Runtime::InteropServices::NFloat value, System::Runtime::InteropServices::NFloat sign) = System::Numerics::INumber<System::Runtime::InteropServices::NFloat>::CopySign;
public static System.Runtime.InteropServices.NFloat CopySign (System.Runtime.InteropServices.NFloat value, System.Runtime.InteropServices.NFloat sign);
static member CopySign : System.Runtime.InteropServices.NFloat * System.Runtime.InteropServices.NFloat -> System.Runtime.InteropServices.NFloat
Public Shared Function CopySign (value As NFloat, sign As NFloat) As NFloat
Parameters
- value
- NFloat
The value whose magnitude is used in the result.
- sign
- NFloat
The value whose sign is used in the result.
Returns
A value with the magnitude of value
and the sign of sign
.
Implements
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.