Skip to main content

internal.ops

Standard library Module View source
class Int
@extend
class Int[N]
Constructors 7
__new__
__new__(what, /) -> Int[N]
__new__
__new__(what: bool, /) -> Int[N]
__new__
__new__(what: float, /) -> Int[N]
__new__
__new__(what: float128, /) -> Int[N]
__new__
__new__(what: float32, /) -> Int[N]
__new__
__new__(what: float16, /) -> Int[N]
__new__
__new__(what: bfloat16, /) -> Int[N]
class UInt
@extend
class UInt[N]
Constructors 7
__new__
__new__(what) -> UInt[N]
__new__
__new__(what: bool) -> UInt[N]
__new__
__new__(what: float) -> UInt[N]
__new__
__new__(what: float128) -> UInt[N]
__new__
__new__(what: float32) -> UInt[N]
__new__
__new__(what: float16) -> UInt[N]
__new__
__new__(what: bfloat16) -> UInt[N]
class float
@extend
class float
Constructors 7
__new__
__new__(what, /) -> float
__new__
__new__(what: bool, /) -> float
__new__
@pure @llvm
__new__[N: Literal[int]](what: Int[N], /) -> float
%0 = sitofp i{=N} %what to double
ret double %0
__new__
@pure @llvm
__new__[N: Literal[int]](what: UInt[N], /) -> float
%0 = uitofp i{=N} %what to double
ret double %0
__new__
@pure @llvm
__new__(what: float32, /) -> float
%0 = fpext float %what to double
ret double %0
__new__
@pure @llvm
__new__(what: float16, /) -> float
%0 = fpext half %what to double
ret double %0
__new__
@pure @llvm
__new__(what: bfloat16, /) -> float
%0 = fpext bfloat %what to double
ret double %0
class float128
@extend
class float128
Constructors 7
__new__
__new__(what) -> float128
__new__
__new__(what: bool) -> float128
__new__
@pure @llvm
__new__[N: Literal[int]](what: Int[N]) -> float128
%0 = sitofp i{=N} %what to fp128
ret fp128 %0
__new__
@pure @llvm
__new__[N: Literal[int]](what: UInt[N]) -> float128
%0 = uitofp i{=N} %what to fp128
ret fp128 %0
__new__
@pure @llvm
__new__(what: float32) -> float128
%0 = fpext float %what to fp128
ret fp128 %0
__new__
@pure @llvm
__new__(what: float16) -> float128
%0 = fpext half %what to fp128
ret fp128 %0
__new__
@pure @llvm
__new__(what: bfloat16) -> float128
%0 = fpext bfloat %what to fp128
ret fp128 %0
class float32
@extend
class float32
Constructors 7
__new__
__new__(what) -> float32
__new__
__new__(what: bool) -> float32
__new__
@pure @llvm
__new__[N: Literal[int]](what: Int[N]) -> float32
%0 = sitofp i{=N} %what to float
ret float %0
__new__
@pure @llvm
__new__[N: Literal[int]](what: UInt[N]) -> float32
%0 = uitofp i{=N} %what to float
ret float %0
__new__
@pure @llvm
__new__(what: float128) -> float32
%0 = fptrunc fp128 %what to float
ret float %0
__new__
@pure @llvm
__new__(what: float16) -> float32
%0 = fpext half %what to float
ret float %0
__new__
@pure @llvm
__new__(what: bfloat16) -> float32
%0 = fpext bfloat %what to float
ret float %0
class float16
@extend
class float16
Constructors 7
__new__
__new__(what) -> float16
__new__
__new__(what: bool) -> float16
__new__
@pure @llvm
__new__[N: Literal[int]](what: Int[N]) -> float16
%0 = sitofp i{=N} %what to half
ret half %0
__new__
@pure @llvm
__new__[N: Literal[int]](what: UInt[N]) -> float16
%0 = uitofp i{=N} %what to half
ret half %0
__new__
@pure @llvm
__new__(what: float128) -> float16
%0 = fptrunc fp128 %what to half
ret half %0
__new__
@pure @llvm
__new__(what: float32) -> float16
%0 = fptrunc float %what to half
ret half %0
__new__
@pure @llvm
__new__(what: bfloat16) -> float16
%0 = fpext bfloat %what to float
%1 = fptrunc float %0 to half
ret half %1
class bfloat16
@extend
class bfloat16
Constructors 7
__new__
__new__(what) -> bfloat16
__new__
__new__(what: bool) -> bfloat16
__new__
@pure @llvm
__new__[N: Literal[int]](what: Int[N]) -> bfloat16
%0 = sitofp i{=N} %what to bfloat
ret bfloat %0
__new__
@pure @llvm
__new__[N: Literal[int]](what: UInt[N]) -> bfloat16
%0 = uitofp i{=N} %what to bfloat
ret bfloat %0
__new__
@pure @llvm
__new__(what: float128) -> bfloat16
%0 = fptrunc fp128 %what to bfloat
ret bfloat %0
__new__
@pure @llvm
__new__(what: float32) -> bfloat16
%0 = fptrunc float %what to bfloat
ret bfloat %0
__new__
@pure @llvm
__new__(what: float16) -> bfloat16
%0 = fpext float16 %what to float
%1 = fptrunc float %0 to bfloat
ret bfloat %1
class Int
@extend
class Int[N]
Special methods 14
__add__
@commutative
__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__
__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__
@commutative
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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, /)
__ge__
__ge__(self: Self, b: float, /)
__ge__(self: Self, b: float128, /)
__ge__(self: Self, b: float32, /)
__ge__(self: Self, b: float16, /)
__ge__(self: Self, b: bfloat16, /)
__ge__(self: Self, b: Int, /)
__ge__(self: Self, b: UInt, /)
__ge__(self: Self, b: bool, /)
class UInt
@extend
class UInt[N]
Special methods 14
__add__
@commutative
__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__
__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__
@commutative
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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)
__ge__
__ge__(self: Self, b: float)
__ge__(self: Self, b: float128)
__ge__(self: Self, b: float32)
__ge__(self: Self, b: float16)
__ge__(self: Self, b: bfloat16)
__ge__(self: Self, b: Int)
__ge__(self: Self, b: UInt)
__ge__(self: Self, b: bool)
class float
@extend
class float
Special methods 14
__add__
@commutative
__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__
__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__
@commutative
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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, /)
__ge__
__ge__(self: Self, b: float128, /)
__ge__(self: Self, b: float32, /)
__ge__(self: Self, b: float16, /)
__ge__(self: Self, b: bfloat16, /)
__ge__(self: Self, b: Int, /)
__ge__(self: Self, b: UInt, /)
__ge__(self: Self, b: bool, /)
class float128
@extend
class float128
Special methods 14
__add__
@commutative
__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__
__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__
@commutative
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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)
__ge__
__ge__(self: Self, b: float)
__ge__(self: Self, b: float32)
__ge__(self: Self, b: float16)
__ge__(self: Self, b: bfloat16)
__ge__(self: Self, b: Int)
__ge__(self: Self, b: UInt)
__ge__(self: Self, b: bool)
class float32
@extend
class float32
Special methods 14
__add__
@commutative
__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__
__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__
@commutative
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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)
__ge__
__ge__(self: Self, b: float)
__ge__(self: Self, b: float128)
__ge__(self: Self, b: float16)
__ge__(self: Self, b: bfloat16)
__ge__(self: Self, b: Int)
__ge__(self: Self, b: UInt)
__ge__(self: Self, b: bool)
class float16
@extend
class float16
Special methods 14
__add__
@commutative
__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__
__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__
@commutative
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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)
__ge__
__ge__(self: Self, b: float)
__ge__(self: Self, b: float128)
__ge__(self: Self, b: float32)
__ge__(self: Self, b: bfloat16)
__ge__(self: Self, b: Int)
__ge__(self: Self, b: UInt)
__ge__(self: Self, b: bool)
class bfloat16
@extend
class bfloat16
Special methods 14
__add__
@commutative
__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__
__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__
@commutative
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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)
__ge__
__ge__(self: Self, b: float)
__ge__(self: Self, b: float128)
__ge__(self: Self, b: float32)
__ge__(self: Self, b: float16)
__ge__(self: Self, b: Int)
__ge__(self: Self, b: UInt)
__ge__(self: Self, b: bool)
class bool
@extend
class bool
Special methods 14
__add__
@commutative
__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__
__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__
@commutative
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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__
__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, /)
__ge__
__ge__(self: Self, b: float, /)
__ge__(self: Self, b: float128, /)
__ge__(self: Self, b: float32, /)
__ge__(self: Self, b: float16, /)
__ge__(self: Self, b: bfloat16, /)
__ge__(self: Self, b: Int, /)
__ge__(self: Self, b: UInt, /)