8 references to CopySign
System.Private.CoreLib (8)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (4)
1742result = CopySign(result, x); 1755result = CopySign(0.0, x); 1787result = CopySign(result, x); 1800result = CopySign(PositiveInfinity, x);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.Transcendental.cs (2)
1133return ConvertFloatToDecimalIeee754<double, TDecimal, TValue>(double.CopySign(double.Pi / 2.0, signed ? -1.0 : 1.0)); 1478return ConvertFloatToDecimalIeee754<double, TDecimal, TValue>(double.CopySign(0.5, signed ? -1.0 : 1.0));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
1181public static NFloat CopySign(NFloat value, NFloat sign) => new NFloat(NativeType.CopySign(value._value, sign._value));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\Scalar.cs (1)
569return (T)(object)double.CopySign((double)(object)value, (double)(object)sign);