10 references to Round
System.Numerics.Tensors (1)
System\Numerics\Tensors\netcore\TensorPrimitives.Round.cs (1)
191
public static T Invoke(T x) => T.
Round
(x, MidpointRounding.AwayFromZero);
System.Private.CoreLib (9)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (1)
686
/// <inheritdoc cref="IFloatingPoint{TSelf}.
Round
(TSelf, MidpointRounding)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (1)
1367
/// <inheritdoc cref="IFloatingPoint{TSelf}.
Round
(TSelf, MidpointRounding)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Number.Rounding.cs (1)
79
TNumber rn = TNumber.
Round
(hi, MidpointRounding.ToEven);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (1)
985
/// <inheritdoc cref="IFloatingPoint{TSelf}.
Round
(TSelf, MidpointRounding)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal128.cs (1)
836
/// <inheritdoc cref="IFloatingPoint{TSelf}.
Round
(TSelf, MidpointRounding)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal32.cs (1)
847
/// <inheritdoc cref="IFloatingPoint{TSelf}.
Round
(TSelf, MidpointRounding)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal64.cs (1)
840
/// <inheritdoc cref="IFloatingPoint{TSelf}.
Round
(TSelf, MidpointRounding)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (1)
999
/// <inheritdoc cref="IFloatingPoint{TSelf}.
Round
(TSelf, MidpointRounding)" />
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (1)
679
/// <inheritdoc cref="IFloatingPoint{TSelf}.
Round
(TSelf, MidpointRounding)" />