On Nov. 27, 2012, Raymond Toy wrote:
-----------------------------------
Ted> (%i2) bromberg(log(x)^2,x,0,1); Maxima encountered a Lisp
Ted> error:
Ted> Don't know how to convert T to a BIGFLOAT
>Oops. The code was careless about converting things to bfloats. In
>this case, bromberg is evaluating log(0)^2, which is returned as T
>(instead of generating an error).
>
>I've uploaded a new version; try again when you get a chance.
----------------------------------------------------------
The new version now returns a noun form for this example.
But why the hard-to-read output when display2d = false?
I like to keep display2d = false since it is easier to copy output
into a text file (such as this email reply),
without doing battle with moveable exponents.
-----------------------------------------------------
(%i1) load("bromberg.lisp");
(%o1) "c:/work2/bromberg.lisp"
(%i2) fpprec:40$
(%i3) bromberg(log(x)^2,x,0,1);
(%o3) bromberg(log(x)^2,x,?\+0\.0b0,?\+1\.0b0)
(%i4) display2d:true$
(%i5) bromberg(log(x)^2,x,0,1);
2
(%o5) bromberg(log (x), x, +0.0b0, +1.0b0)
------------------------------------------------------------
Ted