I64
primitive val I64 is SignedInteger[I64 val, U64 val] val
Implements
- SignedInteger[I64 val, U64 val] val
Constructors
create
new val create( value: I64 val) : I64 val^
Parameters
- value: I64 val
Returns
- I64 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)]
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) : I64 val^
Parameters
- a: A
Returns
- I64 val^
min_value
new val min_value() : I64 val^
Returns
- I64 val^
max_value
new val max_value() : I64 val^
Returns
- I64 val^
Public Functions
abs
fun box abs() : U64 val
Returns
- U64 val
bit_reverse
fun box bit_reverse() : I64 val
Returns
- I64 val
bswap
fun box bswap() : I64 val
Returns
- I64 val
popcount
fun box popcount() : U64 val
Returns
- U64 val
clz
fun box clz() : U64 val
Returns
- U64 val
ctz
fun box ctz() : U64 val
Returns
- U64 val
clz_unsafe
Unsafe operation. If this is 0, the result is undefined.
fun box clz_unsafe() : U64 val
Returns
- U64 val
ctz_unsafe
Unsafe operation. If this is 0, the result is undefined.
fun box ctz_unsafe() : U64 val
Returns
- U64 val
bitwidth
fun box bitwidth() : U64 val
Returns
- U64 val
bytewidth
fun box bytewidth() : USize val
Returns
- USize val
min
fun box min( y: I64 val) : I64 val
Parameters
- y: I64 val
Returns
- I64 val
max
fun box max( y: I64 val) : I64 val
Parameters
- y: I64 val
Returns
- I64 val
fld
fun box fld( y: I64 val) : I64 val
Parameters
- y: I64 val
Returns
- I64 val
fld_unsafe
fun box fld_unsafe( y: I64 val) : I64 val
Parameters
- y: I64 val
Returns
- I64 val
mod
fun box mod( y: I64 val) : I64 val
Parameters
- y: I64 val
Returns
- I64 val
mod_unsafe
fun box mod_unsafe( y: I64 val) : I64 val
Parameters
- y: I64 val
Returns
- I64 val
hash
fun box hash() : USize val
Returns
- USize val
addc
fun box addc( y: I64 val) : (I64 val , Bool val)
Parameters
- y: I64 val
Returns
subc
fun box subc( y: I64 val) : (I64 val , Bool val)
Parameters
- y: I64 val
Returns
mulc
fun box mulc( y: I64 val) : (I64 val , Bool val)
Parameters
- y: I64 val
Returns
divc
fun box divc( y: I64 val) : (I64 val , Bool val)
Parameters
- y: I64 val
Returns
remc
fun box remc( y: I64 val) : (I64 val , Bool val)
Parameters
- y: I64 val
Returns
fldc
fun box fldc( y: I64 val) : (I64 val , Bool val)
Parameters
- y: I64 val
Returns
modc
fun box modc( y: I64 val) : (I64 val , Bool val)
Parameters
- y: I64 val
Returns
add_partial
fun box add_partial( y: I64 val) : I64 val ?
Parameters
- y: I64 val
Returns
- I64 val ?
sub_partial
fun box sub_partial( y: I64 val) : I64 val ?
Parameters
- y: I64 val
Returns
- I64 val ?
mul_partial
fun box mul_partial( y: I64 val) : I64 val ?
Parameters
- y: I64 val
Returns
- I64 val ?
div_partial
fun box div_partial( y: I64 val) : I64 val ?
Parameters
- y: I64 val
Returns
- I64 val ?
rem_partial
fun box rem_partial( y: I64 val) : I64 val ?
Parameters
- y: I64 val
Returns
- I64 val ?
divrem_partial
fun box divrem_partial( y: I64 val) : (I64 val , I64 val) ?
Parameters
- y: I64 val
Returns
fld_partial
fun box fld_partial( y: I64 val) : I64 val ?
Parameters
- y: I64 val
Returns
- I64 val ?
mod_partial
fun box mod_partial( y: I64 val) : I64 val ?
Parameters
- y: I64 val
Returns
- I64 val ?
shl
fun box shl( y: U64 val) : I64 val
Parameters
- y: U64 val
Returns
- I64 val
shr
fun box shr( y: U64 val) : I64 val
Parameters
- y: U64 val
Returns
- I64 val
shl_unsafe
fun box shl_unsafe( y: U64 val) : I64 val
Parameters
- y: U64 val
Returns
- I64 val
shr_unsafe
fun box shr_unsafe( y: U64 val) : I64 val
Parameters
- y: U64 val
Returns
- I64 val
string
fun box string() : String iso^
Returns
- String iso^
add_unsafe
fun box add_unsafe( y: I64 val) : I64 val
Parameters
- y: I64 val
Returns
- I64 val
sub_unsafe
fun box sub_unsafe( y: I64 val) : I64 val
Parameters
- y: I64 val
Returns
- I64 val
mul_unsafe
fun box mul_unsafe( y: I64 val) : I64 val
Parameters
- y: I64 val
Returns
- I64 val
div_unsafe
fun box div_unsafe( y: I64 val) : I64 val
Parameters
- y: I64 val
Returns
- I64 val
divrem_unsafe
fun box divrem_unsafe( y: I64 val) : (I64 val , I64 val)
Parameters
- y: I64 val
Returns
rem_unsafe
fun box rem_unsafe( y: I64 val) : I64 val
Parameters
- y: I64 val
Returns
- I64 val
neg_unsafe
fun box neg_unsafe() : I64 val
Returns
- I64 val
op_and
fun box op_and( y: I64 val) : I64 val
Parameters
- y: I64 val
Returns
- I64 val
op_or
fun box op_or( y: I64 val) : I64 val
Parameters
- y: I64 val
Returns
- I64 val
op_xor
fun box op_xor( y: I64 val) : I64 val
Parameters
- y: I64 val
Returns
- I64 val
op_not
fun box op_not() : I64 val
Returns
- I64 val
add
fun box add( y: I64 val) : I64 val
Parameters
- y: I64 val
Returns
- I64 val
sub
fun box sub( y: I64 val) : I64 val
Parameters
- y: I64 val
Returns
- I64 val
mul
fun box mul( y: I64 val) : I64 val
Parameters
- y: I64 val
Returns
- I64 val
div
fun box div( y: I64 val) : I64 val
Parameters
- y: I64 val
Returns
- I64 val
divrem
fun box divrem( y: I64 val) : (I64 val , I64 val)
Parameters
- y: I64 val
Returns
rem
fun box rem( y: I64 val) : I64 val
Parameters
- y: I64 val
Returns
- I64 val
neg
fun box neg() : I64 val
Returns
- I64 val
eq
fun box eq( y: I64 val) : Bool val
Parameters
- y: I64 val
Returns
- Bool val
ne
fun box ne( y: I64 val) : Bool val
Parameters
- y: I64 val
Returns
- Bool val
lt
fun box lt( y: I64 val) : Bool val
Parameters
- y: I64 val
Returns
- Bool val
le
fun box le( y: I64 val) : Bool val
Parameters
- y: I64 val
Returns
- Bool val
ge
fun box ge( y: I64 val) : Bool val
Parameters
- y: I64 val
Returns
- Bool val
gt
fun box gt( y: I64 val) : Bool val
Parameters
- y: I64 val
Returns
- Bool val
hash64
fun box hash64() : U64 val
Returns
- U64 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
f32
fun box f32() : F32 val
Returns
- F32 val
f64
fun box f64() : F64 val
Returns
- F64 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
f32_unsafe
fun box f32_unsafe() : F32 val
Returns
- F32 val
f64_unsafe
fun box f64_unsafe() : F64 val
Returns
- F64 val
compare
fun box compare( that: I64 val) : (Less val | Equal val | Greater val)
Parameters
- that: I64 val
Returns
© 2016-2020, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/builtin-I64