struct · System

Int64

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

static read-only

static property One: i64
#

static read-only

static property NegativeOne: i64
#

static read-only

Métodos

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

static

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

static

method ToString(format: System.String<u8>) -> System.String<u8>
#

As text by a format: D, X, B, N, F, E, P, G and a precision (255.ToString("X4") is "00FF").

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

static

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

static

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

Constantes

static constant MinValue: i64
#

The smallest i64.

static constant MaxValue: i64
#

The largest i64.

Código fuente

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

System.Int64.hir
public struct System.Int64 : System.ISignedNumber<i64>, System.IHashable<i64>, System.IComparable<i64>, System.IToString
{
    // The smallest i64.
    static constant MinValue: i64
    // The largest i64.
    static constant MaxValue: i64
    static method FromF64(value: f64) -> i64
    static method ToF64(value: i64) -> f64
    // As text by a format: D, X, B, N, F, E, P, G and a precision (`255.ToString("X4")` is "00FF").
    method ToString(format: System.String<u8>) -> System.String<u8>
    method ToString() -> System.String<u8>
    method Hash() -> u64
    method Equals(other: i64) -> bool
    method CompareTo(other: i64) -> i32
    static method Parse(text: System.String<u8>) -> i64
    // The number `text` writes, or null when it writes none.
    static method TryParse(text: System.String<u8>) -> i64?
    static property Zero: i64
    static property One: i64
    static property NegativeOne: i64
}
Esc