~peterpall/maxima/+git/maxima.code:rtoy-bug-4121-atan2-0-neg-x

Last commit made on 2023-09-15
Get this branch:
git clone -b rtoy-bug-4121-atan2-0-neg-x https://git.launchpad.net/~peterpall/maxima/+git/maxima.code

Branch merges

Branch information

Name:
rtoy-bug-4121-atan2-0-neg-x
Repository:
lp:~peterpall/maxima/+git/maxima.code

Recent commits

ab73264... by Raymond Toy <email address hidden>

Fix #4121: atan2(0, <nz>) doesn't simplify

atan2(0,x), when sign(x) is nz should simplify to %pi. The code was
checking for sign(x) being neg, not nz. Modify the code to look for
both, just like how we simplify atan2(0,x) when sign(x) is pos, or pz.

Add test for this. We also fix a typo where the start of comment was
inadvertently left off.

a73f08d... by Raymond Toy <email address hidden>

Add some comments on the branches of the atan2 simplifier

Add a few comments for each branch of the atan2 simplifier to describe
in words what the code is doing.

No functional changes.

46d7115... by Raymond Toy <email address hidden>

Merge branch 'master' into rtoy-bug-4181-qagp-singular-points-check

6936931... by Raymond Toy <email address hidden>

Fix #4143: atan(0,minf) should be %pi.

Fix typo in atan2 simplifier where we were taking the realpart of x
instead of the realpart of y to handle the case of atan2(y,minf). Add
a comment that we're making atan2 continuous with the second quadrant
along the branch cut.

Add a test for this case and update the documentation to say that
we're continuous with second quadrant on the branch cut.

6d5d191... by Barton Willis <email address hidden>

Change infsimp* (defined in compar.lisp) to check for a mapatom, not an atom. This change prevents an infinite loop that can happen when expressions such as a[inf] are passed to infsimp*. The function extra-simp (defined in limit.lisp) had a workaround for this bug--this change also eliminates the workaround in extra-simp.

Tested with SBCL 2.2.2 (Windows) and Clozure Common Lisp Version 1.12.2 (v1.12.2) WindowsX8664 for both the testsuite and the share testsuite.

92323ea... by Barton Willis <email address hidden>

Merge branch 'master' of ssh://git.code.sf.net/p/maxima/code

fcaa13b... by Raymond Toy <email address hidden>

Add some tests

5d3997f... by Dan Gildea <dgildea>

fix compile warning

Bug #4094 Build warning in share: grep: warning: stray \ before #

With this commit,
- # is escaped, not interpreted as comment by gnu make 4.2.1 or recent gnu make
- shell turns \# into #
- grep sees unescaped #, does not complain

7ab9b64... by Dan Gildea <dgildea>

fix compile warning

egrep: warning: egrep is obsolescent; using grep -E

c69462e... by Robert Dodier <email address hidden>

In documentation for row and col, state that row result shares memory with argument,
and col result does not.

Inspired by discussion on mailing circa 2023-09-06: "Side-effects on matrices"