1 interface inheriting from IFloatingPoint
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IFloatingPointIeee754.cs (1)
10
IFloatingPoint
<TSelf>,
1 implementation of IFloatingPoint
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Decimal.cs (1)
70
IFloatingPoint
<decimal>,
270 references to IFloatingPoint
System.Numerics.Tensors (42)
System\Numerics\Tensors\netcore\Tensor.cs (18)
373
public static ref readonly TensorSpan<T> FillGaussianNormalDistribution<T>(in TensorSpan<T> destination, Random? random = null) where T :
IFloatingPoint
<T>
411
public static ref readonly TensorSpan<T> FillUniformDistribution<T>(in TensorSpan<T> destination, Random? random = null) where T :
IFloatingPoint
<T>
2999
where T :
IFloatingPoint
<T>
3012
where T :
IFloatingPoint
<T>
3495
where T :
IFloatingPoint
<T>
3506
where T :
IFloatingPoint
<T>
4654
where T :
IFloatingPoint
<T>
4665
where T :
IFloatingPoint
<T>
4756
where T :
IFloatingPoint
<T>
4767
where T :
IFloatingPoint
<T>
4779
where T :
IFloatingPoint
<T>
4792
where T :
IFloatingPoint
<T>
4803
where T :
IFloatingPoint
<T>
4815
where T :
IFloatingPoint
<T>
4826
where T :
IFloatingPoint
<T>
4838
where T :
IFloatingPoint
<T>
5141
where T :
IFloatingPoint
<T>
5152
where T :
IFloatingPoint
<T>
System\Numerics\Tensors\netcore\TensorOperation.cs (5)
819
where T :
IFloatingPoint
<T>
1146
where T :
IFloatingPoint
<T>
1804
where T :
IFloatingPoint
<T>
1863
where T :
IFloatingPoint
<T>
2223
where T :
IFloatingPoint
<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Ceiling.cs (2)
22
where T :
IFloatingPoint
<T>
32
private readonly struct CeilingOperator<T> : IUnaryOperator<T, T> where T :
IFloatingPoint
<T>
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertToInteger.cs (2)
23
where TFrom :
IFloatingPoint
<TFrom>
29
where TFrom :
IFloatingPoint
<TFrom>
System\Numerics\Tensors\netcore\TensorPrimitives.ConvertToIntegerNative.cs (2)
23
where TFrom :
IFloatingPoint
<TFrom>
29
where TFrom :
IFloatingPoint
<TFrom>
System\Numerics\Tensors\netcore\TensorPrimitives.Floor.cs (2)
22
where T :
IFloatingPoint
<T>
32
private readonly struct FloorOperator<T> : IUnaryOperator<T, T> where T :
IFloatingPoint
<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Reciprocal.cs (2)
24
where T :
IFloatingPoint
<T>
100
private readonly struct ReciprocalOperator<T> : IUnaryOperator<T, T> where T :
IFloatingPoint
<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Round.cs (7)
23
where T :
IFloatingPoint
<T>
45
where T :
IFloatingPoint
<T>
90
public static void Round<T>(ReadOnlySpan<T> x, int digits, Span<T> destination) where T :
IFloatingPoint
<T> =>
108
where T :
IFloatingPoint
<T>
134
private readonly struct RoundToEvenOperator<T> : IUnaryOperator<T, T> where T :
IFloatingPoint
<T>
187
private readonly struct RoundAwayFromZeroOperator<T> : IUnaryOperator<T, T> where T :
IFloatingPoint
<T>
245
where T :
IFloatingPoint
<T>
System\Numerics\Tensors\netcore\TensorPrimitives.Truncate.cs (2)
24
where T :
IFloatingPoint
<T>
34
private 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()" />
1124
int
IFloatingPoint
<decimal>.GetExponentByteCount() => sizeof(sbyte);
1126
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetExponentShortestBitLength()" />
1127
int
IFloatingPoint
<decimal>.GetExponentShortestBitLength()
1133
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetSignificandByteCount()" />
1134
int
IFloatingPoint
<decimal>.GetSignificandByteCount() => sizeof(ulong) + sizeof(uint);
1136
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetSignificandBitLength()" />
1137
int
IFloatingPoint
<decimal>.GetSignificandBitLength() => 96;
1139
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteExponentBigEndian(Span{byte}, out int)" />
1140
bool
IFloatingPoint
<decimal>.TryWriteExponentBigEndian(Span<byte> destination, out int bytesWritten)
1153
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteExponentLittleEndian(Span{byte}, out int)" />
1154
bool
IFloatingPoint
<decimal>.TryWriteExponentLittleEndian(Span<byte> destination, out int bytesWritten)
1167
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteSignificandBigEndian(Span{byte}, out int)" />
1168
bool
IFloatingPoint
<decimal>.TryWriteSignificandBigEndian(Span<byte> destination, out int bytesWritten)
1184
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteSignificandLittleEndian(Span{byte}, out int)" />
1185
bool
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()" />
697
int
IFloatingPoint
<double>.GetExponentByteCount() => sizeof(short);
699
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetExponentShortestBitLength()" />
700
int
IFloatingPoint
<double>.GetExponentShortestBitLength()
714
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetSignificandByteCount()" />
715
int
IFloatingPoint
<double>.GetSignificandByteCount() => sizeof(ulong);
717
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetSignificandBitLength()" />
718
int
IFloatingPoint
<double>.GetSignificandBitLength() => 53;
732
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteExponentBigEndian(Span{byte}, out int)" />
733
bool
IFloatingPoint
<double>.TryWriteExponentBigEndian(Span<byte> destination, out int bytesWritten)
750
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteExponentLittleEndian(Span{byte}, out int)" />
751
bool
IFloatingPoint
<double>.TryWriteExponentLittleEndian(Span<byte> destination, out int bytesWritten)
768
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteSignificandBigEndian(Span{byte}, out int)" />
769
bool
IFloatingPoint
<double>.TryWriteSignificandBigEndian(Span<byte> destination, out int bytesWritten)
786
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteSignificandLittleEndian(Span{byte}, out int)" />
787
bool
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()" />
1378
int
IFloatingPoint
<Half>.GetExponentByteCount() => sizeof(sbyte);
1380
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetExponentShortestBitLength()" />
1381
int
IFloatingPoint
<Half>.GetExponentShortestBitLength()
1395
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetSignificandByteCount()" />
1396
int
IFloatingPoint
<Half>.GetSignificandByteCount() => sizeof(ushort);
1398
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetSignificandBitLength()" />
1399
int
IFloatingPoint
<Half>.GetSignificandBitLength() => SignificandLength;
1401
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteExponentBigEndian(Span{byte}, out int)" />
1402
bool
IFloatingPoint
<Half>.TryWriteExponentBigEndian(Span<byte> destination, out int bytesWritten)
1415
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteExponentLittleEndian(Span{byte}, out int)" />
1416
bool
IFloatingPoint
<Half>.TryWriteExponentLittleEndian(Span<byte> destination, out int bytesWritten)
1429
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteSignificandBigEndian(Span{byte}, out int)" />
1430
bool
IFloatingPoint
<Half>.TryWriteSignificandBigEndian(Span<byte> destination, out int bytesWritten)
1442
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteSignificandLittleEndian(Span{byte}, out int)" />
1443
bool
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()" />
995
int
IFloatingPoint
<BFloat16>.GetExponentByteCount() => sizeof(sbyte);
997
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetExponentShortestBitLength()" />
998
int
IFloatingPoint
<BFloat16>.GetExponentShortestBitLength()
1012
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetSignificandByteCount()" />
1013
int
IFloatingPoint
<BFloat16>.GetSignificandByteCount() => sizeof(byte);
1015
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetSignificandBitLength()" />
1016
int
IFloatingPoint
<BFloat16>.GetSignificandBitLength() => SignificandLength;
1018
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteExponentBigEndian(Span{byte}, out int)" />
1019
bool
IFloatingPoint
<BFloat16>.TryWriteExponentBigEndian(Span<byte> destination, out int bytesWritten)
1032
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteExponentLittleEndian(Span{byte}, out int)" />
1033
bool
IFloatingPoint
<BFloat16>.TryWriteExponentLittleEndian(Span<byte> destination, out int bytesWritten)
1046
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteSignificandBigEndian(Span{byte}, out int)" />
1047
bool
IFloatingPoint
<BFloat16>.TryWriteSignificandBigEndian(Span<byte> destination, out int bytesWritten)
1060
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteSignificandLittleEndian(Span{byte}, out int)" />
1061
bool
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()" />
846
int
IFloatingPoint
<Decimal128>.GetExponentByteCount() => sizeof(int);
848
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetExponentShortestBitLength()" />
849
int
IFloatingPoint
<Decimal128>.GetExponentShortestBitLength()
863
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetSignificandBitLength()" />
864
int
IFloatingPoint
<Decimal128>.GetSignificandBitLength() => 113;
866
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetSignificandByteCount()" />
867
int
IFloatingPoint
<Decimal128>.GetSignificandByteCount() => Unsafe.SizeOf<UInt128>();
869
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteExponentBigEndian(Span{byte}, out int)" />
870
bool
IFloatingPoint
<Decimal128>.TryWriteExponentBigEndian(Span<byte> destination, out int bytesWritten)
882
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteExponentLittleEndian(Span{byte}, out int)" />
883
bool
IFloatingPoint
<Decimal128>.TryWriteExponentLittleEndian(Span<byte> destination, out int bytesWritten)
895
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteSignificandBigEndian(Span{byte}, out int)" />
896
bool
IFloatingPoint
<Decimal128>.TryWriteSignificandBigEndian(Span<byte> destination, out int bytesWritten)
908
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteSignificandLittleEndian(Span{byte}, out int)" />
909
bool
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()" />
857
int
IFloatingPoint
<Decimal32>.GetExponentByteCount() => sizeof(int);
859
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetExponentShortestBitLength()" />
860
int
IFloatingPoint
<Decimal32>.GetExponentShortestBitLength()
874
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetSignificandBitLength()" />
875
int
IFloatingPoint
<Decimal32>.GetSignificandBitLength() => 24;
877
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetSignificandByteCount()" />
878
int
IFloatingPoint
<Decimal32>.GetSignificandByteCount() => sizeof(uint);
880
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteExponentBigEndian(Span{byte}, out int)" />
881
bool
IFloatingPoint
<Decimal32>.TryWriteExponentBigEndian(Span<byte> destination, out int bytesWritten)
893
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteExponentLittleEndian(Span{byte}, out int)" />
894
bool
IFloatingPoint
<Decimal32>.TryWriteExponentLittleEndian(Span<byte> destination, out int bytesWritten)
906
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteSignificandBigEndian(Span{byte}, out int)" />
907
bool
IFloatingPoint
<Decimal32>.TryWriteSignificandBigEndian(Span<byte> destination, out int bytesWritten)
919
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteSignificandLittleEndian(Span{byte}, out int)" />
920
bool
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()" />
850
int
IFloatingPoint
<Decimal64>.GetExponentByteCount() => sizeof(int);
852
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetExponentShortestBitLength()" />
853
int
IFloatingPoint
<Decimal64>.GetExponentShortestBitLength()
867
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetSignificandBitLength()" />
868
int
IFloatingPoint
<Decimal64>.GetSignificandBitLength() => 54;
870
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetSignificandByteCount()" />
871
int
IFloatingPoint
<Decimal64>.GetSignificandByteCount() => sizeof(ulong);
873
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteExponentBigEndian(Span{byte}, out int)" />
874
bool
IFloatingPoint
<Decimal64>.TryWriteExponentBigEndian(Span<byte> destination, out int bytesWritten)
886
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteExponentLittleEndian(Span{byte}, out int)" />
887
bool
IFloatingPoint
<Decimal64>.TryWriteExponentLittleEndian(Span<byte> destination, out int bytesWritten)
899
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteSignificandBigEndian(Span{byte}, out int)" />
900
bool
IFloatingPoint
<Decimal64>.TryWriteSignificandBigEndian(Span<byte> destination, out int bytesWritten)
912
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteSignificandLittleEndian(Span{byte}, out int)" />
913
bool
IFloatingPoint
<Decimal64>.TryWriteSignificandLittleEndian(Span<byte> destination, out int bytesWritten)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Numerics\IFloatingPoint.cs (1)
12
where 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()" />
1009
int
IFloatingPoint
<NFloat>.GetExponentByteCount() => sizeof(NativeExponentType);
1011
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetExponentShortestBitLength()" />
1012
int
IFloatingPoint
<NFloat>.GetExponentShortestBitLength()
1026
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetSignificandByteCount()" />
1027
int
IFloatingPoint
<NFloat>.GetSignificandByteCount() => sizeof(NativeSignificandType);
1029
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetSignificandBitLength()" />
1030
int
IFloatingPoint
<NFloat>.GetSignificandBitLength()
1039
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteExponentBigEndian(Span{byte}, out int)" />
1040
bool
IFloatingPoint
<NFloat>.TryWriteExponentBigEndian(Span<byte> destination, out int bytesWritten)
1045
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteExponentLittleEndian(Span{byte}, out int)" />
1046
bool
IFloatingPoint
<NFloat>.TryWriteExponentLittleEndian(Span<byte> destination, out int bytesWritten)
1051
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteSignificandBigEndian(Span{byte}, out int)" />
1052
bool
IFloatingPoint
<NFloat>.TryWriteSignificandBigEndian(Span<byte> destination, out int bytesWritten)
1057
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteSignificandLittleEndian(Span{byte}, out int)" />
1058
bool
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()" />
690
int
IFloatingPoint
<float>.GetExponentByteCount() => sizeof(sbyte);
692
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetExponentShortestBitLength()" />
693
int
IFloatingPoint
<float>.GetExponentShortestBitLength()
707
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetSignificandByteCount()" />
708
int
IFloatingPoint
<float>.GetSignificandByteCount() => sizeof(uint);
710
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.GetSignificandBitLength()" />
711
int
IFloatingPoint
<float>.GetSignificandBitLength() => 24;
726
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteExponentBigEndian(Span{byte}, out int)" />
727
bool
IFloatingPoint
<float>.TryWriteExponentBigEndian(Span<byte> destination, out int bytesWritten)
745
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteExponentLittleEndian(Span{byte}, out int)" />
746
bool
IFloatingPoint
<float>.TryWriteExponentLittleEndian(Span<byte> destination, out int bytesWritten)
763
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteSignificandBigEndian(Span{byte}, out int)" />
764
bool
IFloatingPoint
<float>.TryWriteSignificandBigEndian(Span<byte> destination, out int bytesWritten)
781
/// <inheritdoc cref="
IFloatingPoint
{TSelf}.TryWriteSignificandLittleEndian(Span{byte}, out int)" />
782
bool
IFloatingPoint
<float>.TryWriteSignificandLittleEndian(Span<byte> destination, out int bytesWritten)
System.Private.Windows.Core.TestUtilities (2)
ComparisonHelpers.cs (1)
20
where T : struct,
IFloatingPoint
<T>
XUnit\FloatingPointToleranceComparerer.cs (1)
13
where 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
<>))]