struct · System

UInt256

public struct System.UInt256 : System.INumber<u256>, System.IHashable<u256>, System.IComparable<u256>, System.IToString
Tipo
struct
Espacio de nombres
System
Ensamblado
System.Core
Acceso
public, miembros de u256
Archivo fuente
Primitives.ant

Herencia

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

Propiedades

static property Zero: u256
#

static read-only

static property One: u256
#

static read-only

Métodos

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

static

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

static

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

static

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

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

static

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

Constantes

static constant MinValue: u256
#

The smallest u256.

static constant MaxValue: u256
#

The largest u256.

Código fuente

UInt256 en Larva HIR, descompilado a partir de su Larva HIR.

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