14 references to ToNegativeInfinity
System.Numerics.Tensors (1)
System\Numerics\Tensors\netcore\TensorPrimitives.Round.cs (1)
66case MidpointRounding.ToNegativeInfinity:
System.Private.CoreLib (13)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
473DecCalc.InternalRound(ref AsMutable(ref d), (byte)(flags >> ScaleShift), MidpointRounding.ToNegativeInfinity);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.DecCalc.cs (1)
2490else if (mode == MidpointRounding.ToNegativeInfinity)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Math.cs (1)
1391case MidpointRounding.ToNegativeInfinity:
src\runtime\src\libraries\System.Private.CoreLib\src\System\MathF.cs (1)
415case MidpointRounding.ToNegativeInfinity:
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.DecimalIeee754.cs (1)
2008MidpointRounding.ToNegativeInfinity => discardedNonZero && a.Signed,
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Rounding.cs (2)
261MidpointRounding.ToNegativeInfinity => isNegative && hasRemainder, 368case MidpointRounding.ToNegativeInfinity:
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal128.cs (1)
828public 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)
839public 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)
832public 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)
42static 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)
1884case MidpointRounding.ToNegativeInfinity: 1930case MidpointRounding.ToNegativeInfinity: