Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site moncol.UUCP
Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!tektronix!uw-beaver!cornell!vax135!petsd!moncol!john
From: john@moncol.UUCP (John Ruschmeyer)
Newsgroups: net.bizarre
Subject: Bizarre Code
Message-ID: <462@moncol.UUCP>
Date: Sun, 11-Aug-85 00:23:12 EDT
Article-I.D.: moncol.462
Posted: Sun Aug 11 00:23:12 1985
Date-Received: Sun, 18-Aug-85 05:19:17 EDT
Organization: Monmouth College, West Long Branch, NJ 07764
Lines: 30

I considered posting this to net.lang.*, but this group seems more
appropriate.

What is the most bizarre line/piece of code you have seen in a production
program?

My favorite (in BASIC) is:

		X = N & -1

which is the equivalent of:

		X = INT(N)


I know there must be some better(?) ones out there. Let's see em'.


-- 
Name:		John Ruschmeyer
US Mail:	Monmouth College, W. Long Branch, NJ 07764
Phone:		(201) 222-6600 x366
UUCP:		...!vax135!petsd!moncol!john	...!princeton!moncol!john
						   ...!pesnta!moncol!john
Disclaimer:
	Monmouth College is a mecca for diverse opinions. It is, therefore,
	highly unlikely that the above opinions are those of anyone but me.

Silly quote:
	Around here we don't have cuisine. We have EATS.