From ... Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail From: Erik Naggum Newsgroups: comp.lang.lisp Subject: Re: macros vs HOFs (was: O'Caml) Date: 13 Sep 2002 23:49:58 +0000 Organization: Naggum Software, Oslo, Norway Lines: 25 Message-ID: <3240949798321688@naggum.no> References: <3D7CB8DF.8050108@pontos.net> <20020911035635.H23781@lain.res.cmu.edu> <3240844763646745@naggum.no> <3240918387614328@naggum.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: maud.ifi.uio.no 1031960998 20880 129.240.64.16 (13 Sep 2002 23:49:58 GMT) X-Complaints-To: abuse@ifi.uio.no NNTP-Posting-Date: 13 Sep 2002 23:49:58 GMT Mail-Copies-To: never User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.lisp:40668 * Bruce Hoult | The point is that you do *not* use fractional values. Marvellous. | If some quantity is specified in 100ths of a cent or 16ths of a cent then | you use *that* as your unit. And if you multiply them, you get 1600th of a cent as the unit, then convert to another currency with 6-digit precision and you effectively compute with 1,600,000,000th of a cent as the smallest unit. Suddenly, you have only 22 bits left for the cent value, and a transaction worth more than USD 42,000 will no longer fit in your double-precision floating point number. Great! | I'm not sure why this is so hard to understand. Because, as several times in the past, you are just plain wrong, and you are the last person on the planet to admit it or figure it out. So I shall do us all a huge favor and not attempt to convince you of the errors of your ways. -- Erik Naggum, Oslo, Norway Act from reason, and failure makes you rethink and study harder. Act from faith, and failure makes you blame someone and push harder.