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