diff options
| author | stijn | 2019-07-02 10:28:44 +0200 |
|---|---|---|
| committer | Damien George | 2019-08-17 23:23:17 +1000 |
| commit | af5c998f37ddc62abfd36e0b8be511c392fc25d8 (patch) | |
| tree | 3cdabcc1b382ee0f1ce87a5ad1cabd8c96b2fa8b /tests/float/math_isclose.py.exp | |
| parent | 3eff81288cb494c7d1a9fcf0a82d4e21bbd92dd8 (diff) | |
py/modmath: Implement math.isclose() for non-complex numbers.
As per PEP 485, this function appeared in for Python 3.5. Configured via
MICROPY_PY_MATH_ISCLOSE which is disabled by default, but enabled for the
ports which already have MICROPY_PY_MATH_SPECIAL_FUNCTIONS enabled.
Diffstat (limited to 'tests/float/math_isclose.py.exp')
| -rw-r--r-- | tests/float/math_isclose.py.exp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/float/math_isclose.py.exp b/tests/float/math_isclose.py.exp new file mode 100644 index 000000000..02974666c --- /dev/null +++ b/tests/float/math_isclose.py.exp @@ -0,0 +1,27 @@ +False +False +False +True +True +False +False +True +True +False +False +True +True +True +True +True +False +True +False +True +True +True +True +True +False +ValueError +ValueError |
