Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site alice.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!alice!ark From: ark@alice.UucP (Andrew Koenig) Newsgroups: net.lang.c Subject: Re: Numeric comparisons Message-ID: <4263@alice.UUCP> Date: Tue, 3-Sep-85 14:06:31 EDT Article-I.D.: alice.4263 Posted: Tue Sep 3 14:06:31 1985 Date-Received: Wed, 4-Sep-85 06:34:34 EDT References: <797@dataio.UUCP> Organization: Bell Labs, Murray Hill Lines: 6 > I disagree. A comparison is a subtract with the result thrown away. The > trick is to select the correct conditional branch instruction afterwards, > depending on whether a signed or unsigned comparison was done. Don't try that trick in floating point, or you'll get spurious overflow traps when comparing perfectly legitimate numbers.