Path: csiph.com!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin Newsgroups: comp.lang.forth Subject: Re: objects build up from other objects - even Forth? Date: Wed, 11 Nov 2015 01:13:06 -0800 Organization: A noiseless patient Spider Lines: 9 Message-ID: <87k2posxul.fsf@nightsong.com> References: <563a19c1$0$23864$e4fe514c@news.xs4all.nl> <563cf51d$0$298$14726298@news.sunsite.dk> <563e14c9$0$298$14726298@news.sunsite.dk> <20151109121508.46ca9b27@TP-T500> <771e793c-e8cf-468e-9dca-335382ff90df@googlegroups.com> <20151110104826.1cdbb672@TP-T500> <4f70050f-1eb6-4f7e-b3a1-3e81c92a286a@googlegroups.com> <44518d49-f2fe-4788-aa64-c89a6a5593d0@googlegroups.com> <38220763-deb6-4946-a764-a5c513bc9e6d@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="1a9f5856d25720e42c135b990c70bebb"; logging-data="30296"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19BcFMCn+s/rRE9JMYB9zH6" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:ccIbDFlr6erBmGFLz+DUcxydkC8= sha1:SNQwDjhtVyee8qzuN6+Sue+4Lxc= Xref: csiph.com comp.lang.forth:43466 franck.bensusan@gmail.com writes: > For Floats on 64bits, I don't know. Haven't done yet. If not possible, > I will keep reference to a external object for floats (as for 32 > bits). The usual Lisp trick for unboxed floats is to steal a few exponent bits. That way you don't lose any precision in the mantissa. If the number gets too big/small to fit in the reduced exponent range, then go to a boxed representation.