Skip to content

Commit

Permalink
Improve directed infinity (#809)
Browse files Browse the repository at this point in the history
This is based on one part of #766 related to how DirectedInfinity is
handled. To simplify this, I remove part of the `eval_Times` code
handling this kind of expression and replace it with upvalues rules.
Also, some of the new pytests in #766 were included here.

---------

Co-authored-by: rocky <[email protected]>
Co-authored-by: R. Bernstein <[email protected]>
  • Loading branch information
3 people committed Mar 12, 2023
1 parent 008141b commit df2a9d1
Show file tree
Hide file tree
Showing 5 changed files with 271 additions and 152 deletions.
20 changes: 20 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,26 @@
CHANGES
=======


Compatibility
-------------

* ``*Plot`` does not show messages during the evaluation.



Internals
---

* ``eval_abs`` and ``eval_sign`` extracted from ``Abs`` and ``Sign`` and added to ``mathics.eval.arithmetic``.


Bugs
----

* Improved support for ``DirectedInfinity`` and ``Indeterminate``.


6.0.1
-----

Expand Down
Loading

0 comments on commit df2a9d1

Please sign in to comment.