struct · System

Int128

public struct System.Int128 : System.ISignedNumber<i128>, System.IHashable<i128>, System.IComparable<i128>, System.IToString
Tipo
struct
Espacio de nombres
System
Ensamblado
System.Core
Acceso
public, miembros de i128
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: i128
#

static read-only

static property One: i128
#

static read-only

static property NegativeOne: i128
#

static read-only

Métodos

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

static

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

static

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

static

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

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

static

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

Constantes

static constant MinValue: i128
#

The smallest i128.

static constant MaxValue: i128
#

The largest i128.

Código fuente

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

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