Skip to content

Commit

Permalink
Add regression test
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Jan 19, 2023
1 parent 33d9763 commit 03eab4e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions diofant/tests/core/test_numbers.py
Expand Up @@ -1587,3 +1587,7 @@ def __ge__(self, other):
assert not bar >= oo
assert oo >= bar
assert bar <= oo


def test_sympyissue_24543():
assert Rational('0.5', '100') == Rational(1, 200)
1 change: 1 addition & 0 deletions docs/release/notes-0.14.rst
Expand Up @@ -118,3 +118,4 @@ These Sympy issues also were addressed:
* :sympyissue:`24386`: sympy.limit yields wrong limit in sigmoidal expression
* :sympyissue:`24390`: Incorrectly evaluated expression
* :sympyissue:`24461`: sympy.polys.polyerrors.HeuristicGCDFailed: no luck -- when multiplying two Polys
* :sympyissue:`24543`: Rational calc value error

0 comments on commit 03eab4e

Please sign in to comment.