The functions 'fix' and 'entier' are identical. The
function floor is supposed to be "smarter" than entier:
(%i1) declare(n,integer);
(%o1) done
(%i2) entier(n);
(%o2) entier(n)
(%i3) floor(n);
(%o3) n
I'm pretty comfortable that floor is a superset of entier.
Unless somebody knows something I don't, I'll make this change.
Barton
"Robert Dodier" <robert.dodier at gmail.com> wrote on 04/24/2007 11:03:41 PM:
> On 4/24/07, Barton Willis <willisb at unk.edu> wrote:
>
> > Question: Maxima has a few calls to 'fix' and 'entier' in the source.
> > Would it be OK to
> >
> > (defun $fix (x) (simplify `(($floor) ,x))
> >
> > and similarly for $entier?
>
> OK by me. It seems best to make sure fix, entier, and
> floor all do the same thing.
>
> Robert