USize¶
primitive val USize is
UnsignedInteger[USize val] val
Implements¶
- UnsignedInteger[USize val] val
Constructors¶
create¶
new val create(
value: USize val)
: USize val^
Parameters¶
- value: USize val
Returns¶
- USize 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)
: USize val^
Parameters¶
- a: A
Returns¶
- USize val^
min_value¶
new val min_value()
: USize val^
Returns¶
- USize val^
max_value¶
new val max_value()
: USize val^
Returns¶
- USize val^
Public Functions¶
next_pow2¶
fun box next_pow2()
: USize val
Returns¶
- USize val
abs¶
fun box abs()
: USize val
Returns¶
- USize val
bit_reverse¶
fun box bit_reverse()
: USize val
Returns¶
- USize val
bswap¶
fun box bswap()
: USize val
Returns¶
- USize val
popcount¶
fun box popcount()
: USize val
Returns¶
- USize val
clz¶
fun box clz()
: USize val
Returns¶
- USize val
ctz¶
fun box ctz()
: USize val
Returns¶
- USize val
clz_unsafe¶
Unsafe operation. If this is 0, the result is undefined.
fun box clz_unsafe()
: USize val
Returns¶
- USize val
ctz_unsafe¶
Unsafe operation. If this is 0, the result is undefined.
fun box ctz_unsafe()
: USize val
Returns¶
- USize val
bitwidth¶
fun box bitwidth()
: USize val
Returns¶
- USize val
bytewidth¶
fun box bytewidth()
: USize val
Returns¶
- USize val
min¶
fun box min(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
max¶
fun box max(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
addc¶
fun box addc(
y: USize val)
: (USize val , Bool val)
Parameters¶
- y: USize val
Returns¶
subc¶
fun box subc(
y: USize val)
: (USize val , Bool val)
Parameters¶
- y: USize val
Returns¶
mulc¶
fun box mulc(
y: USize val)
: (USize val , Bool val)
Parameters¶
- y: USize val
Returns¶
divc¶
fun box divc(
y: USize val)
: (USize val , Bool val)
Parameters¶
- y: USize val
Returns¶
remc¶
fun box remc(
y: USize val)
: (USize val , Bool val)
Parameters¶
- y: USize val
Returns¶
add_partial¶
fun box add_partial(
y: USize val)
: USize val ?
Parameters¶
- y: USize val
Returns¶
- USize val ?
sub_partial¶
fun box sub_partial(
y: USize val)
: USize val ?
Parameters¶
- y: USize val
Returns¶
- USize val ?
mul_partial¶
fun box mul_partial(
y: USize val)
: USize val ?
Parameters¶
- y: USize val
Returns¶
- USize val ?
div_partial¶
fun box div_partial(
y: USize val)
: USize val ?
Parameters¶
- y: USize val
Returns¶
- USize val ?
rem_partial¶
fun box rem_partial(
y: USize val)
: USize val ?
Parameters¶
- y: USize val
Returns¶
- USize val ?
divrem_partial¶
fun box divrem_partial(
y: USize val)
: (USize val , USize val) ?
Parameters¶
- y: USize val
Returns¶
shl¶
fun box shl(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
shr¶
fun box shr(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
fld¶
fun box fld(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
fldc¶
fun box fldc(
y: USize val)
: (USize val , Bool val)
Parameters¶
- y: USize val
Returns¶
fld_partial¶
fun box fld_partial(
y: USize val)
: USize val ?
Parameters¶
- y: USize val
Returns¶
- USize val ?
fld_unsafe¶
fun box fld_unsafe(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
mod¶
fun box mod(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
modc¶
fun box modc(
y: USize val)
: (USize val , Bool val)
Parameters¶
- y: USize val
Returns¶
mod_partial¶
fun box mod_partial(
y: USize val)
: USize val ?
Parameters¶
- y: USize val
Returns¶
- USize val ?
mod_unsafe¶
fun box mod_unsafe(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
shl_unsafe¶
fun box shl_unsafe(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
shr_unsafe¶
fun box shr_unsafe(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
rotl¶
fun box rotl(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
rotr¶
fun box rotr(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
string¶
fun box string()
: String iso^
Returns¶
- String iso^
add_unsafe¶
fun box add_unsafe(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
sub_unsafe¶
fun box sub_unsafe(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
mul_unsafe¶
fun box mul_unsafe(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
div_unsafe¶
fun box div_unsafe(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
divrem_unsafe¶
fun box divrem_unsafe(
y: USize val)
: (USize val , USize val)
Parameters¶
- y: USize val
Returns¶
rem_unsafe¶
fun box rem_unsafe(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
neg_unsafe¶
fun box neg_unsafe()
: USize val
Returns¶
- USize val
op_and¶
fun box op_and(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
op_or¶
fun box op_or(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
op_xor¶
fun box op_xor(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
op_not¶
fun box op_not()
: USize val
Returns¶
- USize val
add¶
fun box add(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
sub¶
fun box sub(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
mul¶
fun box mul(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
div¶
fun box div(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
divrem¶
fun box divrem(
y: USize val)
: (USize val , USize val)
Parameters¶
- y: USize val
Returns¶
rem¶
fun box rem(
y: USize val)
: USize val
Parameters¶
- y: USize val
Returns¶
- USize val
neg¶
fun box neg()
: USize val
Returns¶
- USize val
eq¶
fun box eq(
y: USize val)
: Bool val
Parameters¶
- y: USize val
Returns¶
- Bool val
ne¶
fun box ne(
y: USize val)
: Bool val
Parameters¶
- y: USize val
Returns¶
- Bool val
lt¶
fun box lt(
y: USize val)
: Bool val
Parameters¶
- y: USize val
Returns¶
- Bool val
le¶
fun box le(
y: USize val)
: Bool val
Parameters¶
- y: USize val
Returns¶
- Bool val
ge¶
fun box ge(
y: USize val)
: Bool val
Parameters¶
- y: USize val
Returns¶
- Bool val
gt¶
fun box gt(
y: USize val)
: Bool val
Parameters¶
- y: USize val
Returns¶
- Bool val
hash¶
fun box hash()
: USize val
Returns¶
- USize 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: USize val)
: (Less val | Equal val | Greater val)
Parameters¶
- that: USize val