Skip to content

module internal.pynumerics

Source: stdlib/internal/pynumerics.codon


int @extend Class is extended to add given methods

Magic methods

__floordiv__(self, other: float)

__floordiv__(self, other: int)

__truediv__(self, other: float)

__truediv__(self, other: int)

__mod__(self, other: float)

__mod__(self, other: int)

__divmod__(self, other: float)

__divmod__(self, other: int)


float @extend Class is extended to add given methods

Magic methods

__floordiv__(self, other: float)

__floordiv__(self, other: int)

__truediv__(self, other: float)

__truediv__(self, other: int)

__mod__(self, other: float)

__mod__(self, other: int)

__divmod__(self, other: float)

__divmod__(self, other: int)