Posted by Peter Palfrader aka Weasel on 1999-09-07
-----BEGIN PGP SIGNED MESSAGE----- On Tue, Sep 07, 1999 at 04:52:25AM +0200, unrein wrote: > palfrader> AFAIK (and that may be complete nonsense) a list is just a linked list > palfrader> with two data entries with each node. > > I understand that but how does lisp get around the processors limit. > According to my lisp teacher, lisp has no limit on a number's size except > for memory. > > so for a general asm add function you're limited to 0 to 2^64( or 32?) > depending on the processor. Using lisp( or as i understand) you can go > beyond the 2^64 size. So in lisp I could use something like 2^1024 or > 2*3000 with all the digits (no loss of percision). This depends on the particular implementation of lisp you have to deal with. I've tried both autoLISP (autoCAD) and elisp (in emacs) and both have an upper limit (although I'm not sure any more with autoLISP). elisp's limit as implemented in emacs is somewhere at 130e6. (just tested it since I write my mails in emacs) So it depends on your lisp compiler/interpreter. HTH - -- Weasel http://www.cosy.sbg.ac.at/~ppalfrad/ PGP encrypted messages prefered. See my site for my PGP key. - A friend is someone who knows the song in your heart and can sing it back to you when you have forgotten the words. -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.1 Comment: http://www.cosy.sbg.ac.at/~ppalfrad iQCVAwUBN9VtF7/AUNfRo6MpAQH1gwP/ZeM+v/M12vqO7CCKQh1oi9kaPZdB5US3 pnBQ1O8miit/ekf5zHWxuKuvMagcGHAqAwaeaUFTMz3wjf1CkjomgVv96ZJaKdBN W0GXw9oF/2UDCeQ8QDsjRpTZk2PI22nV/J7yfm3awakCKSKuvQnpfj/30SuUshSQ 45mOLeRBXRc= =waNV -----END PGP SIGNATURE
Previous post | Next post | Timeline | Home