UInt
class UInt[N]
Fields
1
N
Literal[int]
Constructors
11
Properties
2
Methods
4
Special methods
50
__add__(self, b: float)
Added by
internal.ops__add__(self, b: float128)
Added by
internal.ops__add__(self, b: float32)
Added by
internal.ops__add__(self, b: float16)
Added by
internal.ops__add__(self, b: bfloat16)
Added by
internal.ops__add__(self, b: Int)
Added by
internal.ops__add__(self, b: UInt)
Added by
internal.ops__add__(self, b: bool)
Added by
internal.ops__sub__(self, b: float)
Added by
internal.ops__sub__(self, b: float128)
Added by
internal.ops__sub__(self, b: float32)
Added by
internal.ops__sub__(self, b: float16)
Added by
internal.ops__sub__(self, b: bfloat16)
Added by
internal.ops__sub__(self, b: Int)
Added by
internal.ops__sub__(self, b: UInt)
Added by
internal.ops__sub__(self, b: bool)
Added by
internal.ops__mul__(self, b: float)
Added by
internal.ops__mul__(self, b: float128)
Added by
internal.ops__mul__(self, b: float32)
Added by
internal.ops__mul__(self, b: float16)
Added by
internal.ops__mul__(self, b: bfloat16)
Added by
internal.ops__mul__(self, b: Int)
Added by
internal.ops__mul__(self, b: UInt)
Added by
internal.ops__mul__(self, b: bool)
Added by
internal.ops__floordiv__(self, b: float)
Added by
internal.ops__floordiv__(self, b: float128)
Added by
internal.ops__floordiv__(self, b: float32)
Added by
internal.ops__floordiv__(self, b: float16)
Added by
internal.ops__floordiv__(self, b: bfloat16)
Added by
internal.ops__floordiv__(self, b: Int)
Added by
internal.ops__floordiv__(self, b: UInt)
Added by
internal.ops__floordiv__(self, b: bool)
Added by
internal.ops__floordiv__(self, other: UInt[N])
Added by
internal.types.int__truediv__(self, b: float)
Added by
internal.ops__truediv__(self, b: float128)
Added by
internal.ops__truediv__(self, b: float32)
Added by
internal.ops__truediv__(self, b: float16)
Added by
internal.ops__truediv__(self, b: bfloat16)
Added by
internal.ops__truediv__(self, b: Int)
Added by
internal.ops__truediv__(self, b: UInt)
Added by
internal.ops__truediv__(self, b: bool)
Added by
internal.ops__truediv__(self, other: UInt[N])
Added by
internal.types.int__mod__(self, b: float)
Added by
internal.ops__mod__(self, b: float128)
Added by
internal.ops__mod__(self, b: float32)
Added by
internal.ops__mod__(self, b: float16)
Added by
internal.ops__mod__(self, b: bfloat16)
Added by
internal.ops__mod__(self, b: Int)
Added by
internal.ops__mod__(self, b: UInt)
Added by
internal.ops__mod__(self, b: bool)
Added by
internal.ops__mod__(self, other: UInt[N])
Added by
internal.types.int__divmod__(self, b: float)
Added by
internal.ops__divmod__(self, b: float128)
Added by
internal.ops__divmod__(self, b: float32)
Added by
internal.ops__divmod__(self, b: float16)
Added by
internal.ops__divmod__(self, b: bfloat16)
Added by
internal.ops__divmod__(self, b: Int)
Added by
internal.ops__divmod__(self, b: UInt)
Added by
internal.ops__divmod__(self, b: bool)
Added by
internal.ops__divmod__(self, other: UInt[N])
Added by
internal.types.int__pow__(self, b: float)
Added by
internal.ops__pow__(self, b: float128)
Added by
internal.ops__pow__(self, b: float32)
Added by
internal.ops__pow__(self, b: float16)
Added by
internal.ops__pow__(self, b: bfloat16)
Added by
internal.ops__pow__(self, b: Int)
Added by
internal.ops__pow__(self, b: UInt)
Added by
internal.ops__pow__(self, b: bool)
Added by
internal.ops__pow__(self, exp: UInt[N])
Added by
internal.types.int__pow__(self, exp: Literal[int])
Added by
internal.types.int__eq__(self, b: float)
Added by
internal.ops__eq__(self, b: float128)
Added by
internal.ops__eq__(self, b: float32)
Added by
internal.ops__eq__(self, b: float16)
Added by
internal.ops__eq__(self, b: bfloat16)
Added by
internal.ops__eq__(self, b: Int)
Added by
internal.ops__eq__(self, b: UInt)
Added by
internal.ops__eq__(self, b: bool)
Added by
internal.ops__eq__(self, other: UInt[N])
Added by
internal.types.int%0 = icmp eq i{=N} %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__ne__(self, b: float)
Added by
internal.ops__ne__(self, b: float128)
Added by
internal.ops__ne__(self, b: float32)
Added by
internal.ops__ne__(self, b: float16)
Added by
internal.ops__ne__(self, b: bfloat16)
Added by
internal.ops__ne__(self, b: Int)
Added by
internal.ops__ne__(self, b: UInt)
Added by
internal.ops__ne__(self, b: bool)
Added by
internal.ops__ne__(self, other: UInt[N])
Added by
internal.types.int%0 = icmp ne i{=N} %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__lt__(self, b: float)
Added by
internal.ops__lt__(self, b: float128)
Added by
internal.ops__lt__(self, b: float32)
Added by
internal.ops__lt__(self, b: float16)
Added by
internal.ops__lt__(self, b: bfloat16)
Added by
internal.ops__lt__(self, b: Int)
Added by
internal.ops__lt__(self, b: UInt)
Added by
internal.ops__lt__(self, b: bool)
Added by
internal.ops__lt__(self, other: UInt[N])
Added by
internal.types.int%0 = icmp ult i{=N} %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__gt__(self, b: float)
Added by
internal.ops__gt__(self, b: float128)
Added by
internal.ops__gt__(self, b: float32)
Added by
internal.ops__gt__(self, b: float16)
Added by
internal.ops__gt__(self, b: bfloat16)
Added by
internal.ops__gt__(self, b: Int)
Added by
internal.ops__gt__(self, b: UInt)
Added by
internal.ops__gt__(self, b: bool)
Added by
internal.ops__gt__(self, other: UInt[N])
Added by
internal.types.int%0 = icmp ugt i{=N} %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__le__(self, b: float)
Added by
internal.ops__le__(self, b: float128)
Added by
internal.ops__le__(self, b: float32)
Added by
internal.ops__le__(self, b: float16)
Added by
internal.ops__le__(self, b: bfloat16)
Added by
internal.ops__le__(self, b: Int)
Added by
internal.ops__le__(self, b: UInt)
Added by
internal.ops__le__(self, b: bool)
Added by
internal.ops__le__(self, other: UInt[N])
Added by
internal.types.int%0 = icmp ule i{=N} %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__ge__(self, b: float)
Added by
internal.ops__ge__(self, b: float128)
Added by
internal.ops__ge__(self, b: float32)
Added by
internal.ops__ge__(self, b: float16)
Added by
internal.ops__ge__(self, b: bfloat16)
Added by
internal.ops__ge__(self, b: Int)
Added by
internal.ops__ge__(self, b: UInt)
Added by
internal.ops__ge__(self, b: bool)
Added by
internal.ops__ge__(self, other: UInt[N])
Added by
internal.types.int%0 = icmp uge i{=N} %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__bool__(self)
Added by
internal.types.int%0 = icmp ne i{=N} %self, 0
%1 = zext i1 %0 to i8
ret i8 %1
__lshift__(self, other: UInt[N])
Added by
internal.types.int__lshift__(self, other: int)
Added by
internal.types.int__rshift__(self, other: UInt[N])
Added by
internal.types.int__rshift__(self, other: int)
Added by
internal.types.int__atomic_xchg__(d: Ptr[UInt[N]], b: UInt[N])
Added by
internal.types.int%tmp = atomicrmw xchg ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_add__(d: Ptr[UInt[N]], b: UInt[N])
Added by
internal.types.int%tmp = atomicrmw add ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_sub__(d: Ptr[UInt[N]], b: UInt[N])
Added by
internal.types.int%tmp = atomicrmw sub ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_and__(d: Ptr[UInt[N]], b: UInt[N])
Added by
internal.types.int%tmp = atomicrmw and ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_nand__(d: Ptr[UInt[N]], b: UInt[N])
Added by
internal.types.int%tmp = atomicrmw nand ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_or__(d: Ptr[UInt[N]], b: UInt[N])
Added by
internal.types.int%tmp = atomicrmw or ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_xor__(d: Ptr[UInt[N]], b: UInt[N])
Added by
internal.types.int%tmp = atomicrmw xor ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_min__(d: Ptr[UInt[N]], b: UInt[N])
Added by
internal.types.int%tmp = atomicrmw umin ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp
__atomic_max__(d: Ptr[UInt[N]], b: UInt[N])
Added by
internal.types.int%tmp = atomicrmw umax ptr %d, i{=N} %b seq_cst
ret i{=N} %tmp