struct · System

Int256

public struct System.Int256 : System.ISignedNumber<i256>, System.IHashable<i256>, System.IComparable<i256>, System.IToString
Tipo
struct
Espacio de nombres
System
Ensamblado
System.Core
Acceso
public, miembros de i256
Archivo fuente
Primitives.ant

Herencia

Interfaces
ISignedNumber<TSelf> IHashable<TSelf> IComparable<TSelf> IToString
Todas las interfaces
IComparable<TSelf> IHashable<TSelf> INumber<TSelf> ISignedNumber<TSelf> IToString

Propiedades

static property Zero: i256
#

static read-only

static property One: i256
#

static read-only

static property NegativeOne: i256
#

static read-only

Métodos

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

static

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

static

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

static

The integer text writes (an optional '-', then decimal digits); a FormatError otherwise.

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

static

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

Constantes

static constant MinValue: i256
#

The smallest i256.

static constant MaxValue: i256
#

The largest i256.

Código fuente

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

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