struct · System

Int16

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

static read-only

static property One: i16
#

static read-only

static property NegativeOne: i16
#

static read-only

Methods

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

static

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

Constants

static constant MinValue: i16
#

The smallest i16.

static constant MaxValue: i16
#

The largest i16.

Source

Int16 as Larva HIR, decompiled from its Larva HIR.

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