Package bigfloat



Am Samstag, den 24.01.2009, 10:19 -0500 schrieb Raymond Toy:

> Oops.  Forgot that case.  This should be fixed now, so if you had some
> workaround for that you can remove it.

Hello Ray,

it works. 

Sorry but we have a further problem. The function bigfloat:exp does not
work for complex bigfloat numbers:

A general complex bigfloat:

(%i11) :lisp (bigfloat:exp (bigfloat:to (add 1.0 (mul '$%i ($bfloat
1.0)))))
Maxima encountered a Lisp error:
CDR: 0 is not a list
Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.

A pure imaginary complex bigfloat:

(%i11) :lisp (bigfloat:exp (bigfloat:to (mul '$%i ($bfloat 1.0))))
Maxima encountered a Lisp error:
CDR: 0 is not a list
Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.


For complex float numbers all is fine:

(%i11) :lisp (bigfloat:exp (bigfloat:to (add 1.0 (mul '$%i ($float
1.0)))))
#C(1.4686939399158851 2.2873552871788423)

(%i11) :lisp (bigfloat:exp (bigfloat:to (mul '$%i ($float 1.0))))
#C(0.5403023058681398 0.8414709848078965)

Dieter Kaiser