I8 [Src]

primitive val I8 is
  _SignedInteger[I8 val, U8 val] val

Implements

  • _SignedInteger[I8 val, U8 val] val

Constructors

create [Src]

new val create(
  value: I8 val)
: I8 val^

Parameters

  • value: I8 val

Returns


from [Src] [A: ((I8 val | I16 val | I32 val | I64 val | I128 val | ILong val | ISize val | U8 val | U16 val | U32 val | U64 val | U128 val | ULong val | USize val | F32 val | F64 val) & Real[A] val)]

new val from[A: ((I8 val | I16 val | I32 val | 
    I64 val | I128 val | ILong val | 
    ISize val | U8 val | U16 val | 
    U32 val | U64 val | U128 val | 
    ULong val | USize val | F32 val | 
    F64 val) & Real[A] val)](
  a: A)
: I8 val^

Parameters

  • a: A

Returns


min_value [Src]

new val min_value()
: I8 val^

Returns


max_value [Src]

new val max_value()
: I8 val^

Returns


Public Functions

abs [Src]

fun box abs()
: U8 val

Returns


bswap [Src]

fun box bswap()
: I8 val

Returns


popcount [Src]

fun box popcount()
: U8 val

Returns


clz [Src]

fun box clz()
: U8 val

Returns


ctz [Src]

fun box ctz()
: U8 val

Returns


clz_unsafe [Src]

Unsafe operation. If this is 0, the result is undefined.

fun box clz_unsafe()
: U8 val

Returns


ctz_unsafe [Src]

Unsafe operation. If this is 0, the result is undefined.

fun box ctz_unsafe()
: U8 val

Returns


bitwidth [Src]

fun box bitwidth()
: U8 val

Returns


min [Src]

fun box min(
  y: I8 val)
: I8 val

Parameters

  • y: I8 val

Returns


max [Src]

fun box max(
  y: I8 val)
: I8 val

Parameters

  • y: I8 val

Returns


addc [Src]

fun box addc(
  y: I8 val)
: (I8 val , Bool val)

Parameters

  • y: I8 val

Returns


subc [Src]

fun box subc(
  y: I8 val)
: (I8 val , Bool val)

Parameters

  • y: I8 val

Returns


mulc [Src]

fun box mulc(
  y: I8 val)
: (I8 val , Bool val)

Parameters

  • y: I8 val

Returns


shl

fun box shl(
  y: U8 val)
: I8 val

Parameters

  • y: U8 val

Returns


shr

fun box shr(
  y: U8 val)
: I8 val

Parameters

  • y: U8 val

Returns


shl_unsafe

fun box shl_unsafe(
  y: U8 val)
: I8 val

Parameters

  • y: U8 val

Returns


shr_unsafe

fun box shr_unsafe(
  y: U8 val)
: I8 val

Parameters

  • y: U8 val

Returns


string

fun box string()
: String iso^

Returns


add_unsafe

fun box add_unsafe(
  y: I8 val)
: I8 val

Parameters

  • y: I8 val

Returns


sub_unsafe

fun box sub_unsafe(
  y: I8 val)
: I8 val

Parameters

  • y: I8 val

Returns


mul_unsafe

fun box mul_unsafe(
  y: I8 val)
: I8 val

Parameters

  • y: I8 val

Returns


div_unsafe

fun box div_unsafe(
  y: I8 val)
: I8 val

Parameters

  • y: I8 val

Returns


divmod_unsafe

fun box divmod_unsafe(
  y: I8 val)
: (I8 val , I8 val)

Parameters

  • y: I8 val

Returns


mod_unsafe

fun box mod_unsafe(
  y: I8 val)
: I8 val

Parameters

  • y: I8 val

Returns


neg_unsafe

fun box neg_unsafe()
: I8 val

Returns


op_and

fun box op_and(
  y: I8 val)
: I8 val

Parameters

  • y: I8 val

