struct · System

UInt128

public struct System.UInt128 : System.INumber<u128>, System.IHashable<u128>, System.IComparable<u128>, System.IToString
Kind
struct
Namespace
System
Assembly
System.Core
Access
public, members of u128
Source file
Primitives.ant

Inheritance

Interfaces
INumber<TSelf> IHashable<TSelf> IComparable<TSelf> IToString

Properties

static property Zero: u128
#

static read-only

static property One: u128
#

static read-only

Methods

static method FromF64(value: f64) -> u128
#

static

static method ToF64(value: u128) -> f64
#

static

method ToString() -> System.String<u8>
#
method Hash() -> u64
#
method Equals(other: u128) -> bool
#
method CompareTo(other: u128) -> i32
#
static method Parse(text: System.String<u8>) -> u128
#

static

The integer text writes (decimal digits); a FormatError otherwise.

static method TryParse(text: System.String<u8>) -> u128?
#

static

The number text writes, or null when it writes none.

Constants

static constant MinValue: u128
#

The smallest u128.

static constant MaxValue: u128
#

The largest u128.

Source

UInt128 as Larva HIR, decompiled from its Larva HIR.

System.UInt128.hir
public struct System.UInt128 : System.INumber<u128>, System.IHashable<u128>, System.IComparable<u128>, System.IToString
{
    // The smallest u128.
    static constant MinValue: u128
    // The largest u128.
    static constant MaxValue: u128
    static method FromF64(value: f64) -> u128
    static method ToF64(value: u128) -> f64
    method ToString() -> System.String<u8>
    method Hash() -> u64
    method Equals(other: u128) -> bool
    method CompareTo(other: u128) -> i32
    // The integer `text` writes (decimal digits); a FormatError otherwise.
    static method Parse(text: System.String<u8>) -> u128
    // The number `text` writes, or null when it writes none.
    static method TryParse(text: System.String<u8>) -> u128?
    static property Zero: u128
    static property One: u128
}
Esc