Skip to content

no floor division and divmod for mpf types #333

Description

@ces42

floor division isn't implemented for mpf

>>> mpf(1).__floordiv__
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'mpf' object has no attribute '__floordiv__'

divmod doesn't seem to be implemented for mpf regardless of the type combination

>>> mpf(1).__divmod__
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'mpf' object has no attribute '__divmod__'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behavior

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions