5 references to CopySign
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
961
public static double CopySign(double value, double sign) => Math.
CopySign
(value, sign);
src\libraries\System.Private.CoreLib\src\System\Globalization\CalendricalCalculationsHelper.cs (1)
246
return Math.
CopySign
(Math.Min(Math.Abs(equation), TwelveHours), equation);
src\libraries\System.Private.CoreLib\src\System\Math.cs (3)
1357
double temp =
CopySign
(IntegerBoundary, a);
1358
return
CopySign
((a + temp) - temp, a);
1380
return Truncate(value +
CopySign
(0.49999999999999994, value));