Spec-Zone.ru › Pony

I128

[Source]

primitive val I128 is
  SignedInteger[I128 val, U128 val] val

Implements

  • SignedInteger[I128 val, U128 val] val

Constructors

create

[Source]

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

Parameters

  • value: I128 val

Returns

  • I128 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)]

[Source]

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)
: I128 val^

Parameters

  • a: A

Returns

  • I128 val^

min_value

[Source]

new val min_value()
: I128 val^

Returns

  • I128 val^

max_value

[Source]

new val max_value()
: I128 val^

Returns

  • I128 val^

Public Functions

abs

[Source]

fun box abs()
: U128 val

Returns

  • U128 val

bit_reverse

[Source]

fun box bit_reverse()
: I128 val

Returns

  • I128 val

bswap

[Source]

fun box bswap()
: I128 val

Returns

  • I128 val

popcount

[Source]

fun box popcount()
: U128 val

Returns

  • U128 val

clz

[Source]

fun box clz()
: U128 val

Returns

  • U128 val

ctz

[Source]

fun box ctz()
: U128 val

Returns

  • U128 val

clz_unsafe

[Source]

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

fun box clz_unsafe()
: U128 val

Returns

  • U128 val

ctz_unsafe

[Source]

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

fun box ctz_unsafe()
: U128 val

Returns

  • U128 val

bitwidth

[Source]

fun box bitwidth()
: U128 val

Returns

  • U128 val

bytewidth

[Source]

fun box bytewidth()
: USize val

Returns

  • USize val

min

[Source]

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

Parameters

  • y: I128 val

Returns

  • I128 val

max

[Source]

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

Parameters

  • y: I128 val

Returns

  • I128 val

fld

[Source]

fun box fld(
  y: I128 val)
: I128 val

Parameters

  • y: I128 val

Returns

  • I128 val

fld_unsafe

[Source]

fun box fld_unsafe(
  y: I128 val)
: I128 val

Parameters

  • y: I128 val

Returns

  • I128 val

mod

[Source]

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

Parameters

  • y: I128 val

Returns

  • I128 val

mod_unsafe

[Source]

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

Parameters

  • y: I128 val

Returns

  • I128 val

hash

[Source]

fun box hash()
: USize val

Returns

  • USize val

hash64

[Source]

fun box hash64()
: U64 val

Returns

  • U64 val

string

[Source]

fun box string()
: String iso^

Returns

  • String iso^

mul

[Source]

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

Parameters

  • y: I128 val

Returns

  • I128 val

divrem

[Source]

fun box divrem(
  y: I128 val)
: (I128 val , I128 val)

Parameters

  • y: I128 val

Returns

  • (I128 val , I128 val)

div

[Source]

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

Parameters

  • y: I128 val

Returns

  • I128 val

rem

[Source]

fun box rem(
  y: I128 val)
: I128 val

Parameters

  • y: I128 val

Returns

  • I128 val

mul_unsafe

[Source]

Unsafe operation. If the operation overflows, the result is undefined.

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

Parameters

  • y: I128 val

Returns

  • I128 val

divrem_unsafe

[Source]

Unsafe operation. If y is 0, the result is undefined. If the operation overflows, the result is undefined.

fun box divrem_unsafe(
  y: I128 val)
: (I128 val , I128 val)

Parameters

  • y: I128 val

Returns

  • (I128 val , I128 val)

div_unsafe

[Source]

Unsafe operation. If y is 0, the result is undefined. If the operation overflows, the result is undefined.

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

Parameters

  • y: I128 val

Returns

  • I128 val

rem_unsafe

[Source]

Unsafe operation. If y is 0, the result is undefined. If the operation overflows, the result is undefined.

fun box rem_unsafe(
  y: I128 val)
: I128 val

Parameters

  • y: I128 val

Returns

  • I128 val

f32

[Source]

fun box f32()
: F32 val

Returns

  • F32 val

f64

[Source]

fun box f64()
: F64 val

Returns

  • F64 val

f32_unsafe

[Source]

Unsafe operation. If the value doesn't fit in the destination type, the result is undefined.

fun box f32_unsafe()
: F32 val

Returns

  • F32 val

f64_unsafe

[Source]

Unsafe operation. If the value doesn't fit in the destination type, the result is undefined.

fun box f64_unsafe()
: F64 val

Returns

  • F64 val

addc

[Source]

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

Parameters

  • y: I128 val

Returns

  • (I128 val , Bool val)

subc

[Source]

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

Parameters

  • y: I128 val

Returns

  • (I128 val , Bool val)

mulc

[Source]

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

Parameters

  • y: I128 val

Returns

  • (I128 val , Bool val)

divc

[Source]

fun box divc(
  y: I128 val)
: (I128 val , Bool val)

Parameters

  • y: I128 val

Returns

  • (I128 val , Bool val)

remc

[Source]

fun box remc(
  y: I128 val)
: (I128 val , Bool val)

Parameters

  • y: I128 val

Returns

  • (I128 val , Bool val)

fldc

[Source]

fun box fldc(
  y: I128 val)
: (I128 val , Bool val)

Parameters

  • y: I128 val

Returns

  • (I128 val , Bool val)

modc

[Source]

fun box modc(
  y: I128 val)
: (I128 val , Bool val)

Parameters

  • y: I128 val

Returns

  • (I128 val , Bool val)

add_partial

[Source]

fun box add_partial(
  y: I128 val)
: I128 val ?

