From: Stavros M. (Σ. Μ. <mac...@al...> - 2016-04-01 15:13:57
|
On Fri, Apr 1, 2016 at 11:11 AM, Raymond Toy <toy...@gm...> wrote: > >>>>> "Stavros" == Stavros Macrakis <(Σταῦρος Μακράκης)" < > mac...@al...>> writes: > > Stavros> o You might think it makes Maxima simpler to have all numbers > be Lisp > Stavros> numbers, but that isn't going to happen by itself. We will > need to continue > Stavros> to support bigfloats, and bigfloat complexes (and in the > future perhaps > Stavros> other composite numeric types like intervals). Of course, > these could be > Stavros> packaged up as CLOS objects, but again, I don't see that > anyone has done > Stavros> that work, either. > > Bigfloats and complex bigfloat are already packaged up in CLOS > objects. See the bigfloat package in src/numeric.lisp. But that's > not really exposed in anyway to maxima; it's all for internal > processing. > OK, I should have been clearer: the packaging is the easy part. The hard part is making the CLOS objects work correctly in the rest of Maxima. |