internal.types.float

Source code: internal/types/float.seq

internal.types.float.seq_str_float(: float)
internal.types.float.strtod(: cobj,  : Ptr[cobj])
extension float

Magic methods:

__new__()
__new__(f: float)
__new__(i: int)
__str__()
__copy__()
__bool__()
__pos__()
__neg__()
__add__(a: float, b: float)
__add__(other: int)
__sub__(a: float, b: float)
__sub__(other: int)
__mul__(a: float, b: float)
__mul__(other: int)
__floordiv__(other: float)
__floordiv__(other: int)
__truediv__(a: float, b: float)
__truediv__(other: int)
__mod__(a: float, b: float)
__mod__(other: int)
__eq__(a: float, b: float)
__eq__(other: int)
__ne__(a: float, b: float)
__ne__(other: int)
__lt__(a: float, b: float)
__lt__(other: int)
__gt__(a: float, b: float)
__gt__(other: int)
__le__(a: float, b: float)
__le__(other: int)
__ge__(a: float, b: float)
__ge__(other: int)
__abs__(a: float)
__floor__(a: float)
__ceil__(a: float)
__trunc__(a: float)
__round__(a: float)
__pow__(a: float, b: float)
__pow__(other: int)
__hash__()
__new__(s: str)

Methods:

sqrt(a: float)
sin(a: float)
cos(a: float)
exp(a: float)
exp2(a: float)
log(a: float)
log10(a: float)
log2(a: float)
rint(a: float)
nearbyint(a: float)
min(a: float, b: float)
max(a: float, b: float)
copysign(a: float, b: float)
fma(a: float, b: float, c: float)