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