struct · System

Int8

public struct System.Int8 : System.ISignedNumber<i8>, System.IHashable<i8>, System.IComparable<i8>, System.IToString
Kind
struct
Namespace
System
Assembly
System.Core
Access
public, members of i8
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: i8
#

static read-only

static property One: i8
#

static read-only

static property NegativeOne: i8
#

static read-only

Methods

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

static

static method ToF64(value: i8) -> 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: i8) -> bool
#
method CompareTo(other: i8) -> i32
#

Constants

static constant MinValue: i8
#

The smallest i8.

static constant MaxValue: i8
#

The largest i8.

Source

Int8 as Larva HIR, decompiled from its Larva HIR.

System.Int8.hir
public struct System.Int8 : System.ISignedNumber<i8>, System.IHashable<i8>, System.IComparable<i8>, System.IToString
{
    // The smallest i8.
    static constant MinValue: i8
    // The largest i8.
    static constant MaxValue: i8
    static method FromF64(value: f64) -> i8
    static method ToF64(value: i8) -> 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: i8) -> bool
    method CompareTo(other: i8) -> i32
    static property Zero: i8
    static property One: i8
    static property NegativeOne: i8
}
Esc