1 interface inheriting from IFloatingPoint
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IFloatingPointIeee754.cs (1)
10IFloatingPoint<TSelf>,
1 implementation of IFloatingPoint
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
70IFloatingPoint<decimal>,
270 references to IFloatingPoint
System.Numerics.Tensors (42)
System\Numerics\Tensors\netcore\Tensor.cs (18)
373public static ref readonly TensorSpan<T> FillGaussianNormalDistribution<T>(in TensorSpan<T> destination, Random? random = null) where T : IFloatingPoint<T> 411public static ref readonly TensorSpan<T> FillUniformDistribution<T>(in TensorSpan<T> destination, Random? random = null) where T : IFloatingPoint<T> 2999where T : IFloatingPoint<T> 3012where T : IFloatingPoint<T> 3495where T : IFloatingPoint<T> 3506where T : IFloatingPoint<T> 4654where T : IFloatingPoint<T> 4665where T : IFloatingPoint<T> 4756where T : IFloatingPoint<T> 4767where T : IFloatingPoint<T> 4779where T : IFloatingPoint<T> 4792where T : IFloatingPoint<T> 4803where T : IFloatingPoint<T> 4815where T : IFloatingPoint<T> 4826where T : IFloatingPoint<T> 4838where T : IFloatingPoint<T> 5141where T : IFloatingPoint<T> 5152where T : IFloatingPoint<T>
System\Numerics\Tensors\netcore\TensorOperation.cs (5)
819where T : IFloatingPoint<T> 1146where T : IFloatingPoint<T> 1804where T : IFloatingPoint<T> 1863where T : IFloatingPoint<T> 2223where T : IFloatingPoint<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Ceiling.cs (2)
22where T : IFloatingPoint<T> 32private readonly struct CeilingOperator<T> : IUnaryOperator<T, T> where T : IFloatingPoint<T>
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertToInteger.cs (2)
23where TFrom : IFloatingPoint<TFrom> 29where TFrom : IFloatingPoint<TFrom>
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertToIntegerNative.cs (2)
23where TFrom : IFloatingPoint<TFrom> 29where TFrom : IFloatingPoint<TFrom>
System\Numerics\Tensors\netcore\TensorPrimitives.Floor.cs (2)
22where T : IFloatingPoint<T> 32private readonly struct FloorOperator<T> : IUnaryOperator<T, T> where T : IFloatingPoint<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Reciprocal.cs (2)
24where T : IFloatingPoint<T> 100private readonly struct ReciprocalOperator<T> : IUnaryOperator<T, T> where T : IFloatingPoint<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Round.cs (7)
23where T : IFloatingPoint<T> 45where T : IFloatingPoint<T> 90public static void Round<T>(ReadOnlySpan<T> x, int digits, Span<T> destination) where T : IFloatingPoint<T> => 108where T : IFloatingPoint<T> 134private readonly struct RoundToEvenOperator<T> : IUnaryOperator<T, T> where T : IFloatingPoint<T> 187private readonly struct RoundAwayFromZeroOperator<T> : IUnaryOperator<T, T> where T : IFloatingPoint<T> 245where T : IFloatingPoint<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Truncate.cs (2)
24where T : IFloatingPoint<T> 34private readonly struct TruncateOperator<T> : IUnaryOperator<T, T> where T : IFloatingPoint<T>
System.Private.CoreLib (225)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (18)
1115/// <inheritdoc cref="IFloatingPoint{TSelf}.ConvertToInteger{TInteger}(TSelf)" /> 1119/// <inheritdoc cref="IFloatingPoint{TSelf}.ConvertToIntegerNative{TInteger}(TSelf)" /> 1123/// <inheritdoc cref="IFloatingPoint{TSelf}.GetExponentByteCount()" /> 1124int IFloatingPoint<decimal>.GetExponentByteCount() => sizeof(sbyte); 1126/// <inheritdoc cref="IFloatingPoint{TSelf}.GetExponentShortestBitLength()" /> 1127int IFloatingPoint<decimal>.GetExponentShortestBitLength() 1133/// <inheritdoc cref="IFloatingPoint{TSelf}.GetSignificandByteCount()" /> 1134int IFloatingPoint<decimal>.GetSignificandByteCount() => sizeof(ulong) + sizeof(uint); 1136/// <inheritdoc cref="IFloatingPoint{TSelf}.GetSignificandBitLength()" /> 1137int IFloatingPoint<decimal>.GetSignificandBitLength() => 96; 1139/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteExponentBigEndian(Span{byte}, out int)" /> 1140bool IFloatingPoint<decimal>.TryWriteExponentBigEndian(Span<byte> destination, out int bytesWritten) 1153/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteExponentLittleEndian(Span{byte}, out int)" /> 1154bool IFloatingPoint<decimal>.TryWriteExponentLittleEndian(Span<byte> destination, out int bytesWritten) 1167/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteSignificandBigEndian(Span{byte}, out int)" /> 1168bool IFloatingPoint<decimal>.TryWriteSignificandBigEndian(Span<byte> destination, out int bytesWritten) 1184/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteSignificandLittleEndian(Span{byte}, out int)" /> 1185bool IFloatingPoint<decimal>.TryWriteSignificandLittleEndian(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Double.cs (25)
652/// <inheritdoc cref="IFloatingPoint{TSelf}.Ceiling(TSelf)" /> 656/// <inheritdoc cref="IFloatingPoint{TSelf}.ConvertToInteger{TInteger}(TSelf)" /> 661/// <inheritdoc cref="IFloatingPoint{TSelf}.ConvertToIntegerNative{TInteger}(TSelf)" /> 675/// <inheritdoc cref="IFloatingPoint{TSelf}.Floor(TSelf)" /> 679/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf)" /> 683/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, int)" /> 686/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, MidpointRounding)" /> 689/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, int, MidpointRounding)" /> 692/// <inheritdoc cref="IFloatingPoint{TSelf}.Truncate(TSelf)" /> 696/// <inheritdoc cref="IFloatingPoint{TSelf}.GetExponentByteCount()" /> 697int IFloatingPoint<double>.GetExponentByteCount() => sizeof(short); 699/// <inheritdoc cref="IFloatingPoint{TSelf}.GetExponentShortestBitLength()" /> 700int IFloatingPoint<double>.GetExponentShortestBitLength() 714/// <inheritdoc cref="IFloatingPoint{TSelf}.GetSignificandByteCount()" /> 715int IFloatingPoint<double>.GetSignificandByteCount() => sizeof(ulong); 717/// <inheritdoc cref="IFloatingPoint{TSelf}.GetSignificandBitLength()" /> 718int IFloatingPoint<double>.GetSignificandBitLength() => 53; 732/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteExponentBigEndian(Span{byte}, out int)" /> 733bool IFloatingPoint<double>.TryWriteExponentBigEndian(Span<byte> destination, out int bytesWritten) 750/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteExponentLittleEndian(Span{byte}, out int)" /> 751bool IFloatingPoint<double>.TryWriteExponentLittleEndian(Span<byte> destination, out int bytesWritten) 768/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteSignificandBigEndian(Span{byte}, out int)" /> 769bool IFloatingPoint<double>.TryWriteSignificandBigEndian(Span<byte> destination, out int bytesWritten) 786/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteSignificandLittleEndian(Span{byte}, out int)" /> 787bool IFloatingPoint<double>.TryWriteSignificandLittleEndian(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Half.cs (25)
1344/// <inheritdoc cref="IFloatingPoint{TSelf}.Ceiling(TSelf)" /> 1348/// <inheritdoc cref="IFloatingPoint{TSelf}.ConvertToInteger{TInteger}(TSelf)" /> 1352/// <inheritdoc cref="IFloatingPoint{TSelf}.ConvertToIntegerNative{TInteger}(TSelf)" /> 1356/// <inheritdoc cref="IFloatingPoint{TSelf}.Floor(TSelf)" /> 1360/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf)" /> 1364/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, int)" /> 1367/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, MidpointRounding)" /> 1370/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, int, MidpointRounding)" /> 1373/// <inheritdoc cref="IFloatingPoint{TSelf}.Truncate(TSelf)" /> 1377/// <inheritdoc cref="IFloatingPoint{TSelf}.GetExponentByteCount()" /> 1378int IFloatingPoint<Half>.GetExponentByteCount() => sizeof(sbyte); 1380/// <inheritdoc cref="IFloatingPoint{TSelf}.GetExponentShortestBitLength()" /> 1381int IFloatingPoint<Half>.GetExponentShortestBitLength() 1395/// <inheritdoc cref="IFloatingPoint{TSelf}.GetSignificandByteCount()" /> 1396int IFloatingPoint<Half>.GetSignificandByteCount() => sizeof(ushort); 1398/// <inheritdoc cref="IFloatingPoint{TSelf}.GetSignificandBitLength()" /> 1399int IFloatingPoint<Half>.GetSignificandBitLength() => SignificandLength; 1401/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteExponentBigEndian(Span{byte}, out int)" /> 1402bool IFloatingPoint<Half>.TryWriteExponentBigEndian(Span<byte> destination, out int bytesWritten) 1415/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteExponentLittleEndian(Span{byte}, out int)" /> 1416bool IFloatingPoint<Half>.TryWriteExponentLittleEndian(Span<byte> destination, out int bytesWritten) 1429/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteSignificandBigEndian(Span{byte}, out int)" /> 1430bool IFloatingPoint<Half>.TryWriteSignificandBigEndian(Span<byte> destination, out int bytesWritten) 1442/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteSignificandLittleEndian(Span{byte}, out int)" /> 1443bool IFloatingPoint<Half>.TryWriteSignificandLittleEndian(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\BFloat16.cs (23)
973/// <inheritdoc cref="IFloatingPoint{TSelf}.Ceiling(TSelf)" /> 976/// <inheritdoc cref="IFloatingPoint{TSelf}.Floor(TSelf)" /> 979/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf)" /> 982/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, int)" /> 985/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, MidpointRounding)" /> 988/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, int, MidpointRounding)" /> 991/// <inheritdoc cref="IFloatingPoint{TSelf}.Truncate(TSelf)" /> 994/// <inheritdoc cref="IFloatingPoint{TSelf}.GetExponentByteCount()" /> 995int IFloatingPoint<BFloat16>.GetExponentByteCount() => sizeof(sbyte); 997/// <inheritdoc cref="IFloatingPoint{TSelf}.GetExponentShortestBitLength()" /> 998int IFloatingPoint<BFloat16>.GetExponentShortestBitLength() 1012/// <inheritdoc cref="IFloatingPoint{TSelf}.GetSignificandByteCount()" /> 1013int IFloatingPoint<BFloat16>.GetSignificandByteCount() => sizeof(byte); 1015/// <inheritdoc cref="IFloatingPoint{TSelf}.GetSignificandBitLength()" /> 1016int IFloatingPoint<BFloat16>.GetSignificandBitLength() => SignificandLength; 1018/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteExponentBigEndian(Span{byte}, out int)" /> 1019bool IFloatingPoint<BFloat16>.TryWriteExponentBigEndian(Span<byte> destination, out int bytesWritten) 1032/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteExponentLittleEndian(Span{byte}, out int)" /> 1033bool IFloatingPoint<BFloat16>.TryWriteExponentLittleEndian(Span<byte> destination, out int bytesWritten) 1046/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteSignificandBigEndian(Span{byte}, out int)" /> 1047bool IFloatingPoint<BFloat16>.TryWriteSignificandBigEndian(Span<byte> destination, out int bytesWritten) 1060/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteSignificandLittleEndian(Span{byte}, out int)" /> 1061bool IFloatingPoint<BFloat16>.TryWriteSignificandLittleEndian(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal128.cs (25)
816/// <inheritdoc cref="IFloatingPoint{TSelf}.Ceiling(TSelf)" /> 819/// <inheritdoc cref="IFloatingPoint{TSelf}.ConvertToInteger{TInteger}(TSelf)" /> 823/// <inheritdoc cref="IFloatingPoint{TSelf}.ConvertToIntegerNative{TInteger}(TSelf)" /> 827/// <inheritdoc cref="IFloatingPoint{TSelf}.Floor(TSelf)" /> 830/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf)" /> 833/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, int)" /> 836/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, MidpointRounding)" /> 839/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, int, MidpointRounding)" /> 842/// <inheritdoc cref="IFloatingPoint{TSelf}.Truncate(TSelf)" /> 845/// <inheritdoc cref="IFloatingPoint{TSelf}.GetExponentByteCount()" /> 846int IFloatingPoint<Decimal128>.GetExponentByteCount() => sizeof(int); 848/// <inheritdoc cref="IFloatingPoint{TSelf}.GetExponentShortestBitLength()" /> 849int IFloatingPoint<Decimal128>.GetExponentShortestBitLength() 863/// <inheritdoc cref="IFloatingPoint{TSelf}.GetSignificandBitLength()" /> 864int IFloatingPoint<Decimal128>.GetSignificandBitLength() => 113; 866/// <inheritdoc cref="IFloatingPoint{TSelf}.GetSignificandByteCount()" /> 867int IFloatingPoint<Decimal128>.GetSignificandByteCount() => Unsafe.SizeOf<UInt128>(); 869/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteExponentBigEndian(Span{byte}, out int)" /> 870bool IFloatingPoint<Decimal128>.TryWriteExponentBigEndian(Span<byte> destination, out int bytesWritten) 882/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteExponentLittleEndian(Span{byte}, out int)" /> 883bool IFloatingPoint<Decimal128>.TryWriteExponentLittleEndian(Span<byte> destination, out int bytesWritten) 895/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteSignificandBigEndian(Span{byte}, out int)" /> 896bool IFloatingPoint<Decimal128>.TryWriteSignificandBigEndian(Span<byte> destination, out int bytesWritten) 908/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteSignificandLittleEndian(Span{byte}, out int)" /> 909bool IFloatingPoint<Decimal128>.TryWriteSignificandLittleEndian(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal32.cs (25)
827/// <inheritdoc cref="IFloatingPoint{TSelf}.Ceiling(TSelf)" /> 830/// <inheritdoc cref="IFloatingPoint{TSelf}.ConvertToInteger{TInteger}(TSelf)" /> 834/// <inheritdoc cref="IFloatingPoint{TSelf}.ConvertToIntegerNative{TInteger}(TSelf)" /> 838/// <inheritdoc cref="IFloatingPoint{TSelf}.Floor(TSelf)" /> 841/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf)" /> 844/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, int)" /> 847/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, MidpointRounding)" /> 850/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, int, MidpointRounding)" /> 853/// <inheritdoc cref="IFloatingPoint{TSelf}.Truncate(TSelf)" /> 856/// <inheritdoc cref="IFloatingPoint{TSelf}.GetExponentByteCount()" /> 857int IFloatingPoint<Decimal32>.GetExponentByteCount() => sizeof(int); 859/// <inheritdoc cref="IFloatingPoint{TSelf}.GetExponentShortestBitLength()" /> 860int IFloatingPoint<Decimal32>.GetExponentShortestBitLength() 874/// <inheritdoc cref="IFloatingPoint{TSelf}.GetSignificandBitLength()" /> 875int IFloatingPoint<Decimal32>.GetSignificandBitLength() => 24; 877/// <inheritdoc cref="IFloatingPoint{TSelf}.GetSignificandByteCount()" /> 878int IFloatingPoint<Decimal32>.GetSignificandByteCount() => sizeof(uint); 880/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteExponentBigEndian(Span{byte}, out int)" /> 881bool IFloatingPoint<Decimal32>.TryWriteExponentBigEndian(Span<byte> destination, out int bytesWritten) 893/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteExponentLittleEndian(Span{byte}, out int)" /> 894bool IFloatingPoint<Decimal32>.TryWriteExponentLittleEndian(Span<byte> destination, out int bytesWritten) 906/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteSignificandBigEndian(Span{byte}, out int)" /> 907bool IFloatingPoint<Decimal32>.TryWriteSignificandBigEndian(Span<byte> destination, out int bytesWritten) 919/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteSignificandLittleEndian(Span{byte}, out int)" /> 920bool IFloatingPoint<Decimal32>.TryWriteSignificandLittleEndian(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\Decimal64.cs (25)
820/// <inheritdoc cref="IFloatingPoint{TSelf}.Ceiling(TSelf)" /> 823/// <inheritdoc cref="IFloatingPoint{TSelf}.ConvertToInteger{TInteger}(TSelf)" /> 827/// <inheritdoc cref="IFloatingPoint{TSelf}.ConvertToIntegerNative{TInteger}(TSelf)" /> 831/// <inheritdoc cref="IFloatingPoint{TSelf}.Floor(TSelf)" /> 834/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf)" /> 837/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, int)" /> 840/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, MidpointRounding)" /> 843/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, int, MidpointRounding)" /> 846/// <inheritdoc cref="IFloatingPoint{TSelf}.Truncate(TSelf)" /> 849/// <inheritdoc cref="IFloatingPoint{TSelf}.GetExponentByteCount()" /> 850int IFloatingPoint<Decimal64>.GetExponentByteCount() => sizeof(int); 852/// <inheritdoc cref="IFloatingPoint{TSelf}.GetExponentShortestBitLength()" /> 853int IFloatingPoint<Decimal64>.GetExponentShortestBitLength() 867/// <inheritdoc cref="IFloatingPoint{TSelf}.GetSignificandBitLength()" /> 868int IFloatingPoint<Decimal64>.GetSignificandBitLength() => 54; 870/// <inheritdoc cref="IFloatingPoint{TSelf}.GetSignificandByteCount()" /> 871int IFloatingPoint<Decimal64>.GetSignificandByteCount() => sizeof(ulong); 873/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteExponentBigEndian(Span{byte}, out int)" /> 874bool IFloatingPoint<Decimal64>.TryWriteExponentBigEndian(Span<byte> destination, out int bytesWritten) 886/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteExponentLittleEndian(Span{byte}, out int)" /> 887bool IFloatingPoint<Decimal64>.TryWriteExponentLittleEndian(Span<byte> destination, out int bytesWritten) 899/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteSignificandBigEndian(Span{byte}, out int)" /> 900bool IFloatingPoint<Decimal64>.TryWriteSignificandBigEndian(Span<byte> destination, out int bytesWritten) 912/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteSignificandLittleEndian(Span{byte}, out int)" /> 913bool IFloatingPoint<Decimal64>.TryWriteSignificandLittleEndian(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IFloatingPoint.cs (1)
12where TSelf : IFloatingPoint<TSelf>?
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\INumber.cs (4)
81/// <remarks>For <see cref="IFloatingPoint{TSelf}" /> this method matches the IEEE 754:2019 <c>maximum</c> function. This requires NaN inputs to be propagated back to the caller and for <c>-0.0</c> to be treated as less than <c>+0.0</c>.</remarks> 116/// <remarks>For <see cref="IFloatingPoint{TSelf}" /> this method matches the IEEE 754:2019 <c>maximumNumber</c> function. This requires NaN inputs to not be propagated back to the caller and for <c>-0.0</c> to be treated as less than <c>+0.0</c>.</remarks> 142/// <remarks>For <see cref="IFloatingPoint{TSelf}" /> this method matches the IEEE 754:2019 <c>minimum</c> function. This requires NaN inputs to be propagated back to the caller and for <c>-0.0</c> to be treated as less than <c>+0.0</c>.</remarks> 177/// <remarks>For <see cref="IFloatingPoint{TSelf}" /> this method matches the IEEE 754:2019 <c>minimumNumber</c> function. This requires NaN inputs to not be propagated back to the caller and for <c>-0.0</c> to be treated as less than <c>+0.0</c>.</remarks>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\NFloat.cs (25)
979/// <inheritdoc cref="IFloatingPoint{TSelf}.Ceiling(TSelf)" /> 982/// <inheritdoc cref="IFloatingPoint{TSelf}.ConvertToInteger{TInteger}(TSelf)" /> 986/// <inheritdoc cref="IFloatingPoint{TSelf}.ConvertToIntegerNative{TInteger}(TSelf)" /> 990/// <inheritdoc cref="IFloatingPoint{TSelf}.Floor(TSelf)" /> 993/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf)" /> 996/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, int)" /> 999/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, MidpointRounding)" /> 1002/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, int, MidpointRounding)" /> 1005/// <inheritdoc cref="IFloatingPoint{TSelf}.Truncate(TSelf)" /> 1008/// <inheritdoc cref="IFloatingPoint{TSelf}.GetExponentByteCount()" /> 1009int IFloatingPoint<NFloat>.GetExponentByteCount() => sizeof(NativeExponentType); 1011/// <inheritdoc cref="IFloatingPoint{TSelf}.GetExponentShortestBitLength()" /> 1012int IFloatingPoint<NFloat>.GetExponentShortestBitLength() 1026/// <inheritdoc cref="IFloatingPoint{TSelf}.GetSignificandByteCount()" /> 1027int IFloatingPoint<NFloat>.GetSignificandByteCount() => sizeof(NativeSignificandType); 1029/// <inheritdoc cref="IFloatingPoint{TSelf}.GetSignificandBitLength()" /> 1030int IFloatingPoint<NFloat>.GetSignificandBitLength() 1039/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteExponentBigEndian(Span{byte}, out int)" /> 1040bool IFloatingPoint<NFloat>.TryWriteExponentBigEndian(Span<byte> destination, out int bytesWritten) 1045/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteExponentLittleEndian(Span{byte}, out int)" /> 1046bool IFloatingPoint<NFloat>.TryWriteExponentLittleEndian(Span<byte> destination, out int bytesWritten) 1051/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteSignificandBigEndian(Span{byte}, out int)" /> 1052bool IFloatingPoint<NFloat>.TryWriteSignificandBigEndian(Span<byte> destination, out int bytesWritten) 1057/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteSignificandLittleEndian(Span{byte}, out int)" /> 1058bool IFloatingPoint<NFloat>.TryWriteSignificandLittleEndian(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\Intrinsics\ISimdVector_2.cs (4)
564/// <remarks>For <see cref ="IFloatingPoint{T}" /> this method matches the IEEE 754:2019 <c>maximum</c> function.This requires NaN inputs to be propagated back to the caller and for <c>-0.0</c> to be treated as less than <c>+0.0</c>.</remarks> 595/// <remarks>For <see cref="IFloatingPoint{T}" /> this method matches the IEEE 754:2019 <c>maximumNumber</c> function. This requires NaN inputs to not be propagated back to the caller and for <c>-0.0</c> to be treated as less than <c>+0.0</c>.</remarks> 603/// <remarks>For <see cref ="IFloatingPoint{T}" /> this method matches the IEEE 754:2019 <c>minimum</c> function.This requires NaN inputs to be propagated back to the caller and for <c>-0.0</c> to be treated as less than <c>+0.0</c>.</remarks> 634/// <remarks>For <see cref="IFloatingPoint{T}" /> this method matches the IEEE 754:2019 <c>minimumNumber</c> function. This requires NaN inputs to not be propagated back to the caller and for <c>-0.0</c> to be treated as less than <c>+0.0</c>.</remarks>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Single.cs (25)
645/// <inheritdoc cref="IFloatingPoint{TSelf}.Ceiling(TSelf)" /> 649/// <inheritdoc cref="IFloatingPoint{TSelf}.ConvertToInteger{TInteger}(TSelf)" /> 654/// <inheritdoc cref="IFloatingPoint{TSelf}.ConvertToIntegerNative{TInteger}(TSelf)" /> 668/// <inheritdoc cref="IFloatingPoint{TSelf}.Floor(TSelf)" /> 672/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf)" /> 676/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, int)" /> 679/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, MidpointRounding)" /> 682/// <inheritdoc cref="IFloatingPoint{TSelf}.Round(TSelf, int, MidpointRounding)" /> 685/// <inheritdoc cref="IFloatingPoint{TSelf}.Truncate(TSelf)" /> 689/// <inheritdoc cref="IFloatingPoint{TSelf}.GetExponentByteCount()" /> 690int IFloatingPoint<float>.GetExponentByteCount() => sizeof(sbyte); 692/// <inheritdoc cref="IFloatingPoint{TSelf}.GetExponentShortestBitLength()" /> 693int IFloatingPoint<float>.GetExponentShortestBitLength() 707/// <inheritdoc cref="IFloatingPoint{TSelf}.GetSignificandByteCount()" /> 708int IFloatingPoint<float>.GetSignificandByteCount() => sizeof(uint); 710/// <inheritdoc cref="IFloatingPoint{TSelf}.GetSignificandBitLength()" /> 711int IFloatingPoint<float>.GetSignificandBitLength() => 24; 726/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteExponentBigEndian(Span{byte}, out int)" /> 727bool IFloatingPoint<float>.TryWriteExponentBigEndian(Span<byte> destination, out int bytesWritten) 745/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteExponentLittleEndian(Span{byte}, out int)" /> 746bool IFloatingPoint<float>.TryWriteExponentLittleEndian(Span<byte> destination, out int bytesWritten) 763/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteSignificandBigEndian(Span{byte}, out int)" /> 764bool IFloatingPoint<float>.TryWriteSignificandBigEndian(Span<byte> destination, out int bytesWritten) 781/// <inheritdoc cref="IFloatingPoint{TSelf}.TryWriteSignificandLittleEndian(Span{byte}, out int)" /> 782bool IFloatingPoint<float>.TryWriteSignificandLittleEndian(Span<byte> destination, out int bytesWritten)
System.Private.Windows.Core.TestUtilities (2)
ComparisonHelpers.cs (1)
20where T : struct, IFloatingPoint<T>
XUnit\FloatingPointToleranceComparerer.cs (1)
13where T : struct, IFloatingPoint<T>
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net11.0\System.Runtime.Forwards.cs (1)
394[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Numerics.IFloatingPoint<>))]