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