14 references to ToNegativeInfinity
System.Numerics.Tensors (1)
System\Numerics\Tensors\netcore\TensorPrimitives.Round.cs (1)
66
case MidpointRounding.
ToNegativeInfinity
:
System.Private.CoreLib (13)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
473
DecCalc.InternalRound(ref AsMutable(ref d), (byte)(flags >> ScaleShift), MidpointRounding.
ToNegativeInfinity
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.DecCalc.cs (1)
2490
else if (mode == MidpointRounding.
ToNegativeInfinity
)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Math.cs (1)
1391
case MidpointRounding.
ToNegativeInfinity
:
src\runtime\src\libraries\System.Private.CoreLib\src\System\MathF.cs (1)
415
case MidpointRounding.
ToNegativeInfinity
:
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.cs (1)
2008
MidpointRounding.
ToNegativeInfinity
=> discardedNonZero && a.Signed,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Rounding.cs (2)
261
MidpointRounding.
ToNegativeInfinity
=> isNegative && hasRemainder,
368
case MidpointRounding.
ToNegativeInfinity
:
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal128.cs (1)
828
public static Decimal128 Floor(Decimal128 x) => new Decimal128(Number.RoundDecimalIeee754<Decimal128, UInt128>(new UInt128(x._upper, x._lower), 0, MidpointRounding.
ToNegativeInfinity
));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal32.cs (1)
839
public static Decimal32 Floor(Decimal32 x) => new Decimal32(Number.RoundDecimalIeee754<Decimal32, uint>(x._value, 0, MidpointRounding.
ToNegativeInfinity
));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal64.cs (1)
832
public static Decimal64 Floor(Decimal64 x) => new Decimal64(Number.RoundDecimalIeee754<Decimal64, ulong>(x._value, 0, MidpointRounding.
ToNegativeInfinity
));
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IFloatingPoint.cs (1)
42
static virtual TSelf Floor(TSelf x) => TSelf.Round(x, digits: 0, MidpointRounding.
ToNegativeInfinity
);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\VectorMath.cs (2)
1884
case MidpointRounding.
ToNegativeInfinity
:
1930
case MidpointRounding.
ToNegativeInfinity
: