maxima:rtoy-refactor-specvars-irinte

Last commit made on 2024-01-05
Get this branch:
git clone -b rtoy-refactor-specvars-irinte https://git.launchpad.net/maxima

Branch merges

Branch information

Name:
rtoy-refactor-specvars-irinte
Repository:
lp:maxima

Recent commits

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

Add comment about how to remove *globalcareflag*

Also explains why we don't (but probably could if we really wanted
to.)

0c7af72... by Raymond Toy <email address hidden>

Remove special declaration for *ec-1*

The special declarations for `*ec-1*` were all commented out, so
remove them now.

57303b7... by Raymond Toy <email address hidden>

Rename *ec-1* to ec-1 in intira

`intira` is the "base" of the specvar `*ec-1*`. It sets it for all
the called functions. Since all of the necessary functions receive
the value of `*ec-1*` from an additional arg, we don't need this to be
special anymore. Hence rename it.

Full testsuite + share passes with cmucl.

155e4f2... by Raymond Toy <email address hidden>

Add arg to signdis3 instead of using the specvar *ec-1*

The function `signdis3` references the specvar `*ec-1*`. Instead add
a new `ec-1` arg to hold the value of `*ec-1*`. This also means
`den1den1`, `den1denn` and `denmdenn` need the `ec-1` arg since these
all eventually call `signdis3`.

Update all callers appropriately.

Full testsuite + share passes with cmucl.

8f29336... by Raymond Toy <email address hidden>

Add arg to nummnumn instead of using the specvar *ec-1*

The function `nummnumn` references the specvar `*ec-1*`. Instead add
a new `ec-1` arg to hold the value of `*ec-1*`. This also means
`den1numn` needs the `ec-1` arg since it calls `numn`.

Update all callers appropriately.

Full testsuite + share passes with cmucl.

6fe1167... by Raymond Toy <email address hidden>

Rename *ec-1* to ec-1 in denn

AFAICT, `denn` sets `*ec-1*`, but none of the called functions depend
on the value of `*ec-1*1. Hence rename it to ec-1 to break the
connection to the special var `*ec-1*`.

Full testsuite + share passes with cmucl.

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

Add arg to numn instead of using the specvar *ec-1*

The function `numn` references the specvar `*ec-1*`. Instead add a
new `ec-1` arg to hold the value of `*ec-1*`. This also means
`den1numn` needs the `ec-1` arg since it calls `numn`.

Update all callers appropriately.

Full testsuite + share passes with cmucl.

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

Add arg to nummdenn instead of using the specvar *ec-1*

The function `nummdenn` references the specvar `*ec-1*`. Instead add a
new `ec-1` arg to hold the value of `*ec-1*`. Update callers
appropriately.

Full testsuite + share passes with cmucl.

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

Add arg to case1 instead of using the specvar *ec-1*

The function `case1` references the specvar `*ec-1*`. Instead add a
new `ec-1` arg to hold the value of `*ec-1*`. Update callers
appropriately.

Full testsuite + share passes with cmucl.

9e17fd5... by Raymond Toy <email address hidden>

Use lexical variable instead of specvar *ec-1*, part 1

The function `case0` references the specvar `*ec-1*`. Instead add a
new `ec-1` arg to hold the value of `*ec-1*`. This requires updating
the callers. This means `denmnumn`, `nonconstquadenum`, and `casegen`
need an extra arg too since they don't access `*ec-1*`. So the
callers of these functions need to be updated too.

Full testsuite + share passes with cmucl.