FW: [ maxima-Bugs-1404754 ] bfloat(1.0*%i) is %i rather than 1.0b0*%i



I will check in this patch shortly.  It prevents 1.0b0*x -> x.
It results in a visible change in behavior, but makes floats
and bfloats behave in the same way.

There are no testsuite regressions

> Comment By: Raymond Toy (rtoy)
> Date: 2006-01-13 09:04
>
> I agree that we should leave 1.0*%i as 1.0*%i.
>
> I think the fix is in timesbigfloat in float.lisp:
>
>     (return (cond ((equal nfans 1) fans)
>		   ((equal fans tst) nfans)
>		   (t (simplify (list '(mtimes) fans nfans))))))) 
>
> The test (equal fans tst) should be removed.  It checks to
> see if the product of all the bigfloats is equal to 1 and
> returns everything else.


NOTICE
This e-mail and any attachments are private and confidential and may contain privileged information. If you are not an authorised recipient, the copying or distribution of this e-mail and any attachments is prohibited and you must not read, print or act in reliance on this e-mail or attachments.
This notice should not be removed.