"Simpler" bigfloat and complex bigfloat arithmetic



Barton Willis wrote:
> -----maxima-bounces at math.utexas.edu wrote: -----
>
>   
>> Actually, I was hoping it might be suitable for putting in src.  Why?
>> Take a look at gamma.lisp, and all of the routines Dieter had to write
>> for double-float, bigfloat, complex bigfloat, etc.  They all look pretty
>> much identical, except for the fact that he had to use different
>> operation names for each case.
>>     
>
> Sure, that would be great. Have you tried your CLOS with GCL?
>
>   
Not yet.  That's on my list.  It should be ok, though since gcl uses PCL
for its CLOS, just like cmucl.  And I'm not doing anything really fancy
with CLOS.  I think gcl doesn't have define-compiler-macro, so those
might have to be removed for gcl.  But that's not too important, since
it just expanded out (+ a b c) to multiple calls to two-arg-+.

Ray