ID EN
Decimal

same_quantum

Python 3.11

Test whether self and other have the same exponent or whether both are NaN.

Syntax

PYTHON
same_quantum(other, context=None)