Bug in mring.lisp? was: Need help with Maxima (please help)
Subject: Bug in mring.lisp? was: Need help with Maxima (please help)
From: Leo Butler
Date: Tue, 27 Apr 2010 20:25:14 +0100 (BST)
On Tue, 27 Apr 2010, Barton Willis wrote:
< Leo,
<
< Thanks for the patch--it looks fine. I can't test it right now, but please
< go ahead an commit it
< (assuming the share testsuite shows no new bugs.)
<
< And thanks for asking before committing.
<
Ok, I've committed a patch after running the testsuite.
I've used coerce-float-fun rather that $float to do the
conversion, because one application of $float does not
reliably convert Maxima expressions to floats, even where
possible.
I've noticed that there are several other spots where
bfloat or float are used to convert Maxima expressions.
What is needed, though, is a function that coerces the
input expression to the appropriate type. A generalisation
of coerce-float-fun, if you will.
Leo
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.