From ... Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.25.12.36!oleane.net!oleane!freenix!deine.net!hamster.europeonline.net!newsfeed.europeonline.net!nslave.kpnqwest.net!nloc2.kpnqwest.net!nloc.kpnqwest.net!nmaster.kpnqwest.net!nreader1.kpnqwest.net.POSTED!not-for-mail Newsgroups: comp.lang.lisp Subject: Re: Lisp Programmers in X Months References: <3CB0B7C6.50701@yahoo.com> <874rin9n10.fsf@nkapi.internal> <3CB1D61C.4070104@yahoo.com> <=vGxPITJODE6F3WVaY+470h+hO8J@4ax.com> Mail-Copies-To: never From: Erik Naggum Message-ID: <3227819806254921@naggum.net> Organization: Naggum Software, Oslo, Norway Lines: 23 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 15 Apr 2002 00:36:46 GMT X-Complaints-To: newsmaster@KPNQwest.no X-Trace: nreader1.kpnqwest.net 1018831006 193.71.199.50 (Mon, 15 Apr 2002 02:36:46 MET DST) NNTP-Posting-Date: Mon, 15 Apr 2002 02:36:46 MET DST Xref: archiver1.google.com comp.lang.lisp:31704 * Bruce Hoult | You don't. Read my lips: "Integer arithmetic using IEEE FP is exact"[1]. : | [1] add the proviso "for integers less than 2^53" if you wish to be | pedantic. Pedantic? Integer arithmetic is _not_ exact with IEEE FP _unless_ you confine yourself to integers in a fairly small range, and there is not even any indication that you have lost precision when it happens. This is not dealing with _integers_, but with a severely restricted subset of integers under optimistic conditions. _Integers_ is what we have in Common Lisp, defined so as not to truncate their precision or work only modulo some "word length". A guarantee that you work within the range that your "integer" supports is hard to come by and failure to get it is the source of many programming errors. Just increasing the fixed number of bits in the representation constitutes no such guarantee. /// -- In a fight against something, the fight has value, victory has none. In a fight for something, the fight is a loss, victory merely relief. Post with compassion: http://home.chello.no/~xyzzy/kitten.jpg