struct · System

UInt256

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

Inheritance

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

Properties

static property Zero: u256
#

static read-only

static property One: u256
#

static read-only

Methods

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.

Constants

static constant MinValue: u256
#

The smallest u256.

static constant MaxValue: u256
#

The largest u256.

Source

UInt256 as Larva HIR, decompiled from its 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