8 references to CopySign
System.Private.CoreLib (8)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (4)
1742
result =
CopySign
(result, x);
1755
result =
CopySign
(0.0, x);
1787
result =
CopySign
(result, x);
1800
result =
CopySign
(PositiveInfinity, x);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.Transcendental.cs (2)
1133
return ConvertFloatToDecimalIeee754<double, TDecimal, TValue>(double.
CopySign
(double.Pi / 2.0, signed ? -1.0 : 1.0));
1478
return 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)
1181
public 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)
569
return (T)(object)double.
CopySign
((double)(object)value, (double)(object)sign);