On Sun, 2002-03-10 at 11:35, Daniel Lemire wrote:
> > 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".
I just checked. I committed the fix for this problem on February 1st:
------------------------------------------------------------------------
|addiator>cvs log hyp.lisp
RCS file: /cvsroot/maxima/maxima-pre59/src/hyp.lisp,v
Working file: hyp.lisp
head: 1.3
branch:
locks: strict
access list:
symbolic names:
Version5_6: 1.2
Version5_4: 1.1.1.1
V5: 1.1.1
keyword substitution: o
total revisions: 4; selected revisions: 4
description:
----------------------------
revision 1.3
date: 2002/02/01 06:02:54; author: amundson; state: Exp; lines: +2 -1
macro definition of MABS interfered with real definition of MABS, so the
macro was removed
----------------------------
------------------------------------------------------------------------
More accurately, I should say that I submitted a fix for a problem with
abs. I hope the problem is the same as your problem. Can you make sure
you have the current version of hyp.lisp and try again?
--Jim