Simon Josefsson <jas(a)pdc.kth.se> writes:
I wasn't thinking about adding a elisp type for bignums (I guess
this
is what you're refeering to?) but instead have the MP-routines use a
internal representation (a vector containg bytes or something) and
have a function like gmp-print for printing the numbers as a string.
GMP works like this in C so this would be the most natural solution.
Yuck! This is *far* from natural for me, because bignums have a
tradition of being correctly implemented in various Lisps. We should
either do it correctly, or not do it at all, as far as I'm concerned.
But now at least I understand what you mean, and I agree that
"implementing" bignums using an external library would not be a big
deal. It even might be doable in the form of a loadable module.
--
Hrvoje Niksic <hniksic(a)srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
"Memory is like an orgasm. It's a lot better if you don't have to
fake it." -- Seymour Cray, on virtual memory