value · System
UInt64
public value UInt64 : INumber<u64>, IHashable<u64>, IComparable<u64>, IToString
- Kind
- value
- Namespace
- System
- Assembly
- System.Core
- Access
- public, members of u64
- Source file
Primitives.ant
Inheritance
Properties
Methods
ToString(str format) : str
#
As text by a format: D, X, B, N, F, E, P, G and a precision (255.ToString("X4") is "00FF").
ToString() : str
#
Constants
The smallest u64.
The largest u64.
Source
UInt64 as Antril, decompiled from its Larva HIR.
// System.UInt64 — System.Core (decompiled from Larva HIR)
into namespace System
{
[Primitive("u64")]
public value UInt64 : INumber<u64>, IHashable<u64>, IComparable<u64>, IToString
{
public:
/// The smallest u64.
const u64 MinValue = 0;
/// The largest u64.
const u64 MaxValue = 18446744073709551615;
[Inline]
static FromF64(f64 value) : u64 => (u64)value;
[Inline]
static ToF64(u64 value) : f64 => value;
/// As text by a format: D, X, B, N, F, E, P, G and a precision (`255.ToString("X4")` is "00FF").
ToString(str format) : str => NumberFormat.FormatInteger(this, 64, false, format);
ToString() : str => Number.FormatUnsigned(this);
Hash() : u64 => this;
Equals(u64 other) : bool => this == other;
CompareTo(u64 other) : i32 => this < other ? -1 : this > other ? 1 : 0;
static u64 Zero
{
get => 0;
}
static u64 One
{
get => 1;
}
}
}