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