find_root with bfloats



On Fri, Sep 24, 2010 at 11:13 AM, Kostas Oikonomou <ko at research.att.com> wrote:

> (%i1) :lisp (load "fbfroot")
> STYLE-WARNING: redefining INTERPOLATE-CHECK in DEFUN
>
> T
> (%i1) find_bfroot(sin(x),x,0,3.4);
> (%o1) ? ? ? ? ? ? ? ?find_bfroot(sin(x), x, 0.0b0, 3.4b0)
> (%i2)
>
> But apparently the function find_bfroot() that I've defined is unrecognized.

No, actually what happened is that there is some code in find_root
(and therefore find_bfroot unless you changed it) to catch errors and
return a partially-evaluated expression in that case.

Aside from stepping through find_bfroot, you could call your
coerce-bfloat-fun or whatever you named it to get a Lisp function,
then try calling that by hand, or possibly bind a symbol to it and
use that as your input function, and Lisp trace that new function.

Probably it would be helpful to post the code you are working on.

best

Robert Dodier