internal.ops

Standard library module View source
class Int
@extend
class Int[N]
Constructors 7
__new__
__new__(what)
__new__
__new__(what: bool)
__new__
__new__(what: float)
__new__
__new__(what: float128)
__new__
__new__(what: float32)
__new__
__new__(what: float16)
__new__
__new__(what: bfloat16)
class UInt
@extend
class UInt[N]
Constructors 7
__new__
__new__(what)
__new__
__new__(what: bool)
__new__
__new__(what: float)
__new__
__new__(what: float128)
__new__
__new__(what: float32)
__new__
__new__(what: float16)
__new__
__new__(what: bfloat16)
class float
@extend
class float
Constructors 7
__new__
__new__(what)
__new__
__new__(what: bool)
__new__
@pure @llvm
__new__(what: Int[N], N: Literal[int])
%0 = sitofp i{=N} %what to double
ret double %0
__new__
@pure @llvm
__new__(what: UInt[N], N: Literal[int])
%0 = uitofp i{=N} %what to double
ret double %0
__new__
@pure @llvm
__new__(what: float32)
%0 = fpext float %what to double
ret double %0
__new__
@pure @llvm
__new__(what: float16)
%0 = fpext half %what to double
ret double %0
__new__
@pure @llvm
__new__(what: bfloat16)
%0 = fpext bfloat %what to double
ret double %0
class float128
@extend
class float128
Constructors 7
__new__
__new__(what)
__new__
__new__(what: bool)
__new__
@pure @llvm
__new__(what: Int[N], N: Literal[int])
%0 = sitofp i{=N} %what to fp128
ret fp128 %0
__new__
@pure @llvm
__new__(what: UInt[N], N: Literal[int])
%0 = uitofp i{=N} %what to fp128
ret fp128 %0
__new__
@pure @llvm
__new__(what: float32)
%0 = fpext float %what to fp128
ret fp128 %0
__new__
@pure @llvm
__new__(what: float16)
%0 = fpext half %what to fp128
ret fp128 %0
__new__
@pure @llvm
__new__(what: bfloat16)
%0 = fpext bfloat %what to fp128
ret fp128 %0
class float32
@extend
class float32
Constructors 7
__new__
__new__(what)
__new__
__new__(what: bool)
__new__
@pure @llvm
__new__(what: Int[N], N: Literal[int])
%0 = sitofp i{=N} %what to float
ret float %0
__new__
@pure @llvm
__new__(what: UInt[N], N: Literal[int])
%0 = uitofp i{=N} %what to float
ret float %0
__new__
@pure @llvm
__new__(what: float128)
%0 = fptrunc fp128 %what to float
ret float %0
__new__
@pure @llvm
__new__(what: float16)
%0 = fpext half %what to float
ret float %0
__new__
@pure @llvm
__new__(what: bfloat16)
%0 = fpext bfloat %what to float
ret float %0
class float16
@extend
class float16
Constructors 7
__new__
__new__(what)
__new__
__new__(what: bool)
__new__
@pure @llvm
__new__(what: Int[N], N: Literal[int])
%0 = sitofp i{=N} %what to half
ret half %0
__new__
@pure @llvm
__new__(what: UInt[N], N: Literal[int])
%0 = uitofp i{=N} %what to half
ret half %0
__new__
@pure @llvm
__new__(what: float128)
%0 = fptrunc fp128 %what to half
ret half %0
__new__
@pure @llvm
__new__(what: float32)
%0 = fptrunc float %what to half
ret half %0
__new__
@pure @llvm
__new__(what: bfloat16)
%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)
__new__
__new__(what: bool)
__new__
@pure @llvm
__new__(what: Int[N], N: Literal[int])
%0 = sitofp i{=N} %what to bfloat
ret bfloat %0
__new__
@pure @llvm
__new__(what: UInt[N], N: Literal[int])
%0 = uitofp i{=N} %what to bfloat
ret bfloat %0
__new__
@pure @llvm
__new__(what: float128)
%0 = fptrunc fp128 %what to bfloat
ret bfloat %0
__new__
@pure @llvm
__new__(what: float32)
%0 = fptrunc float %what to bfloat
ret bfloat %0
__new__
@pure @llvm
__new__(what: float16)
%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, b: float)
__add__(self, b: float128)
__add__(self, b: float32)
__add__(self, b: float16)
__add__(self, b: bfloat16)
__add__(self, b: Int)
__add__(self, b: UInt)
__add__(self, b: bool)
__sub__
__sub__(self, b: float)
__sub__(self, b: float128)
__sub__(self, b: float32)
__sub__(self, b: float16)
__sub__(self, b: bfloat16)
__sub__(self, b: Int)
__sub__(self, b: UInt)
__sub__(self, b: bool)
__mul__
@commutative
__mul__(self, b: float)
__mul__(self, b: float128)
__mul__(self, b: float32)
__mul__(self, b: float16)
__mul__(self, b: bfloat16)
__mul__(self, b: Int)
__mul__(self, b: UInt)
__mul__(self, b: bool)
__floordiv__
__floordiv__(self, b: float)
__floordiv__(self, b: float128)
__floordiv__(self, b: float32)
__floordiv__(self, b: float16)
__floordiv__(self, b: bfloat16)
__floordiv__(self, b: Int)
__floordiv__(self, b: UInt)
__floordiv__(self, b: bool)
__truediv__
__truediv__(self, b: float)
__truediv__(self, b: float128)
__truediv__(self, b: float32)
__truediv__(self, b: float16)
__truediv__(self, b: bfloat16)
__truediv__(self, b: Int)
__truediv__(self, b: UInt)
__truediv__(self, b: bool)
__mod__
__mod__(self, b: float)
__mod__(self, b: float128)
__mod__(self, b: float32)
__mod__(self, b: float16)
__mod__(self, b: bfloat16)
__mod__(self, b: Int)
__mod__(self, b: UInt)
__mod__(self, b: bool)
__divmod__
__divmod__(self, b: float)
__divmod__(self, b: float128)
__divmod__(self, b: float32)
__divmod__(self, b: float16)
__divmod__(self, b: bfloat16)
__divmod__(self, b: Int)
__divmod__(self, b: UInt)
__divmod__(self, b: bool)
__pow__
__pow__(self, b: float)
__pow__(self, b: float128)
__pow__(self, b: float32)
__pow__(self, b: float16)
__pow__(self, b: bfloat16)
__pow__(self, b: Int)
__pow__(self, b: UInt)
__pow__(self, b: bool)
__eq__
__eq__(self, b: float)
__eq__(self, b: float128)
__eq__(self, b: float32)
__eq__(self, b: float16)
__eq__(self, b: bfloat16)
__eq__(self, b: Int)
__eq__(self, b: UInt)
__eq__(self, b: bool)
__ne__
__ne__(self, b: float)
__ne__(self, b: float128)
__ne__(self, b: float32)
__ne__(self, b: float16)
__ne__(self, b: bfloat16)
__ne__(self, b: Int)
__ne__(self, b: UInt)
__ne__(self, b: bool)
__lt__
__lt__(self, b: float)
__lt__(self, b: float128)
__lt__(self, b: float32)
__lt__(self, b: float16)
__lt__(self, b: bfloat16)
__lt__(self, b: Int)
__lt__(self, b: UInt)
__lt__(self, b: bool)
__gt__
__gt__(self, b: float)
__gt__(self, b: float128)
__gt__(self, b: float32)
__gt__(self, b: float16)
__gt__(self, b: bfloat16)
__gt__(self, b: Int)
__gt__(self, b: UInt)
__gt__(self, b: bool)
__le__
__le__(self, b: float)
__le__(self, b: float128)
__le__(self, b: float32)
__le__(self, b: float16)
__le__(self, b: bfloat16)
__le__(self, b: Int)
__le__(self, b: UInt)
__le__(self, b: bool)
__ge__
__ge__(self, b: float)
__ge__(self, b: float128)
__ge__(self, b: float32)
__ge__(self, b: float16)
__ge__(self, b: bfloat16)
__ge__(self, b: Int)
__ge__(self, b: UInt)
__ge__(self, b: bool)
class UInt
@extend
class UInt[N]
Special methods 14
__add__
@commutative
__add__(self, b: float)
__add__(self, b: float128)
__add__(self, b: float32)
__add__(self, b: float16)
__add__(self, b: bfloat16)
__add__(self, b: Int)
__add__(self, b: UInt)
__add__(self, b: bool)
__sub__
__sub__(self, b: float)
__sub__(self, b: float128)
__sub__(self, b: float32)
__sub__(self, b: float16)
__sub__(self, b: bfloat16)
__sub__(self, b: Int)
__sub__(self, b: UInt)
__sub__(self, b: bool)
__mul__
@commutative
__mul__(self, b: float)
__mul__(self, b: float128)
__mul__(self, b: float32)
__mul__(self, b: float16)
__mul__(self, b: bfloat16)
__mul__(self, b: Int)
__mul__(self, b: UInt)
__mul__(self, b: bool)
__floordiv__
__floordiv__(self, b: float)
__floordiv__(self, b: float128)
__floordiv__(self, b: float32)
__floordiv__(self, b: float16)
__floordiv__(self, b: bfloat16)
__floordiv__(self, b: Int)
__floordiv__(self, b: UInt)
__floordiv__(self, b: bool)
__truediv__
__truediv__(self, b: float)
__truediv__(self, b: float128)
__truediv__(self, b: float32)
__truediv__(self, b: float16)
__truediv__(self, b: bfloat16)
__truediv__(self, b: Int)
__truediv__(self, b: UInt)
__truediv__(self, b: bool)
__mod__
__mod__(self, b: float)
__mod__(self, b: float128)
__mod__(self, b: float32)
__mod__(self, b: float16)
__mod__(self, b: bfloat16)
__mod__(self, b: Int)
__mod__(self, b: UInt)
__mod__(self, b: bool)
__divmod__
__divmod__(self, b: float)
__divmod__(self, b: float128)
__divmod__(self, b: float32)
__divmod__(self, b: float16)
__divmod__(self, b: bfloat16)
__divmod__(self, b: Int)
__divmod__(self, b: UInt)
__divmod__(self, b: bool)
__pow__
__pow__(self, b: float)
__pow__(self, b: float128)
__pow__(self, b: float32)
__pow__(self, b: float16)
__pow__(self, b: bfloat16)
__pow__(self, b: Int)
__pow__(self, b: UInt)
__pow__(self, b: bool)
__eq__
__eq__(self, b: float)
__eq__(self, b: float128)
__eq__(self, b: float32)
__eq__(self, b: float16)
__eq__(self, b: bfloat16)
__eq__(self, b: Int)
__eq__(self, b: UInt)
__eq__(self, b: bool)
__ne__
__ne__(self, b: float)
__ne__(self, b: float128)
__ne__(self, b: float32)
__ne__(self, b: float16)
__ne__(self, b: bfloat16)
__ne__(self, b: Int)
__ne__(self, b: UInt)
__ne__(self, b: bool)
__lt__
__lt__(self, b: float)
__lt__(self, b: float128)
__lt__(self, b: float32)
__lt__(self, b: float16)
__lt__(self, b: bfloat16)
__lt__(self, b: Int)
__lt__(self, b: UInt)
__lt__(self, b: bool)
__gt__
__gt__(self, b: float)
__gt__(self, b: float128)
__gt__(self, b: float32)
__gt__(self, b: float16)
__gt__(self, b: bfloat16)
__gt__(self, b: Int)
__gt__(self, b: UInt)
__gt__(self, b: bool)
__le__
__le__(self, b: float)
__le__(self, b: float128)
__le__(self, b: float32)
__le__(self, b: float16)
__le__(self, b: bfloat16)
__le__(self, b: Int)
__le__(self, b: UInt)
__le__(self, b: bool)
__ge__
__ge__(self, b: float)
__ge__(self, b: float128)
__ge__(self, b: float32)
__ge__(self, b: float16)
__ge__(self, b: bfloat16)
__ge__(self, b: Int)
__ge__(self, b: UInt)
__ge__(self, b: bool)
class float
@extend
class float
Special methods 14
__add__
@commutative
__add__(self, b: float128)
__add__(self, b: float32)
__add__(self, b: float16)
__add__(self, b: bfloat16)
__add__(self, b: Int)
__add__(self, b: UInt)
__add__(self, b: bool)
__sub__
__sub__(self, b: float128)
__sub__(self, b: float32)
__sub__(self, b: float16)
__sub__(self, b: bfloat16)
__sub__(self, b: Int)
__sub__(self, b: UInt)
__sub__(self, b: bool)
__mul__
@commutative
__mul__(self, b: float128)
__mul__(self, b: float32)
__mul__(self, b: float16)
__mul__(self, b: bfloat16)
__mul__(self, b: Int)
__mul__(self, b: UInt)
__mul__(self, b: bool)
__floordiv__
__floordiv__(self, b: float128)
__floordiv__(self, b: float32)
__floordiv__(self, b: float16)
__floordiv__(self, b: bfloat16)
__floordiv__(self, b: Int)
__floordiv__(self, b: UInt)
__floordiv__(self, b: bool)
__truediv__
__truediv__(self, b: float128)
__truediv__(self, b: float32)
__truediv__(self, b: float16)
__truediv__(self, b: bfloat16)
__truediv__(self, b: Int)
__truediv__(self, b: UInt)
__truediv__(self, b: bool)
__mod__
__mod__(self, b: float128)
__mod__(self, b: float32)
__mod__(self, b: float16)
__mod__(self, b: bfloat16)
__mod__(self, b: Int)
__mod__(self, b: UInt)
__mod__(self, b: bool)
__divmod__
__divmod__(self, b: float128)
__divmod__(self, b: float32)
__divmod__(self, b: float16)
__divmod__(self, b: bfloat16)
__divmod__(self, b: Int)
__divmod__(self, b: UInt)
__divmod__(self, b: bool)
__pow__
__pow__(self, b: float128)
__pow__(self, b: float32)
__pow__(self, b: float16)
__pow__(self, b: bfloat16)
__pow__(self, b: Int)
__pow__(self, b: UInt)
__pow__(self, b: bool)
__eq__
__eq__(self, b: float128)
__eq__(self, b: float32)
__eq__(self, b: float16)
__eq__(self, b: bfloat16)
__eq__(self, b: Int)
__eq__(self, b: UInt)
__eq__(self, b: bool)
__ne__
__ne__(self, b: float128)
__ne__(self, b: float32)
__ne__(self, b: float16)
__ne__(self, b: bfloat16)
__ne__(self, b: Int)
__ne__(self, b: UInt)
__ne__(self, b: bool)
__lt__
__lt__(self, b: float128)
__lt__(self, b: float32)
__lt__(self, b: float16)
__lt__(self, b: bfloat16)
__lt__(self, b: Int)
__lt__(self, b: UInt)
__lt__(self, b: bool)
__gt__
__gt__(self, b: float128)
__gt__(self, b: float32)
__gt__(self, b: float16)
__gt__(self, b: bfloat16)
__gt__(self, b: Int)
__gt__(self, b: UInt)
__gt__(self, b: bool)
__le__
__le__(self, b: float128)
__le__(self, b: float32)
__le__(self, b: float16)
__le__(self, b: bfloat16)
__le__(self, b: Int)
__le__(self, b: UInt)
__le__(self, b: bool)
__ge__
__ge__(self, b: float128)
__ge__(self, b: float32)
__ge__(self, b: float16)
__ge__(self, b: bfloat16)
__ge__(self, b: Int)
__ge__(self, b: UInt)
__ge__(self, b: bool)
class float128
@extend
class float128
Special methods 14
__add__
@commutative
__add__(self, b: float)
__add__(self, b: float32)
__add__(self, b: float16)
__add__(self, b: bfloat16)
__add__(self, b: Int)
__add__(self, b: UInt)
__add__(self, b: bool)
__sub__
__sub__(self, b: float)
__sub__(self, b: float32)
__sub__(self, b: float16)
__sub__(self, b: bfloat16)
__sub__(self, b: Int)
__sub__(self, b: UInt)
__sub__(self, b: bool)
__mul__
@commutative
__mul__(self, b: float)
__mul__(self, b: float32)
__mul__(self, b: float16)
__mul__(self, b: bfloat16)
__mul__(self, b: Int)
__mul__(self, b: UInt)
__mul__(self, b: bool)
__floordiv__
__floordiv__(self, b: float)
__floordiv__(self, b: float32)
__floordiv__(self, b: float16)
__floordiv__(self, b: bfloat16)
__floordiv__(self, b: Int)
__floordiv__(self, b: UInt)
__floordiv__(self, b: bool)
__truediv__
__truediv__(self, b: float)
__truediv__(self, b: float32)
__truediv__(self, b: float16)
__truediv__(self, b: bfloat16)
__truediv__(self, b: Int)
__truediv__(self, b: UInt)
__truediv__(self, b: bool)
__mod__
__mod__(self, b: float)
__mod__(self, b: float32)
__mod__(self, b: float16)
__mod__(self, b: bfloat16)
__mod__(self, b: Int)
__mod__(self, b: UInt)
__mod__(self, b: bool)
__divmod__
__divmod__(self, b: float)
__divmod__(self, b: float32)
__divmod__(self, b: float16)
__divmod__(self, b: bfloat16)
__divmod__(self, b: Int)
__divmod__(self, b: UInt)
__divmod__(self, b: bool)
__pow__
__pow__(self, b: float)
__pow__(self, b: float32)
__pow__(self, b: float16)
__pow__(self, b: bfloat16)
__pow__(self, b: Int)
__pow__(self, b: UInt)
__pow__(self, b: bool)
__eq__
__eq__(self, b: float)
__eq__(self, b: float32)
__eq__(self, b: float16)
__eq__(self, b: bfloat16)
__eq__(self, b: Int)
__eq__(self, b: UInt)
__eq__(self, b: bool)
__ne__
__ne__(self, b: float)
__ne__(self, b: float32)
__ne__(self, b: float16)
__ne__(self, b: bfloat16)
__ne__(self, b: Int)
__ne__(self, b: UInt)
__ne__(self, b: bool)
__lt__
__lt__(self, b: float)
__lt__(self, b: float32)
__lt__(self, b: float16)
__lt__(self, b: bfloat16)
__lt__(self, b: Int)
__lt__(self, b: UInt)
__lt__(self, b: bool)
__gt__
__gt__(self, b: float)
__gt__(self, b: float32)
__gt__(self, b: float16)
__gt__(self, b: bfloat16)
__gt__(self, b: Int)
__gt__(self, b: UInt)
__gt__(self, b: bool)
__le__
__le__(self, b: float)
__le__(self, b: float32)
__le__(self, b: float16)
__le__(self, b: bfloat16)
__le__(self, b: Int)
__le__(self, b: UInt)
__le__(self, b: bool)
__ge__
__ge__(self, b: float)
__ge__(self, b: float32)
__ge__(self, b: float16)
__ge__(self, b: bfloat16)
__ge__(self, b: Int)
__ge__(self, b: UInt)
__ge__(self, b: bool)
class float32
@extend
class float32
Special methods 14
__add__
@commutative
__add__(self, b: float)
__add__(self, b: float128)
__add__(self, b: float16)
__add__(self, b: bfloat16)
__add__(self, b: Int)
__add__(self, b: UInt)
__add__(self, b: bool)
__sub__
__sub__(self, b: float)
__sub__(self, b: float128)
__sub__(self, b: float16)
__sub__(self, b: bfloat16)
__sub__(self, b: Int)
__sub__(self, b: UInt)
__sub__(self, b: bool)
__mul__
@commutative
__mul__(self, b: float)
__mul__(self, b: float128)
__mul__(self, b: float16)
__mul__(self, b: bfloat16)
__mul__(self, b: Int)
__mul__(self, b: UInt)
__mul__(self, b: bool)
__floordiv__
__floordiv__(self, b: float)
__floordiv__(self, b: float128)
__floordiv__(self, b: float16)
__floordiv__(self, b: bfloat16)
__floordiv__(self, b: Int)
__floordiv__(self, b: UInt)
__floordiv__(self, b: bool)
__truediv__
__truediv__(self, b: float)
__truediv__(self, b: float128)
__truediv__(self, b: float16)
__truediv__(self, b: bfloat16)
__truediv__(self, b: Int)
__truediv__(self, b: UInt)
__truediv__(self, b: bool)
__mod__
__mod__(self, b: float)
__mod__(self, b: float128)
__mod__(self, b: float16)
__mod__(self, b: bfloat16)
__mod__(self, b: Int)
__mod__(self, b: UInt)
__mod__(self, b: bool)
__divmod__
__divmod__(self, b: float)
__divmod__(self, b: float128)
__divmod__(self, b: float16)
__divmod__(self, b: bfloat16)
__divmod__(self, b: Int)
__divmod__(self, b: UInt)
__divmod__(self, b: bool)
__pow__
__pow__(self, b: float)
__pow__(self, b: float128)
__pow__(self, b: float16)
__pow__(self, b: bfloat16)
__pow__(self, b: Int)
__pow__(self, b: UInt)
__pow__(self, b: bool)
__eq__
__eq__(self, b: float)
__eq__(self, b: float128)
__eq__(self, b: float16)
__eq__(self, b: bfloat16)
__eq__(self, b: Int)
__eq__(self, b: UInt)
__eq__(self, b: bool)
__ne__
__ne__(self, b: float)
__ne__(self, b: float128)
__ne__(self, b: float16)
__ne__(self, b: bfloat16)
__ne__(self, b: Int)
__ne__(self, b: UInt)
__ne__(self, b: bool)
__lt__
__lt__(self, b: float)
__lt__(self, b: float128)
__lt__(self, b: float16)
__lt__(self, b: bfloat16)
__lt__(self, b: Int)
__lt__(self, b: UInt)
__lt__(self, b: bool)
__gt__
__gt__(self, b: float)
__gt__(self, b: float128)
__gt__(self, b: float16)
__gt__(self, b: bfloat16)
__gt__(self, b: Int)
__gt__(self, b: UInt)
__gt__(self, b: bool)
__le__
__le__(self, b: float)
__le__(self, b: float128)
__le__(self, b: float16)
__le__(self, b: bfloat16)
__le__(self, b: Int)
__le__(self, b: UInt)
__le__(self, b: bool)
__ge__
__ge__(self, b: float)
__ge__(self, b: float128)
__ge__(self, b: float16)
__ge__(self, b: bfloat16)
__ge__(self, b: Int)
__ge__(self, b: UInt)
__ge__(self, b: bool)
class float16
@extend
class float16
Special methods 14
__add__
@commutative
__add__(self, b: float)
__add__(self, b: float128)
__add__(self, b: float32)
__add__(self, b: bfloat16)
__add__(self, b: Int)
__add__(self, b: UInt)
__add__(self, b: bool)
__sub__
__sub__(self, b: float)
__sub__(self, b: float128)
__sub__(self, b: float32)
__sub__(self, b: bfloat16)
__sub__(self, b: Int)
__sub__(self, b: UInt)
__sub__(self, b: bool)
__mul__
@commutative
__mul__(self, b: float)
__mul__(self, b: float128)
__mul__(self, b: float32)
__mul__(self, b: bfloat16)
__mul__(self, b: Int)
__mul__(self, b: UInt)
__mul__(self, b: bool)
__floordiv__
__floordiv__(self, b: float)
__floordiv__(self, b: float128)
__floordiv__(self, b: float32)
__floordiv__(self, b: bfloat16)
__floordiv__(self, b: Int)
__floordiv__(self, b: UInt)
__floordiv__(self, b: bool)
__truediv__
__truediv__(self, b: float)
__truediv__(self, b: float128)
__truediv__(self, b: float32)
__truediv__(self, b: bfloat16)
__truediv__(self, b: Int)
__truediv__(self, b: UInt)
__truediv__(self, b: bool)
__mod__
__mod__(self, b: float)
__mod__(self, b: float128)
__mod__(self, b: float32)
__mod__(self, b: bfloat16)
__mod__(self, b: Int)
__mod__(self, b: UInt)
__mod__(self, b: bool)
__divmod__
__divmod__(self, b: float)
__divmod__(self, b: float128)
__divmod__(self, b: float32)
__divmod__(self, b: bfloat16)
__divmod__(self, b: Int)
__divmod__(self, b: UInt)
__divmod__(self, b: bool)
__pow__
__pow__(self, b: float)
__pow__(self, b: float128)
__pow__(self, b: float32)
__pow__(self, b: bfloat16)
__pow__(self, b: Int)
__pow__(self, b: UInt)
__pow__(self, b: bool)
__eq__
__eq__(self, b: float)
__eq__(self, b: float128)
__eq__(self, b: float32)
__eq__(self, b: bfloat16)
__eq__(self, b: Int)
__eq__(self, b: UInt)
__eq__(self, b: bool)
__ne__
__ne__(self, b: float)
__ne__(self, b: float128)
__ne__(self, b: float32)
__ne__(self, b: bfloat16)
__ne__(self, b: Int)
__ne__(self, b: UInt)
__ne__(self, b: bool)
__lt__
__lt__(self, b: float)
__lt__(self, b: float128)
__lt__(self, b: float32)
__lt__(self, b: bfloat16)
__lt__(self, b: Int)
__lt__(self, b: UInt)
__lt__(self, b: bool)
__gt__
__gt__(self, b: float)
__gt__(self, b: float128)
__gt__(self, b: float32)
__gt__(self, b: bfloat16)
__gt__(self, b: Int)
__gt__(self, b: UInt)
__gt__(self, b: bool)
__le__
__le__(self, b: float)
__le__(self, b: float128)
__le__(self, b: float32)
__le__(self, b: bfloat16)
__le__(self, b: Int)
__le__(self, b: UInt)
__le__(self, b: bool)
__ge__
__ge__(self, b: float)
__ge__(self, b: float128)
__ge__(self, b: float32)
__ge__(self, b: bfloat16)
__ge__(self, b: Int)
__ge__(self, b: UInt)
__ge__(self, b: bool)
class bfloat16
@extend
class bfloat16
Special methods 14
__add__
@commutative
__add__(self, b: float)
__add__(self, b: float128)
__add__(self, b: float32)
__add__(self, b: float16)
__add__(self, b: Int)
__add__(self, b: UInt)
__add__(self, b: bool)
__sub__
__sub__(self, b: float)
__sub__(self, b: float128)
__sub__(self, b: float32)
__sub__(self, b: float16)
__sub__(self, b: Int)
__sub__(self, b: UInt)
__sub__(self, b: bool)
__mul__
@commutative
__mul__(self, b: float)
__mul__(self, b: float128)
__mul__(self, b: float32)
__mul__(self, b: float16)
__mul__(self, b: Int)
__mul__(self, b: UInt)
__mul__(self, b: bool)
__floordiv__
__floordiv__(self, b: float)
__floordiv__(self, b: float128)
__floordiv__(self, b: float32)
__floordiv__(self, b: float16)
__floordiv__(self, b: Int)
__floordiv__(self, b: UInt)
__floordiv__(self, b: bool)
__truediv__
__truediv__(self, b: float)
__truediv__(self, b: float128)
__truediv__(self, b: float32)
__truediv__(self, b: float16)
__truediv__(self, b: Int)
__truediv__(self, b: UInt)
__truediv__(self, b: bool)
__mod__
__mod__(self, b: float)
__mod__(self, b: float128)
__mod__(self, b: float32)
__mod__(self, b: float16)
__mod__(self, b: Int)
__mod__(self, b: UInt)
__mod__(self, b: bool)
__divmod__
__divmod__(self, b: float)
__divmod__(self, b: float128)
__divmod__(self, b: float32)
__divmod__(self, b: float16)
__divmod__(self, b: Int)
__divmod__(self, b: UInt)
__divmod__(self, b: bool)
__pow__
__pow__(self, b: float)
__pow__(self, b: float128)
__pow__(self, b: float32)
__pow__(self, b: float16)
__pow__(self, b: Int)
__pow__(self, b: UInt)
__pow__(self, b: bool)
__eq__
__eq__(self, b: float)
__eq__(self, b: float128)
__eq__(self, b: float32)
__eq__(self, b: float16)
__eq__(self, b: Int)
__eq__(self, b: UInt)
__eq__(self, b: bool)
__ne__
__ne__(self, b: float)
__ne__(self, b: float128)
__ne__(self, b: float32)
__ne__(self, b: float16)
__ne__(self, b: Int)
__ne__(self, b: UInt)
__ne__(self, b: bool)
__lt__
__lt__(self, b: float)
__lt__(self, b: float128)
__lt__(self, b: float32)
__lt__(self, b: float16)
__lt__(self, b: Int)
__lt__(self, b: UInt)
__lt__(self, b: bool)
__gt__
__gt__(self, b: float)
__gt__(self, b: float128)
__gt__(self, b: float32)
__gt__(self, b: float16)
__gt__(self, b: Int)
__gt__(self, b: UInt)
__gt__(self, b: bool)
__le__
__le__(self, b: float)
__le__(self, b: float128)
__le__(self, b: float32)
__le__(self, b: float16)
__le__(self, b: Int)
__le__(self, b: UInt)
__le__(self, b: bool)
__ge__
__ge__(self, b: float)
__ge__(self, b: float128)
__ge__(self, b: float32)
__ge__(self, b: float16)
__ge__(self, b: Int)
__ge__(self, b: UInt)
__ge__(self, b: bool)
class bool
@extend
class bool
Special methods 14
__add__
@commutative
__add__(self, b: float)
__add__(self, b: float128)
__add__(self, b: float32)
__add__(self, b: float16)
__add__(self, b: bfloat16)
__add__(self, b: Int)
__add__(self, b: UInt)
__sub__
__sub__(self, b: float)
__sub__(self, b: float128)
__sub__(self, b: float32)
__sub__(self, b: float16)
__sub__(self, b: bfloat16)
__sub__(self, b: Int)
__sub__(self, b: UInt)
__mul__
@commutative
__mul__(self, b: float)
__mul__(self, b: float128)
__mul__(self, b: float32)
__mul__(self, b: float16)
__mul__(self, b: bfloat16)
__mul__(self, b: Int)
__mul__(self, b: UInt)
__floordiv__
__floordiv__(self, b: float)
__floordiv__(self, b: float128)
__floordiv__(self, b: float32)
__floordiv__(self, b: float16)
__floordiv__(self, b: bfloat16)
__floordiv__(self, b: Int)
__floordiv__(self, b: UInt)
__truediv__
__truediv__(self, b: float)
__truediv__(self, b: float128)
__truediv__(self, b: float32)
__truediv__(self, b: float16)
__truediv__(self, b: bfloat16)
__truediv__(self, b: Int)
__truediv__(self, b: UInt)
__mod__
__mod__(self, b: float)
__mod__(self, b: float128)
__mod__(self, b: float32)
__mod__(self, b: float16)
__mod__(self, b: bfloat16)
__mod__(self, b: Int)
__mod__(self, b: UInt)
__divmod__
__divmod__(self, b: float)
__divmod__(self, b: float128)
__divmod__(self, b: float32)
__divmod__(self, b: float16)
__divmod__(self, b: bfloat16)
__divmod__(self, b: Int)
__divmod__(self, b: UInt)
__pow__
__pow__(self, b: float)
__pow__(self, b: float128)
__pow__(self, b: float32)
__pow__(self, b: float16)
__pow__(self, b: bfloat16)
__pow__(self, b: Int)
__pow__(self, b: UInt)
__eq__
__eq__(self, b: float)
__eq__(self, b: float128)
__eq__(self, b: float32)
__eq__(self, b: float16)
__eq__(self, b: bfloat16)
__eq__(self, b: Int)
__eq__(self, b: UInt)
__ne__
__ne__(self, b: float)
__ne__(self, b: float128)
__ne__(self, b: float32)
__ne__(self, b: float16)
__ne__(self, b: bfloat16)
__ne__(self, b: Int)
__ne__(self, b: UInt)
__lt__
__lt__(self, b: float)
__lt__(self, b: float128)
__lt__(self, b: float32)
__lt__(self, b: float16)
__lt__(self, b: bfloat16)
__lt__(self, b: Int)
__lt__(self, b: UInt)
__gt__
__gt__(self, b: float)
__gt__(self, b: float128)
__gt__(self, b: float32)
__gt__(self, b: float16)
__gt__(self, b: bfloat16)
__gt__(self, b: Int)
__gt__(self, b: UInt)
__le__
__le__(self, b: float)
__le__(self, b: float128)
__le__(self, b: float32)
__le__(self, b: float16)
__le__(self, b: bfloat16)
__le__(self, b: Int)
__le__(self, b: UInt)
__ge__
__ge__(self, b: float)
__ge__(self, b: float128)
__ge__(self, b: float32)
__ge__(self, b: float16)
__ge__(self, b: bfloat16)
__ge__(self, b: Int)
__ge__(self, b: UInt)