public static Half NaN => new Half(NegativeQNaNBits); // 0.0 / 0.0
- /// <inheritdoc cref="INumber{TSelf}.Min(TSelf, TSelf)" />
+ /// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" />
public static Half MinValue => new Half(MinValueBits); // -65504
- /// <inheritdoc cref="INumber{TSelf}.Max(TSelf, TSelf)" />
+ /// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" />
public static Half MaxValue => new Half(MaxValueBits); // 65504
private readonly ushort _value;
[NonVersionable]
public unsafe void* ToPointer() => _value;
- /// <inheritdoc cref="INumber{TSelf}.Max(TSelf, TSelf)" />
+ /// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" />
public static IntPtr MaxValue
{
[NonVersionable]
get => (IntPtr)nint_t.MaxValue;
}
- /// <inheritdoc cref="INumber{TSelf}.Min(TSelf, TSelf)" />
+ /// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" />
public static IntPtr MinValue
{
[NonVersionable]
using System.Diagnostics.CodeAnalysis;
using System.Numerics;
using System.Globalization;
-using System.Runtime.Versioning;
namespace System
{
/// <summary>
/// Represents the smallest possible value of TimeOnly.
/// </summary>
- /// <inheritdoc cref="INumber{TSelf}.Min(TSelf, TSelf)" />
public static TimeOnly MinValue => new TimeOnly((ulong)MinTimeTicks);
/// <summary>
/// Represents the largest possible value of TimeOnly.
/// </summary>
- /// <inheritdoc cref="INumber{TSelf}.Max(TSelf, TSelf)" />
public static TimeOnly MaxValue => new TimeOnly((ulong)MaxTimeTicks);
/// <summary>
[NonVersionable]
public unsafe void* ToPointer() => _value;
- /// <inheritdoc cref="INumber{TSelf}.Max(TSelf, TSelf)" />
+ /// <inheritdoc cref="IMinMaxValue{TSelf}.MaxValue" />
public static UIntPtr MaxValue
{
[NonVersionable]
get => (UIntPtr)nuint_t.MaxValue;
}
- /// <inheritdoc cref="INumber{TSelf}.Min(TSelf, TSelf)" />
+ /// <inheritdoc cref="IMinMaxValue{TSelf}.MinValue" />
public static UIntPtr MinValue
{
[NonVersionable]