TIP: Click on subject to list as thread! ANSI
echo: quik_bas
to: RICK PEDLEY
from: BILL WHITE
date: 1998-03-18 16:44:00
subject: Old Folks

RP>  RP> IF Number% AND 1 THEN 'odd
RP>  BW> And then there is
RP>  BW> IF Number% MOD 2 THEN
RP> Yeah, I hadn't thought of that one (I wonder which is faster?).
RP> [later] AND, by more than 3x :)
     If I remember correctly, Number%/2 will bring in
the floating-point module.  I don't know if MOD does or
not.  I believe AND doesn't.  A simple bit-wise
comparison should be the fastest at the machine level.
  FIDO: Bill White @ 1:135/110 (Miami)
 InterNet: bill.white@110.sunshine.com
 * SLMR 2.1a * I wasn't born a fool, it took hard work to get this way!
--- Maximus 2.01wb
---------------
* Origin: Miami Amateur Computer Club BBS/USR Courier V.E (1:135/110)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.