Returns


op_or

fun box op_or(
  y: I8 val)
: I8 val

Parameters

  • y: I8 val

Returns


op_xor

fun box op_xor(
  y: I8 val)
: I8 val

Parameters

  • y: I8 val

Returns


op_not

fun box op_not()
: I8 val

Returns


add

fun box add(
  y: I8 val)
: I8 val

Parameters

  • y: I8 val

Returns


sub

fun box sub(
  y: I8 val)
: I8 val

Parameters

  • y: I8 val

Returns


mul

fun box mul(
  y: I8 val)
: I8 val

Parameters

  • y: I8 val

Returns


div

fun box div(
  y: I8 val)
: I8 val

Parameters

  • y: I8 val

Returns


divmod

fun box divmod(
  y: I8 val)
: (I8 val , I8 val)

Parameters

  • y: I8 val

Returns


mod

fun box mod(
  y: I8 val)
: I8 val

Parameters

  • y: I8 val

Returns


neg

fun box neg()
: I8 val

Returns


eq

fun box eq(
  y: I8 val)
: Bool val

Parameters

  • y: I8 val

Returns


ne

fun box ne(
  y: I8 val)
: Bool val

Parameters

  • y: I8 val

Returns


lt

fun box lt(
  y: I8 val)
: Bool val

Parameters

  • y: I8 val

Returns


le

fun box le(
  y: I8 val)
: Bool val

Parameters

  • y: I8 val

Returns


ge

fun box ge(
  y: I8 val)
: Bool val

Parameters

  • y: I8 val

Returns


gt

fun box gt(
  y: I8 val)
: Bool val

Parameters

  • y: I8 val

Returns


hash

fun box hash()
: U64 val

Returns


i8

fun box i8()
: I8 val

Returns


i16

fun box i16()
: I16 val

Returns


i32

fun box i32()
: I32 val

Returns


i64

fun box i64()
: I64 val

Returns


i128

fun box i128()
: I128 val

Returns


ilong

fun box ilong()
: ILong val

Returns


isize

fun box isize()
: ISize val

Returns


u8

fun box u8()
: U8 val

Returns


u16

fun box u16()
: U16 val

Returns


u32

fun box u32()
: U32 val

Returns


u64

fun box u64()
: U64 val

Returns


u128

fun box u128()
: U128 val

Returns


ulong

fun box ulong()
: ULong val

Returns


usize

fun box usize()
: USize val

Returns


f32

fun box f32()
: F32 val

Returns


f64

fun box f64()
: F64 val

Returns


i8_unsafe

fun box i8_unsafe()
: I8 val

Returns


i16_unsafe

fun box i16_unsafe()
: I16 val

Returns


i32_unsafe

fun box i32_unsafe()
: I32 val

Returns


i64_unsafe

fun box i64_unsafe()
: I64 val

Returns


i128_unsafe

fun box i128_unsafe()
: I128 val

Returns


ilong_unsafe

fun box ilong_unsafe()
: ILong val

Returns


isize_unsafe

fun box isize_unsafe()
: ISize val

Returns


u8_unsafe

fun box u8_unsafe()
: U8 val

Returns


u16_unsafe

fun box u16_unsafe()
: U16 val

Returns


u32_unsafe

fun box u32_unsafe()
: U32 val

Returns


u64_unsafe

fun box u64_unsafe()
: U64 val

Returns


u128_unsafe

fun box u128_unsafe()
: U128 val

Returns


ulong_unsafe

fun box ulong_unsafe()
: ULong val

Returns


usize_unsafe

fun box usize_unsafe()
: USize val

Returns


f32_unsafe

fun box f32_unsafe()
: F32 val

Returns


f64_unsafe

fun box f64_unsafe()
: F64 val

Returns


compare

fun box compare(
  that: I8 val)
: (Less val | Equal val | Greater val)

Parameters

  • that: I8 val

Returns