bool
class bool
Constructors
2
Special methods
34
__add__(self: Self, other: bool, /)
Added by
internal.types.bool__add__(self: Self, b: float, /)
Added by
internal.ops__add__(self: Self, b: float128, /)
Added by
internal.ops__add__(self: Self, b: float32, /)
Added by
internal.ops__add__(self: Self, b: float16, /)
Added by
internal.ops__add__(self: Self, b: bfloat16, /)
Added by
internal.ops__add__(self: Self, b: Int, /)
Added by
internal.ops__add__(self: Self, b: UInt, /)
Added by
internal.ops__sub__(self: Self, other: bool, /)
Added by
internal.types.bool__sub__(self: Self, b: float, /)
Added by
internal.ops__sub__(self: Self, b: float128, /)
Added by
internal.ops__sub__(self: Self, b: float32, /)
Added by
internal.ops__sub__(self: Self, b: float16, /)
Added by
internal.ops__sub__(self: Self, b: bfloat16, /)
Added by
internal.ops__sub__(self: Self, b: Int, /)
Added by
internal.ops__sub__(self: Self, b: UInt, /)
Added by
internal.ops__mul__(self: Self, other: bool, /)
Added by
internal.types.bool__mul__(self: Self, b: float, /)
Added by
internal.ops__mul__(self: Self, b: float128, /)
Added by
internal.ops__mul__(self: Self, b: float32, /)
Added by
internal.ops__mul__(self: Self, b: float16, /)
Added by
internal.ops__mul__(self: Self, b: bfloat16, /)
Added by
internal.ops__mul__(self: Self, b: Int, /)
Added by
internal.ops__mul__(self: Self, b: UInt, /)
Added by
internal.ops__floordiv__(self: Self, other: bool, /)
Added by
internal.types.bool__floordiv__(self: Self, b: float, /)
Added by
internal.ops__floordiv__(self: Self, b: float128, /)
Added by
internal.ops__floordiv__(self: Self, b: float32, /)
Added by
internal.ops__floordiv__(self: Self, b: float16, /)
Added by
internal.ops__floordiv__(self: Self, b: bfloat16, /)
Added by
internal.ops__floordiv__(self: Self, b: Int, /)
Added by
internal.ops__floordiv__(self: Self, b: UInt, /)
Added by
internal.ops__truediv__(self: Self, other: bool, /)
Added by
internal.types.bool__truediv__(self: Self, b: float, /)
Added by
internal.ops__truediv__(self: Self, b: float128, /)
Added by
internal.ops__truediv__(self: Self, b: float32, /)
Added by
internal.ops__truediv__(self: Self, b: float16, /)
Added by
internal.ops__truediv__(self: Self, b: bfloat16, /)
Added by
internal.ops__truediv__(self: Self, b: Int, /)
Added by
internal.ops__truediv__(self: Self, b: UInt, /)
Added by
internal.ops__mod__(self: Self, other: bool, /)
Added by
internal.types.bool__mod__(self: Self, b: float, /)
Added by
internal.ops__mod__(self: Self, b: float128, /)
Added by
internal.ops__mod__(self: Self, b: float32, /)
Added by
internal.ops__mod__(self: Self, b: float16, /)
Added by
internal.ops__mod__(self: Self, b: bfloat16, /)
Added by
internal.ops__mod__(self: Self, b: Int, /)
Added by
internal.ops__mod__(self: Self, b: UInt, /)
Added by
internal.ops__divmod__(self: Self, other: bool, /)
Added by
internal.types.bool__divmod__(self: Self, b: float, /)
Added by
internal.ops__divmod__(self: Self, b: float128, /)
Added by
internal.ops__divmod__(self: Self, b: float32, /)
Added by
internal.ops__divmod__(self: Self, b: float16, /)
Added by
internal.ops__divmod__(self: Self, b: bfloat16, /)
Added by
internal.ops__divmod__(self: Self, b: Int, /)
Added by
internal.ops__divmod__(self: Self, b: UInt, /)
Added by
internal.ops__pow__(self: Self, other: bool, /)
Added by
internal.types.bool__pow__(self: Self, b: float, /)
Added by
internal.ops__pow__(self: Self, b: float128, /)
Added by
internal.ops__pow__(self: Self, b: float32, /)
Added by
internal.ops__pow__(self: Self, b: float16, /)
Added by
internal.ops__pow__(self: Self, b: bfloat16, /)
Added by
internal.ops__pow__(self: Self, b: Int, /)
Added by
internal.ops__pow__(self: Self, b: UInt, /)
Added by
internal.ops__invert__(self: Self, /) -> bool
Added by
internal.types.bool%0 = trunc i8 %self to i1
%1 = xor i1 %0, true
%2 = zext i1 %1 to i8
ret i8 %2
__eq__(self: Self, other: bool, /) -> bool
Added by
internal.types.bool%0 = icmp eq i8 %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__eq__(self: Self, b: float, /)
Added by
internal.ops__eq__(self: Self, b: float128, /)
Added by
internal.ops__eq__(self: Self, b: float32, /)
Added by
internal.ops__eq__(self: Self, b: float16, /)
Added by
internal.ops__eq__(self: Self, b: bfloat16, /)
Added by
internal.ops__eq__(self: Self, b: Int, /)
Added by
internal.ops__eq__(self: Self, b: UInt, /)
Added by
internal.ops__ne__(self: Self, other: bool, /) -> bool
Added by
internal.types.bool%0 = icmp ne i8 %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__ne__(self: Self, b: float, /)
Added by
internal.ops__ne__(self: Self, b: float128, /)
Added by
internal.ops__ne__(self: Self, b: float32, /)
Added by
internal.ops__ne__(self: Self, b: float16, /)
Added by
internal.ops__ne__(self: Self, b: bfloat16, /)
Added by
internal.ops__ne__(self: Self, b: Int, /)
Added by
internal.ops__ne__(self: Self, b: UInt, /)
Added by
internal.ops__lt__(self: Self, other: bool, /) -> bool
Added by
internal.types.bool%0 = icmp ult i8 %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__lt__(self: Self, b: float, /)
Added by
internal.ops__lt__(self: Self, b: float128, /)
Added by
internal.ops__lt__(self: Self, b: float32, /)
Added by
internal.ops__lt__(self: Self, b: float16, /)
Added by
internal.ops__lt__(self: Self, b: bfloat16, /)
Added by
internal.ops__lt__(self: Self, b: Int, /)
Added by
internal.ops__lt__(self: Self, b: UInt, /)
Added by
internal.ops__gt__(self: Self, other: bool, /) -> bool
Added by
internal.types.bool%0 = icmp ugt i8 %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__gt__(self: Self, b: float, /)
Added by
internal.ops__gt__(self: Self, b: float128, /)
Added by
internal.ops__gt__(self: Self, b: float32, /)
Added by
internal.ops__gt__(self: Self, b: float16, /)
Added by
internal.ops__gt__(self: Self, b: bfloat16, /)
Added by
internal.ops__gt__(self: Self, b: Int, /)
Added by
internal.ops__gt__(self: Self, b: UInt, /)
Added by
internal.ops__le__(self: Self, other: bool, /) -> bool
Added by
internal.types.bool%0 = icmp ule i8 %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__le__(self: Self, b: float, /)
Added by
internal.ops__le__(self: Self, b: float128, /)
Added by
internal.ops__le__(self: Self, b: float32, /)
Added by
internal.ops__le__(self: Self, b: float16, /)
Added by
internal.ops__le__(self: Self, b: bfloat16, /)
Added by
internal.ops__le__(self: Self, b: Int, /)
Added by
internal.ops__le__(self: Self, b: UInt, /)
Added by
internal.ops__ge__(self: Self, other: bool, /) -> bool
Added by
internal.types.bool%0 = icmp uge i8 %self, %other
%1 = zext i1 %0 to i8
ret i8 %1
__ge__(self: Self, b: float, /)
Added by
internal.ops__ge__(self: Self, b: float128, /)
Added by
internal.ops__ge__(self: Self, b: float32, /)
Added by
internal.ops__ge__(self: Self, b: float16, /)
Added by
internal.ops__ge__(self: Self, b: bfloat16, /)
Added by
internal.ops__ge__(self: Self, b: Int, /)
Added by
internal.ops__ge__(self: Self, b: UInt, /)
Added by
internal.ops__and__(self: Self, other: bool, /) -> bool
Added by
internal.types.bool%0 = and i8 %self, %other
ret i8 %0
__or__(self: Self, other: bool, /) -> bool
Added by
internal.types.bool%0 = or i8 %self, %other
ret i8 %0
__xor__(self: Self, other: bool, /) -> bool
Added by
internal.types.bool%0 = xor i8 %self, %other
ret i8 %0
__float__(self: Self, /) -> float
Added by
internal.types.bool%0 = uitofp i8 %self to double
ret double %0