Parameters

  • y: I128 val

Returns

  • I128 val ?

sub_partial

[Source]

fun box sub_partial(
  y: I128 val)
: I128 val ?

Parameters

  • y: I128 val

Returns

  • I128 val ?

mul_partial

[Source]

fun box mul_partial(
  y: I128 val)
: I128 val ?

Parameters

  • y: I128 val

Returns

  • I128 val ?

div_partial

[Source]

fun box div_partial(
  y: I128 val)
: I128 val ?

Parameters

  • y: I128 val

Returns

  • I128 val ?

rem_partial

[Source]

fun box rem_partial(
  y: I128 val)
: I128 val ?

Parameters

  • y: I128 val

Returns

  • I128 val ?

divrem_partial

[Source]

fun box divrem_partial(
  y: I128 val)
: (I128 val , I128 val) ?

Parameters

  • y: I128 val

Returns

  • (I128 val , I128 val) ?

fld_partial

[Source]

fun box fld_partial(
  y: I128 val)
: I128 val ?

Parameters

  • y: I128 val

Returns

  • I128 val ?

mod_partial

[Source]

fun box mod_partial(
  y: I128 val)
: I128 val ?

Parameters

  • y: I128 val

Returns

  • I128 val ?

shl

fun box shl(
  y: U128 val)
: I128 val

Parameters

  • y: U128 val

Returns

  • I128 val

shr

fun box shr(
  y: U128 val)
: I128 val

Parameters

  • y: U128 val

Returns

  • I128 val

shl_unsafe

fun box shl_unsafe(
  y: U128 val)
: I128 val

Parameters

  • y: U128 val

Returns

  • I128 val

shr_unsafe

fun box shr_unsafe(
  y: U128 val)
: I128 val

Parameters

  • y: U128 val

Returns

  • I128 val

add_unsafe

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

Parameters

  • y: I128 val

Returns

  • I128 val

sub_unsafe

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

Parameters

  • y: I128 val

Returns

  • I128 val

neg_unsafe

fun box neg_unsafe()
: I128 val

Returns

  • I128 val

op_and

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

Parameters

  • y: I128 val

Returns

  • I128 val

op_or

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

Parameters

  • y: I128 val

Returns

  • I128 val

op_xor

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

Parameters

  • y: I128 val

Returns

  • I128 val

op_not

fun box op_not()
: I128 val

Returns

  • I128 val

add

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

Parameters

  • y: I128 val

Returns

  • I128 val

sub

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

Parameters

  • y: I128 val

Returns

  • I128 val

neg

fun box neg()
: I128 val

Returns

  • I128 val

eq

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

Parameters

  • y: I128 val

Returns

  • Bool val

ne

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

Parameters

  • y: I128 val

Returns

  • Bool val

lt

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

Parameters

  • y: I128 val

Returns

  • Bool val

le

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

Parameters

  • y: I128 val

Returns

  • Bool val

ge

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

Parameters

  • y: I128 val

Returns

  • Bool val

gt

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

Parameters

  • y: I128 val

Returns

  • Bool val

i8

fun box i8()
: I8 val

Returns

  • I8 val

i16

fun box i16()
: I16 val

Returns

  • I16 val

i32

fun box i32()
: I32 val

Returns

  • I32 val

i64

fun box i64()
: I64 val

Returns

  • I64 val

i128

fun box i128()
: I128 val

Returns

  • I128 val

ilong

fun box ilong()
: ILong val

Returns

  • ILong val

isize

fun box isize()
: ISize val

Returns

  • ISize val

u8

fun box u8()
: U8 val

Returns

  • U8 val

u16

fun box u16()
: U16 val

Returns

  • U16 val

u32

fun box u32()
: U32 val

Returns

  • U32 val

u64

fun box u64()
: U64 val

Returns

  • U64 val

u128

fun box u128()
: U128 val

Returns

  • U128 val

ulong

fun box ulong()
: ULong val

Returns

  • ULong val

usize

fun box usize()
: USize val

Returns

  • USize val

i8_unsafe

fun box i8_unsafe()
: I8 val

Returns

  • I8 val

i16_unsafe

fun box i16_unsafe()
: I16 val

Returns

  • I16 val

i32_unsafe

fun box i32_unsafe()
: I32 val

Returns

  • I32 val

i64_unsafe

fun box i64_unsafe()
: I64 val

Returns

  • I64 val

i128_unsafe

fun box i128_unsafe()
: I128 val

Returns

  • I128 val

ilong_unsafe

fun box ilong_unsafe()
: ILong val

Returns

  • ILong val

isize_unsafe

fun box isize_unsafe()
: ISize val

Returns

  • ISize val

u8_unsafe

fun box u8_unsafe()
: U8 val

Returns

  • U8 val

u16_unsafe

fun box u16_unsafe()
: U16 val

Returns

  • U16 val

u32_unsafe

fun box u32_unsafe()
: U32 val

Returns

  • U32 val

u64_unsafe

fun box u64_unsafe()
: U64 val

Returns

  • U64 val

u128_unsafe

fun box u128_unsafe()
: U128 val

Returns

  • U128 val

ulong_unsafe

fun box ulong_unsafe()
: ULong val

Returns

  • ULong val

usize_unsafe

fun box usize_unsafe()
: USize val

Returns

  • USize val

compare

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

Parameters

  • that: I128 val

Returns

  • (Less val | Equal val | Greater val)

© 2016-2020, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/builtin-I128

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API