Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.albasani.net!newsfeed.fsmpi.rwth-aachen.de!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="ISO-8859-1" Message-ID: <2645466.DhVCujJyyx@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Fri, 13 Sep 2013 05:15:05 +0200 User-Agent: KNode/4.10.5 Content-Transfer-Encoding: 7Bit X-Face: %i>XG-yXR'\"2P/C_aO%~;2o~?g0pPKmbOw^=NT`tprDEf++D.m7"}HW6.#=U:?2GGctkL,f89@H46O$ASoW&?s}.k+&. <3251928.WeJvBNZfad@PointedEars.de> <10475868.RPHzNtd8jb@PointedEars.de> MIME-Version: 1.0 Lines: 30 NNTP-Posting-Date: 13 Sep 2013 05:15:06 CEST NNTP-Posting-Host: a38e1b9a.newsspool4.arcor-online.net X-Trace: DXC=VU]dmb:jPW_I?44J>Z[:RQ4IUK On 2013-09-13 02:27, Thomas 'PointedEars' Lahn wrote: >> Dr J R Stockton wrote: >>> IIRC, of the 2^64 bit patterns in an 8 byte Double, two represent the >>> infinities, and about 2^53 represent NaN, which ECMAScript cannot >>> "resolve". > > (If we're going into that much detail, there's also -0, which is a > separate value in IEEE floats.) Yes, but that is irrelevant. >> The 0-bits of the IEEE-754 value must *also* be stored in memory. > > Oh, that's easy to solve. The 0-bits are empty anyway, so we can just > leave them out and concentrate on the more important 1s. Then we just > count how many 1s there are left and store that total, thus drastically > reducing memory usage. To decompress, just insert the empty bits back > in. (The boring question of where to insert them is left as an exercise > to the reader.) I call this compression technique "Bogocomp"; patent > pending. Utter nonsense. You have no clue what you are talking about. -- PointedEars Twitter: @PointedEars2 Please do not Cc: me. / Bitte keine Kopien per E-Mail.