bug report



On 06/02/2012 11:56 PM, David Billinghurst wrote:
> On 3/06/2012 1:56 AM, Raymond Toy wrote:
>>
>> Could you check to see if scaxn is called?  It is on my systems.  If it
>> isn't, then that would be the problem.
>>
>> Ray
> windows (cygwin)
>
> Maxima branch_5_27_base_95_gf40c188 http://maxima.sourceforge.net
> using Lisp CLISP 2.48 (2009-07-28)
> (%i1) :lisp (trace scaxn)
> ;; Tracing function SCAXN.
> (SCAXN)
> (%i1) integrate(sin(a*x^3)/x,x,0,+inf);
> 1. Trace: (SCAXN '((MTIMES SIMP) ((MEXPT SIMP) $X -1) ((%SIN SIMP) 
> ((MTIMES SIMP) $A ((MEXPT SIMP) $X 3)))))
> 1. Trace: SCAXN ==> NIL
> (%o1)                                  0
>
Hi,
In Ubuntu, with SBCL, CCL, GCL and CLISP I get the same result as David. 
Using ECL scaxn is also called, even
so ECL apparently adds an extra flag to Maxima lists:

(%i1) integrate(sin(a*x^3)/x,x,0,+inf);

1> (SCAXN ((MTIMES SIMP) ((MEXPT SIMP) $X -1)
            ((%SIN SIMP (0 "stdin" SRC))
             ((MTIMES SIMP (0 "stdin" SRC)) $A
              ((MEXPT SIMP (0 "stdin" SRC)) $X 3)))))
<1 (SCAXN NIL)
(%o1)   0

Cheers,
Jaime