Newsgroups: rec.games.computer.quake.quake-c
Path: clanworld.com!news.webspan.net!opus.ies-energy.com!news.cs.utwente.nl!cosy.sbg.ac.at!newsfeed.Austria.EU.net!newscore.univie.ac.at!newsfeed.nacamar.de!nntp.news.xara.net!xara.net!dispose.news.demon.net!demon!feed1.news.erols.com!news-peer.sprintlink.net!news.sprintlink.net!Sprint!news-peer.gip.net!news.gsl.net!gip.net!news.new-york.net!nonexistent.com!not-for-mail
From: "Arthur Bredrick" <sammy@blast.net>
Subject: Re: Binary Shifts?
X-Newsreader: Microsoft Outlook Express 4.71.1712.3
X-Complaints-To: Email abuse@news2.new-york.net if this posting is inappropriate
X-Mimeole: Produced By Microsoft MimeOLE V4.71.1712.3
Message-ID: <EJCC82.1Lz@nonexistent.com>
References: <EJAqDz.Eq7@nonexistent.com> <641ppn$t3t$1@plug.news.pipex.net>
X-Trace: news2.new-york.net 879014876 2024 (None) [204.141.163.96]
X-Nntp-Posting-Host: wppp96.blast.net
Date: Sat, 8 Nov 1997 18:48:58 GMT
Lines: 18
Xref: clanworld.com rec.games.computer.quake.quake-c:3910

>Well, all the numbers are stored as floats, so probably not.

If bitwise ANDs and ORs are allowed on floats (as used for an entity's
"items" field to determine what items it has), why shouldn't bitwise shifts
be allowed also?


>What's wrong with just multiplying/dividing by powers of 2?


Nothing's wrong with multiplying or dividing by powers of 2; binary shifts
are just faster, that's all.

Art




