internal.ops
class float
Extends
internal.core.float · View complete class API →
Constructors
7
__new__[N: Literal[int]](what: Int[N], /) -> float
%0 = sitofp i{=N} %what to double
ret double %0
__new__[N: Literal[int]](what: UInt[N], /) -> float
%0 = uitofp i{=N} %what to double
ret double %0
class float128
Constructors
7
__new__[N: Literal[int]](what: Int[N]) -> float128
%0 = sitofp i{=N} %what to fp128
ret fp128 %0
__new__[N: Literal[int]](what: UInt[N]) -> float128
%0 = uitofp i{=N} %what to fp128
ret fp128 %0
class float32
Constructors
7
__new__[N: Literal[int]](what: Int[N]) -> float32
%0 = sitofp i{=N} %what to float
ret float %0
__new__[N: Literal[int]](what: UInt[N]) -> float32
%0 = uitofp i{=N} %what to float
ret float %0
class float16
Constructors
7
__new__[N: Literal[int]](what: Int[N]) -> float16
%0 = sitofp i{=N} %what to half
ret half %0
__new__[N: Literal[int]](what: UInt[N]) -> float16
%0 = uitofp i{=N} %what to half
ret half %0
class bfloat16
Constructors
7
__new__[N: Literal[int]](what: Int[N]) -> bfloat16
%0 = sitofp i{=N} %what to bfloat
ret bfloat %0
__new__[N: Literal[int]](what: UInt[N]) -> bfloat16
%0 = uitofp i{=N} %what to bfloat
ret bfloat %0
class Int[N]
Extends
internal.core.Int · View complete class API →
Special methods
14
__add__(self: Self, b: float, /)
__add__(self: Self, b: float128, /)
__add__(self: Self, b: float32, /)
__add__(self: Self, b: float16, /)
__add__(self: Self, b: bfloat16, /)
__add__(self: Self, b: Int, /)
__add__(self: Self, b: UInt, /)
__add__(self: Self, b: bool, /)
__sub__(self: Self, b: float, /)
__sub__(self: Self, b: float128, /)
__sub__(self: Self, b: float32, /)
__sub__(self: Self, b: float16, /)
__sub__(self: Self, b: bfloat16, /)
__sub__(self: Self, b: Int, /)
__sub__(self: Self, b: UInt, /)
__sub__(self: Self, b: bool, /)
__mul__(self: Self, b: float, /)
__mul__(self: Self, b: float128, /)
__mul__(self: Self, b: float32, /)
__mul__(self: Self, b: float16, /)
__mul__(self: Self, b: bfloat16, /)
__mul__(self: Self, b: Int, /)
__mul__(self: Self, b: UInt, /)
__mul__(self: Self, b: bool, /)
__floordiv__(self: Self, b: float, /)
__floordiv__(self: Self, b: float128, /)
__floordiv__(self: Self, b: float32, /)
__floordiv__(self: Self, b: float16, /)
__floordiv__(self: Self, b: bfloat16, /)
__floordiv__(self: Self, b: Int, /)
__floordiv__(self: Self, b: UInt, /)
__floordiv__(self: Self, b: bool, /)
__truediv__(self: Self, b: float, /)
__truediv__(self: Self, b: float128, /)
__truediv__(self: Self, b: float32, /)
__truediv__(self: Self, b: float16, /)
__truediv__(self: Self, b: bfloat16, /)
__truediv__(self: Self, b: Int, /)
__truediv__(self: Self, b: UInt, /)
__truediv__(self: Self, b: bool, /)
__mod__(self: Self, b: float, /)
__mod__(self: Self, b: float128, /)
__mod__(self: Self, b: float32, /)
__mod__(self: Self, b: float16, /)
__mod__(self: Self, b: bfloat16, /)
__mod__(self: Self, b: Int, /)
__mod__(self: Self, b: UInt, /)
__mod__(self: Self, b: bool, /)
__divmod__(self: Self, b: float, /)
__divmod__(self: Self, b: float128, /)
__divmod__(self: Self, b: float32, /)
__divmod__(self: Self, b: float16, /)
__divmod__(self: Self, b: bfloat16, /)
__divmod__(self: Self, b: Int, /)
__divmod__(self: Self, b: UInt, /)
__divmod__(self: Self, b: bool, /)
__pow__(self: Self, b: float, /)
__pow__(self: Self, b: float128, /)
__pow__(self: Self, b: float32, /)
__pow__(self: Self, b: float16, /)
__pow__(self: Self, b: bfloat16, /)
__pow__(self: Self, b: Int, /)
__pow__(self: Self, b: UInt, /)
__pow__(self: Self, b: bool, /)
__eq__(self: Self, b: float, /)
__eq__(self: Self, b: float128, /)
__eq__(self: Self, b: float32, /)
__eq__(self: Self, b: float16, /)
__eq__(self: Self, b: bfloat16, /)
__eq__(self: Self, b: Int, /)
__eq__(self: Self, b: UInt, /)
__eq__(self: Self, b: bool, /)
__ne__(self: Self, b: float, /)
__ne__(self: Self, b: float128, /)
__ne__(self: Self, b: float32, /)
__ne__(self: Self, b: float16, /)
__ne__(self: Self, b: bfloat16, /)
__ne__(self: Self, b: Int, /)
__ne__(self: Self, b: UInt, /)
__ne__(self: Self, b: bool, /)
__lt__(self: Self, b: float, /)
__lt__(self: Self, b: float128, /)
__lt__(self: Self, b: float32, /)
__lt__(self: Self, b: float16, /)
__lt__(self: Self, b: bfloat16, /)
__lt__(self: Self, b: Int, /)
__lt__(self: Self, b: UInt, /)
__lt__(self: Self, b: bool, /)
__gt__(self: Self, b: float, /)
__gt__(self: Self, b: float128, /)
__gt__(self: Self, b: float32, /)
__gt__(self: Self, b: float16, /)
__gt__(self: Self, b: bfloat16, /)
__gt__(self: Self, b: Int, /)
__gt__(self: Self, b: UInt, /)
__gt__(self: Self, b: bool, /)
__le__(self: Self, b: float, /)
__le__(self: Self, b: float128, /)
__le__(self: Self, b: float32, /)
__le__(self: Self, b: float16, /)
__le__(self: Self, b: bfloat16, /)
__le__(self: Self, b: Int, /)
__le__(self: Self, b: UInt, /)
__le__(self: Self, b: bool, /)
class UInt[N]
Extends
internal.core.UInt · View complete class API →
Special methods
14
__add__(self: Self, b: float)
__add__(self: Self, b: float128)
__add__(self: Self, b: float32)
__add__(self: Self, b: float16)
__add__(self: Self, b: bfloat16)
__add__(self: Self, b: Int)
__add__(self: Self, b: UInt)
__add__(self: Self, b: bool)
__sub__(self: Self, b: float)
__sub__(self: Self, b: float128)
__sub__(self: Self, b: float32)
__sub__(self: Self, b: float16)
__sub__(self: Self, b: bfloat16)
__sub__(self: Self, b: Int)
__sub__(self: Self, b: UInt)
__sub__(self: Self, b: bool)
__mul__(self: Self, b: float)
__mul__(self: Self, b: float128)
__mul__(self: Self, b: float32)
__mul__(self: Self, b: float16)
__mul__(self: Self, b: bfloat16)
__mul__(self: Self, b: Int)
__mul__(self: Self, b: UInt)
__mul__(self: Self, b: bool)
__floordiv__(self: Self, b: float)
__floordiv__(self: Self, b: float128)
__floordiv__(self: Self, b: float32)
__floordiv__(self: Self, b: float16)
__floordiv__(self: Self, b: bfloat16)
__floordiv__(self: Self, b: Int)
__floordiv__(self: Self, b: UInt)
__floordiv__(self: Self, b: bool)
__truediv__(self: Self, b: float)
__truediv__(self: Self, b: float128)
__truediv__(self: Self, b: float32)
__truediv__(self: Self, b: float16)
__truediv__(self: Self, b: bfloat16)
__truediv__(self: Self, b: Int)
__truediv__(self: Self, b: UInt)
__truediv__(self: Self, b: bool)
__mod__(self: Self, b: float)
__mod__(self: Self, b: float128)
__mod__(self: Self, b: float32)
__mod__(self: Self, b: float16)
__mod__(self: Self, b: bfloat16)
__mod__(self: Self, b: Int)
__mod__(self: Self, b: UInt)
__mod__(self: Self, b: bool)
__divmod__(self: Self, b: float)
__divmod__(self: Self, b: float128)
__divmod__(self: Self, b: float32)
__divmod__(self: Self, b: float16)
__divmod__(self: Self, b: bfloat16)
__divmod__(self: Self, b: Int)
__divmod__(self: Self, b: UInt)
__divmod__(self: Self, b: bool)
__pow__(self: Self, b: float)
__pow__(self: Self, b: float128)
__pow__(self: Self, b: float32)
__pow__(self: Self, b: float16)
__pow__(self: Self, b: bfloat16)
__pow__(self: Self, b: Int)
__pow__(self: Self, b: UInt)
__pow__(self: Self, b: bool)
__eq__(self: Self, b: float)
__eq__(self: Self, b: float128)
__eq__(self: Self, b: float32)
__eq__(self: Self, b: float16)
__eq__(self: Self, b: bfloat16)
__eq__(self: Self, b: Int)
__eq__(self: Self, b: UInt)
__eq__(self: Self, b: bool)
__ne__(self: Self, b: float)
__ne__(self: Self, b: float128)
__ne__(self: Self, b: float32)
__ne__(self: Self, b: float16)
__ne__(self: Self, b: bfloat16)
__ne__(self: Self, b: Int)
__ne__(self: Self, b: UInt)
__ne__(self: Self, b: bool)
__lt__(self: Self, b: float)
__lt__(self: Self, b: float128)
__lt__(self: Self, b: float32)
__lt__(self: Self, b: float16)
__lt__(self: Self, b: bfloat16)
__lt__(self: Self, b: Int)
__lt__(self: Self, b: UInt)
__lt__(self: Self, b: bool)
__gt__(self: Self, b: float)
__gt__(self: Self, b: float128)
__gt__(self: Self, b: float32)
__gt__(self: Self, b: float16)
__gt__(self: Self, b: bfloat16)
__gt__(self: Self, b: Int)
__gt__(self: Self, b: UInt)
__gt__(self: Self, b: bool)
__le__(self: Self, b: float)
__le__(self: Self, b: float128)
__le__(self: Self, b: float32)
__le__(self: Self, b: float16)
__le__(self: Self, b: bfloat16)
__le__(self: Self, b: Int)
__le__(self: Self, b: UInt)
__le__(self: Self, b: bool)
class float
Extends
internal.core.float · View complete class API →
Special methods
14
__add__(self: Self, b: float128, /)
__add__(self: Self, b: float32, /)
__add__(self: Self, b: float16, /)
__add__(self: Self, b: bfloat16, /)
__add__(self: Self, b: Int, /)
__add__(self: Self, b: UInt, /)
__add__(self: Self, b: bool, /)
__sub__(self: Self, b: float128, /)
__sub__(self: Self, b: float32, /)
__sub__(self: Self, b: float16, /)
__sub__(self: Self, b: bfloat16, /)
__sub__(self: Self, b: Int, /)
__sub__(self: Self, b: UInt, /)
__sub__(self: Self, b: bool, /)
__mul__(self: Self, b: float128, /)
__mul__(self: Self, b: float32, /)
__mul__(self: Self, b: float16, /)
__mul__(self: Self, b: bfloat16, /)
__mul__(self: Self, b: Int, /)
__mul__(self: Self, b: UInt, /)
__mul__(self: Self, b: bool, /)
__floordiv__(self: Self, b: float128, /)
__floordiv__(self: Self, b: float32, /)
__floordiv__(self: Self, b: float16, /)
__floordiv__(self: Self, b: bfloat16, /)
__floordiv__(self: Self, b: Int, /)
__floordiv__(self: Self, b: UInt, /)
__floordiv__(self: Self, b: bool, /)
__truediv__(self: Self, b: float128, /)
__truediv__(self: Self, b: float32, /)
__truediv__(self: Self, b: float16, /)
__truediv__(self: Self, b: bfloat16, /)
__truediv__(self: Self, b: Int, /)
__truediv__(self: Self, b: UInt, /)
__truediv__(self: Self, b: bool, /)
__mod__(self: Self, b: float128, /)
__mod__(self: Self, b: float32, /)
__mod__(self: Self, b: float16, /)
__mod__(self: Self, b: bfloat16, /)
__mod__(self: Self, b: Int, /)
__mod__(self: Self, b: UInt, /)
__mod__(self: Self, b: bool, /)
__divmod__(self: Self, b: float128, /)
__divmod__(self: Self, b: float32, /)
__divmod__(self: Self, b: float16, /)
__divmod__(self: Self, b: bfloat16, /)
__divmod__(self: Self, b: Int, /)
__divmod__(self: Self, b: UInt, /)
__divmod__(self: Self, b: bool, /)
__pow__(self: Self, b: float128, /)
__pow__(self: Self, b: float32, /)
__pow__(self: Self, b: float16, /)
__pow__(self: Self, b: bfloat16, /)
__pow__(self: Self, b: Int, /)
__pow__(self: Self, b: UInt, /)
__pow__(self: Self, b: bool, /)
__eq__(self: Self, b: float128, /)
__eq__(self: Self, b: float32, /)
__eq__(self: Self, b: float16, /)
__eq__(self: Self, b: bfloat16, /)
__eq__(self: Self, b: Int, /)
__eq__(self: Self, b: UInt, /)
__eq__(self: Self, b: bool, /)
__ne__(self: Self, b: float128, /)
__ne__(self: Self, b: float32, /)
__ne__(self: Self, b: float16, /)
__ne__(self: Self, b: bfloat16, /)
__ne__(self: Self, b: Int, /)
__ne__(self: Self, b: UInt, /)
__ne__(self: Self, b: bool, /)
__lt__(self: Self, b: float128, /)
__lt__(self: Self, b: float32, /)
__lt__(self: Self, b: float16, /)
__lt__(self: Self, b: bfloat16, /)
__lt__(self: Self, b: Int, /)
__lt__(self: Self, b: UInt, /)
__lt__(self: Self, b: bool, /)
__gt__(self: Self, b: float128, /)
__gt__(self: Self, b: float32, /)
__gt__(self: Self, b: float16, /)
__gt__(self: Self, b: bfloat16, /)
__gt__(self: Self, b: Int, /)
__gt__(self: Self, b: UInt, /)
__gt__(self: Self, b: bool, /)
__le__(self: Self, b: float128, /)
__le__(self: Self, b: float32, /)
__le__(self: Self, b: float16, /)
__le__(self: Self, b: bfloat16, /)
__le__(self: Self, b: Int, /)
__le__(self: Self, b: UInt, /)
__le__(self: Self, b: bool, /)
class float128
Special methods
14
__add__(self: Self, b: float)
__add__(self: Self, b: float32)
__add__(self: Self, b: float16)
__add__(self: Self, b: bfloat16)
__add__(self: Self, b: Int)
__add__(self: Self, b: UInt)
__add__(self: Self, b: bool)
__sub__(self: Self, b: float)
__sub__(self: Self, b: float32)
__sub__(self: Self, b: float16)
__sub__(self: Self, b: bfloat16)
__sub__(self: Self, b: Int)
__sub__(self: Self, b: UInt)
__sub__(self: Self, b: bool)
__mul__(self: Self, b: float)
__mul__(self: Self, b: float32)
__mul__(self: Self, b: float16)
__mul__(self: Self, b: bfloat16)
__mul__(self: Self, b: Int)
__mul__(self: Self, b: UInt)
__mul__(self: Self, b: bool)
__floordiv__(self: Self, b: float)
__floordiv__(self: Self, b: float32)
__floordiv__(self: Self, b: float16)
__floordiv__(self: Self, b: bfloat16)
__floordiv__(self: Self, b: Int)
__floordiv__(self: Self, b: UInt)
__floordiv__(self: Self, b: bool)
__truediv__(self: Self, b: float)
__truediv__(self: Self, b: float32)
__truediv__(self: Self, b: float16)
__truediv__(self: Self, b: bfloat16)
__truediv__(self: Self, b: Int)
__truediv__(self: Self, b: UInt)
__truediv__(self: Self, b: bool)
__mod__(self: Self, b: float)
__mod__(self: Self, b: float32)
__mod__(self: Self, b: float16)
__mod__(self: Self, b: bfloat16)
__mod__(self: Self, b: Int)
__mod__(self: Self, b: UInt)
__mod__(self: Self, b: bool)
__divmod__(self: Self, b: float)
__divmod__(self: Self, b: float32)
__divmod__(self: Self, b: float16)
__divmod__(self: Self, b: bfloat16)
__divmod__(self: Self, b: Int)
__divmod__(self: Self, b: UInt)
__divmod__(self: Self, b: bool)
__pow__(self: Self, b: float)
__pow__(self: Self, b: float32)
__pow__(self: Self, b: float16)
__pow__(self: Self, b: bfloat16)
__pow__(self: Self, b: Int)
__pow__(self: Self, b: UInt)
__pow__(self: Self, b: bool)
__eq__(self: Self, b: float)
__eq__(self: Self, b: float32)
__eq__(self: Self, b: float16)
__eq__(self: Self, b: bfloat16)
__eq__(self: Self, b: Int)
__eq__(self: Self, b: UInt)
__eq__(self: Self, b: bool)
__ne__(self: Self, b: float)
__ne__(self: Self, b: float32)
__ne__(self: Self, b: float16)
__ne__(self: Self, b: bfloat16)
__ne__(self: Self, b: Int)
__ne__(self: Self, b: UInt)
__ne__(self: Self, b: bool)
__lt__(self: Self, b: float)
__lt__(self: Self, b: float32)
__lt__(self: Self, b: float16)
__lt__(self: Self, b: bfloat16)
__lt__(self: Self, b: Int)
__lt__(self: Self, b: UInt)
__lt__(self: Self, b: bool)
__gt__(self: Self, b: float)
__gt__(self: Self, b: float32)
__gt__(self: Self, b: float16)
__gt__(self: Self, b: bfloat16)
__gt__(self: Self, b: Int)
__gt__(self: Self, b: UInt)
__gt__(self: Self, b: bool)
__le__(self: Self, b: float)
__le__(self: Self, b: float32)
__le__(self: Self, b: float16)
__le__(self: Self, b: bfloat16)
__le__(self: Self, b: Int)
__le__(self: Self, b: UInt)
__le__(self: Self, b: bool)
class float32
Special methods
14
__add__(self: Self, b: float)
__add__(self: Self, b: float128)
__add__(self: Self, b: float16)
__add__(self: Self, b: bfloat16)
__add__(self: Self, b: Int)
__add__(self: Self, b: UInt)
__add__(self: Self, b: bool)
__sub__(self: Self, b: float)
__sub__(self: Self, b: float128)
__sub__(self: Self, b: float16)
__sub__(self: Self, b: bfloat16)
__sub__(self: Self, b: Int)
__sub__(self: Self, b: UInt)
__sub__(self: Self, b: bool)
__mul__(self: Self, b: float)
__mul__(self: Self, b: float128)
__mul__(self: Self, b: float16)
__mul__(self: Self, b: bfloat16)
__mul__(self: Self, b: Int)
__mul__(self: Self, b: UInt)
__mul__(self: Self, b: bool)
__floordiv__(self: Self, b: float)
__floordiv__(self: Self, b: float128)
__floordiv__(self: Self, b: float16)
__floordiv__(self: Self, b: bfloat16)
__floordiv__(self: Self, b: Int)
__floordiv__(self: Self, b: UInt)
__floordiv__(self: Self, b: bool)
__truediv__(self: Self, b: float)
__truediv__(self: Self, b: float128)
__truediv__(self: Self, b: float16)
__truediv__(self: Self, b: bfloat16)
__truediv__(self: Self, b: Int)
__truediv__(self: Self, b: UInt)
__truediv__(self: Self, b: bool)
__mod__(self: Self, b: float)
__mod__(self: Self, b: float128)
__mod__(self: Self, b: float16)
__mod__(self: Self, b: bfloat16)
__mod__(self: Self, b: Int)
__mod__(self: Self, b: UInt)
__mod__(self: Self, b: bool)
__divmod__(self: Self, b: float)
__divmod__(self: Self, b: float128)
__divmod__(self: Self, b: float16)
__divmod__(self: Self, b: bfloat16)
__divmod__(self: Self, b: Int)
__divmod__(self: Self, b: UInt)
__divmod__(self: Self, b: bool)
__pow__(self: Self, b: float)
__pow__(self: Self, b: float128)
__pow__(self: Self, b: float16)
__pow__(self: Self, b: bfloat16)
__pow__(self: Self, b: Int)
__pow__(self: Self, b: UInt)
__pow__(self: Self, b: bool)
__eq__(self: Self, b: float)
__eq__(self: Self, b: float128)
__eq__(self: Self, b: float16)
__eq__(self: Self, b: bfloat16)
__eq__(self: Self, b: Int)
__eq__(self: Self, b: UInt)
__eq__(self: Self, b: bool)
__ne__(self: Self, b: float)
__ne__(self: Self, b: float128)
__ne__(self: Self, b: float16)
__ne__(self: Self, b: bfloat16)
__ne__(self: Self, b: Int)
__ne__(self: Self, b: UInt)
__ne__(self: Self, b: bool)
__lt__(self: Self, b: float)
__lt__(self: Self, b: float128)
__lt__(self: Self, b: float16)
__lt__(self: Self, b: bfloat16)
__lt__(self: Self, b: Int)
__lt__(self: Self, b: UInt)
__lt__(self: Self, b: bool)
__gt__(self: Self, b: float)
__gt__(self: Self, b: float128)
__gt__(self: Self, b: float16)
__gt__(self: Self, b: bfloat16)
__gt__(self: Self, b: Int)
__gt__(self: Self, b: UInt)
__gt__(self: Self, b: bool)
__le__(self: Self, b: float)
__le__(self: Self, b: float128)
__le__(self: Self, b: float16)
__le__(self: Self, b: bfloat16)
__le__(self: Self, b: Int)
__le__(self: Self, b: UInt)
__le__(self: Self, b: bool)
class float16
Special methods
14
__add__(self: Self, b: float)
__add__(self: Self, b: float128)
__add__(self: Self, b: float32)
__add__(self: Self, b: bfloat16)
__add__(self: Self, b: Int)
__add__(self: Self, b: UInt)
__add__(self: Self, b: bool)
__sub__(self: Self, b: float)
__sub__(self: Self, b: float128)
__sub__(self: Self, b: float32)
__sub__(self: Self, b: bfloat16)
__sub__(self: Self, b: Int)
__sub__(self: Self, b: UInt)
__sub__(self: Self, b: bool)
__mul__(self: Self, b: float)
__mul__(self: Self, b: float128)
__mul__(self: Self, b: float32)
__mul__(self: Self, b: bfloat16)
__mul__(self: Self, b: Int)
__mul__(self: Self, b: UInt)
__mul__(self: Self, b: bool)
__floordiv__(self: Self, b: float)
__floordiv__(self: Self, b: float128)
__floordiv__(self: Self, b: float32)
__floordiv__(self: Self, b: bfloat16)
__floordiv__(self: Self, b: Int)
__floordiv__(self: Self, b: UInt)
__floordiv__(self: Self, b: bool)
__truediv__(self: Self, b: float)
__truediv__(self: Self, b: float128)
__truediv__(self: Self, b: float32)
__truediv__(self: Self, b: bfloat16)
__truediv__(self: Self, b: Int)
__truediv__(self: Self, b: UInt)
__truediv__(self: Self, b: bool)
__mod__(self: Self, b: float)
__mod__(self: Self, b: float128)
__mod__(self: Self, b: float32)
__mod__(self: Self, b: bfloat16)
__mod__(self: Self, b: Int)
__mod__(self: Self, b: UInt)
__mod__(self: Self, b: bool)
__divmod__(self: Self, b: float)
__divmod__(self: Self, b: float128)
__divmod__(self: Self, b: float32)
__divmod__(self: Self, b: bfloat16)
__divmod__(self: Self, b: Int)
__divmod__(self: Self, b: UInt)
__divmod__(self: Self, b: bool)
__pow__(self: Self, b: float)
__pow__(self: Self, b: float128)
__pow__(self: Self, b: float32)
__pow__(self: Self, b: bfloat16)
__pow__(self: Self, b: Int)
__pow__(self: Self, b: UInt)
__pow__(self: Self, b: bool)
__eq__(self: Self, b: float)
__eq__(self: Self, b: float128)
__eq__(self: Self, b: float32)
__eq__(self: Self, b: bfloat16)
__eq__(self: Self, b: Int)
__eq__(self: Self, b: UInt)
__eq__(self: Self, b: bool)
__ne__(self: Self, b: float)
__ne__(self: Self, b: float128)
__ne__(self: Self, b: float32)
__ne__(self: Self, b: bfloat16)
__ne__(self: Self, b: Int)
__ne__(self: Self, b: UInt)
__ne__(self: Self, b: bool)
__lt__(self: Self, b: float)
__lt__(self: Self, b: float128)
__lt__(self: Self, b: float32)
__lt__(self: Self, b: bfloat16)
__lt__(self: Self, b: Int)
__lt__(self: Self, b: UInt)
__lt__(self: Self, b: bool)
__gt__(self: Self, b: float)
__gt__(self: Self, b: float128)
__gt__(self: Self, b: float32)
__gt__(self: Self, b: bfloat16)
__gt__(self: Self, b: Int)
__gt__(self: Self, b: UInt)
__gt__(self: Self, b: bool)
__le__(self: Self, b: float)
__le__(self: Self, b: float128)
__le__(self: Self, b: float32)
__le__(self: Self, b: bfloat16)
__le__(self: Self, b: Int)
__le__(self: Self, b: UInt)
__le__(self: Self, b: bool)
class bfloat16
Special methods
14
__add__(self: Self, b: float)
__add__(self: Self, b: float128)
__add__(self: Self, b: float32)
__add__(self: Self, b: float16)
__add__(self: Self, b: Int)
__add__(self: Self, b: UInt)
__add__(self: Self, b: bool)
__sub__(self: Self, b: float)
__sub__(self: Self, b: float128)
__sub__(self: Self, b: float32)
__sub__(self: Self, b: float16)
__sub__(self: Self, b: Int)
__sub__(self: Self, b: UInt)
__sub__(self: Self, b: bool)
__mul__(self: Self, b: float)
__mul__(self: Self, b: float128)
__mul__(self: Self, b: float32)
__mul__(self: Self, b: float16)
__mul__(self: Self, b: Int)
__mul__(self: Self, b: UInt)
__mul__(self: Self, b: bool)
__floordiv__(self: Self, b: float)
__floordiv__(self: Self, b: float128)
__floordiv__(self: Self, b: float32)
__floordiv__(self: Self, b: float16)
__floordiv__(self: Self, b: Int)
__floordiv__(self: Self, b: UInt)
__floordiv__(self: Self, b: bool)
__truediv__(self: Self, b: float)
__truediv__(self: Self, b: float128)
__truediv__(self: Self, b: float32)
__truediv__(self: Self, b: float16)
__truediv__(self: Self, b: Int)
__truediv__(self: Self, b: UInt)
__truediv__(self: Self, b: bool)
__mod__(self: Self, b: float)
__mod__(self: Self, b: float128)
__mod__(self: Self, b: float32)
__mod__(self: Self, b: float16)
__mod__(self: Self, b: Int)
__mod__(self: Self, b: UInt)
__mod__(self: Self, b: bool)
__divmod__(self: Self, b: float)
__divmod__(self: Self, b: float128)
__divmod__(self: Self, b: float32)
__divmod__(self: Self, b: float16)
__divmod__(self: Self, b: Int)
__divmod__(self: Self, b: UInt)
__divmod__(self: Self, b: bool)
__pow__(self: Self, b: float)
__pow__(self: Self, b: float128)
__pow__(self: Self, b: float32)
__pow__(self: Self, b: float16)
__pow__(self: Self, b: Int)
__pow__(self: Self, b: UInt)
__pow__(self: Self, b: bool)
__eq__(self: Self, b: float)
__eq__(self: Self, b: float128)
__eq__(self: Self, b: float32)
__eq__(self: Self, b: float16)
__eq__(self: Self, b: Int)
__eq__(self: Self, b: UInt)
__eq__(self: Self, b: bool)
__ne__(self: Self, b: float)
__ne__(self: Self, b: float128)
__ne__(self: Self, b: float32)
__ne__(self: Self, b: float16)
__ne__(self: Self, b: Int)
__ne__(self: Self, b: UInt)
__ne__(self: Self, b: bool)
__lt__(self: Self, b: float)
__lt__(self: Self, b: float128)
__lt__(self: Self, b: float32)
__lt__(self: Self, b: float16)
__lt__(self: Self, b: Int)
__lt__(self: Self, b: UInt)
__lt__(self: Self, b: bool)
__gt__(self: Self, b: float)
__gt__(self: Self, b: float128)
__gt__(self: Self, b: float32)
__gt__(self: Self, b: float16)
__gt__(self: Self, b: Int)
__gt__(self: Self, b: UInt)
__gt__(self: Self, b: bool)
__le__(self: Self, b: float)
__le__(self: Self, b: float128)
__le__(self: Self, b: float32)
__le__(self: Self, b: float16)
__le__(self: Self, b: Int)
__le__(self: Self, b: UInt)
__le__(self: Self, b: bool)
class bool
Extends
internal.core.bool · View complete class API →
Special methods
14
__add__(self: Self, b: float, /)
__add__(self: Self, b: float128, /)
__add__(self: Self, b: float32, /)
__add__(self: Self, b: float16, /)
__add__(self: Self, b: bfloat16, /)
__add__(self: Self, b: Int, /)
__add__(self: Self, b: UInt, /)
__sub__(self: Self, b: float, /)
__sub__(self: Self, b: float128, /)
__sub__(self: Self, b: float32, /)
__sub__(self: Self, b: float16, /)
__sub__(self: Self, b: bfloat16, /)
__sub__(self: Self, b: Int, /)
__sub__(self: Self, b: UInt, /)
__mul__(self: Self, b: float, /)
__mul__(self: Self, b: float128, /)
__mul__(self: Self, b: float32, /)
__mul__(self: Self, b: float16, /)
__mul__(self: Self, b: bfloat16, /)
__mul__(self: Self, b: Int, /)
__mul__(self: Self, b: UInt, /)
__floordiv__(self: Self, b: float, /)
__floordiv__(self: Self, b: float128, /)
__floordiv__(self: Self, b: float32, /)
__floordiv__(self: Self, b: float16, /)
__floordiv__(self: Self, b: bfloat16, /)
__floordiv__(self: Self, b: Int, /)
__floordiv__(self: Self, b: UInt, /)
__truediv__(self: Self, b: float, /)
__truediv__(self: Self, b: float128, /)
__truediv__(self: Self, b: float32, /)
__truediv__(self: Self, b: float16, /)
__truediv__(self: Self, b: bfloat16, /)
__truediv__(self: Self, b: Int, /)
__truediv__(self: Self, b: UInt, /)
__mod__(self: Self, b: float, /)
__mod__(self: Self, b: float128, /)
__mod__(self: Self, b: float32, /)
__mod__(self: Self, b: float16, /)
__mod__(self: Self, b: bfloat16, /)
__mod__(self: Self, b: Int, /)
__mod__(self: Self, b: UInt, /)
__divmod__(self: Self, b: float, /)
__divmod__(self: Self, b: float128, /)
__divmod__(self: Self, b: float32, /)
__divmod__(self: Self, b: float16, /)
__divmod__(self: Self, b: bfloat16, /)
__divmod__(self: Self, b: Int, /)
__divmod__(self: Self, b: UInt, /)
__pow__(self: Self, b: float, /)
__pow__(self: Self, b: float128, /)
__pow__(self: Self, b: float32, /)
__pow__(self: Self, b: float16, /)
__pow__(self: Self, b: bfloat16, /)
__pow__(self: Self, b: Int, /)
__pow__(self: Self, b: UInt, /)
__eq__(self: Self, b: float, /)
__eq__(self: Self, b: float128, /)
__eq__(self: Self, b: float32, /)
__eq__(self: Self, b: float16, /)
__eq__(self: Self, b: bfloat16, /)
__eq__(self: Self, b: Int, /)
__eq__(self: Self, b: UInt, /)
__ne__(self: Self, b: float, /)
__ne__(self: Self, b: float128, /)
__ne__(self: Self, b: float32, /)
__ne__(self: Self, b: float16, /)
__ne__(self: Self, b: bfloat16, /)
__ne__(self: Self, b: Int, /)
__ne__(self: Self, b: UInt, /)
__lt__(self: Self, b: float, /)
__lt__(self: Self, b: float128, /)
__lt__(self: Self, b: float32, /)
__lt__(self: Self, b: float16, /)
__lt__(self: Self, b: bfloat16, /)
__lt__(self: Self, b: Int, /)
__lt__(self: Self, b: UInt, /)
__gt__(self: Self, b: float, /)
__gt__(self: Self, b: float128, /)
__gt__(self: Self, b: float32, /)
__gt__(self: Self, b: float16, /)
__gt__(self: Self, b: bfloat16, /)
__gt__(self: Self, b: Int, /)
__gt__(self: Self, b: UInt, /)
__le__(self: Self, b: float, /)
__le__(self: Self, b: float128, /)
__le__(self: Self, b: float32, /)
__le__(self: Self, b: float16, /)
__le__(self: Self, b: bfloat16, /)
__le__(self: Self, b: Int, /)
__le__(self: Self, b: UInt, /)