~peterpall/maxima/+git/maxima.code:rtoy-refactor-sinint-switch1

Last commit made on 2023-02-06
Get this branch:
git clone -b rtoy-refactor-sinint-switch1 https://git.launchpad.net/~peterpall/maxima/+git/maxima.code

Branch merges

Branch information

Name:
rtoy-refactor-sinint-switch1
Repository:
lp:~peterpall/maxima/+git/maxima.code

Recent commits

6645a79... by Raymond Toy <email address hidden>

Minor refactor of fprog

Since the `prog` statement is empty we can get rid of it and the
corresponding `return`.

282711e... by Raymond Toy <email address hidden>

Remove switch1 from declare-top

We don't use `switch1` anywhere in sinint.lisp anymore, so it can be
removed.

Full testsuite passes, of course.

17fbbcd... by Raymond Toy <email address hidden>

Rename switch1 to sinint-switch1 everwhere else in sinint

Also remove `switch` from `fprog`.

Full testsuite passes.

78ae23e... by Raymond Toy <email address hidden>

Rename switch1 to sinint-switch1 in eprog

Full testsuite passes.

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

Merge branch 'master' into rtoy-refactor-sinint-switch1

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

Forgot to define sinint-wholepart in eprog

Add `sinint-wholepart` to the `prog` in `eprog` to define it. It was
an undefined variable previously.

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

Add switch1 arg to functions that access switch1 in sinint.lisp

Then update callers to provide the value for `switch1`.

Full testsuite passes.

17d25be... by Raymond Toy <email address hidden>

Remove wholepart from declare-top

Since `wholepart` is no longer used at all in sinint.lisp, we can
remove it from the `declare-top` declaration.

Full testsuite passes.

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

Rename wholepart to sinint-wholepart

Rename `wholepart` to break the connection to the specvar in the file
sinint.lisp. This also means we can remove the specvar from `fprog`
which wasn't using it anyway.

There are now no uses of `wholepart` in sinint.lisp.

Full testsuite passes.

23043b3... by Raymond Toy <email address hidden>

Return wholepart as the second value of cprog

`cprog` is the main function that computes the value of the specvar
`wholepart`. Return it as the second return value of `cprog`.

Then update callers to set `wholepart` to the second return value from
`cprog`. This includes sinint.lisp and risch.lisp.

Full testsuite passes.