I fixed abs by recompiling with a recent cvs tree, thanks. It didn't work in
my experience back before I used cvs, but back then, I assumed it was normal.
It is no big deal since cabs always worked.
This is definitively not a (current) bug.
Thanks!
> Daniel Lemire writes:
> > > I don't know what you are doing, but in Schelter's xmaxima,
> > > this definition f(x):=abs(x+1);
> > > f(1);
> > > works correctly.
> > >
> > > I see no reason to use cabs instead of abs.
> > > Are you translating/ compiling this function somehow?
> > > What are on lines c1-c4 ?
> > > RJF
> >
> > That's strange because abs never worked for me. Never. Even back before
> > I compiled my own version from CVS. According to "describe", there is no
> > such thing as "abs".
>
> GCL (GNU Common Lisp) Version(2.3.8) Wed Mar 28 10:47:31 EST 2001
> Licensed under GNU Library General Public License
> Contains Enhancements by W. Schelter
> Maxima 5.5 Wed Mar 28 09:31:56 EST 2001 (with enhancements by W. Schelter).
> Licensed under the GNU Public License (see file COPYING)
>
> (C8) f(x):=abs(x+1);
>
> (D8) f(x) := ABS(x + 1)
> (C9) f(1);
>
> (D9) 2
> (C10) f(-5);
>
> (D10) 4
>
> Osman