division by zero & definite integrals



Barton,

I don't know the details of this mechanism, and whether it works correctly
globally, but locally this makes sense: when errorsw is non-null, instead of
giving the Divide by 0 error, simpexpt throws back to the tag errorsw.

So it is not at all surprising that you get an error with a top-level 0^0.

          -s

On Fri, Dec 12, 2008 at 7:23 AM, Barton Willis <willisb at unk.edu> wrote:

> ...another thing: I looked at the source for simpexpt. There seems to
> be throw / catch mechanism for negative powers of zero. But:
>
> (%i2) :lisp(setq errorsw t);
> T
> (%i2) 0^0;
> Maxima encountered a Lisp error: Error in PROGN [or a callee]: The tag
> ERRORSW is undefined.
>
> Barton
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>