9 references to ToPositiveInfinity
System.Numerics.Tensors (3)
System\Numerics\Tensors\netcore\TensorPrimitives.Round.cs (3)
60case MidpointRounding.ToPositiveInfinity: 119if ((uint)mode > (uint)MidpointRounding.ToPositiveInfinity) 152case MidpointRounding.ToPositiveInfinity:
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Decimal.cs (2)
401DecCalc.InternalRound(ref AsMutable(ref d), (byte)(flags >> ScaleShift), MidpointRounding.ToPositiveInfinity); 687if ((uint)mode > (uint)MidpointRounding.ToPositiveInfinity)
src\libraries\System.Private.CoreLib\src\System\Decimal.DecCalc.cs (1)
2448Debug.Assert(mode == MidpointRounding.ToPositiveInfinity);
src\libraries\System.Private.CoreLib\src\System\Math.cs (1)
1327case MidpointRounding.ToPositiveInfinity:
src\libraries\System.Private.CoreLib\src\System\MathF.cs (1)
420case MidpointRounding.ToPositiveInfinity:
src\libraries\System.Private.CoreLib\src\System\Numerics\IFloatingPoint.cs (1)
17static virtual TSelf Ceiling(TSelf x) => TSelf.Round(x, digits: 0, MidpointRounding.ToPositiveInfinity);