struct · System

Int128

public struct System.Int128 : System.ISignedNumber<i128>, System.IHashable<i128>, System.IComparable<i128>, System.IToString
Kind
struct
Namespace
System
Assembly
System.Core
Access
public, members of i128
Source file
Primitives.ant

Inheritance

Interfaces
ISignedNumber<TSelf> IHashable<TSelf> IComparable<TSelf> IToString
All interfaces
IComparable<TSelf> IHashable<TSelf> INumber<TSelf> ISignedNumber<TSelf> IToString

Properties

static property Zero: i128
#

static read-only

static property One: i128
#

static read-only

static property NegativeOne: i128
#

static read-only

Methods

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.

Constants

static constant MinValue: i128
#

The smallest i128.

static constant MaxValue: i128
#

The largest i128.

Source

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