Article View: comp.std.c
Article #4956Re: Restrictions on qsort compare function?
From: M. J. Saltzman
Date: Tue, 26 Mar 1996 18:00
Date: Tue, 26 Mar 1996 18:00
12 lines
786 bytes
786 bytes
msb@sq.com (Mark Brader) writes: >> > !!sort_func(p1, p2) == -1 * !!sort_func(p2, p1) >Better yet, you should have not have assumed that !!x would produce -1 >when x < 0. <grin> Oh, damn... What could I possibly have been thinking? -- Matthew Saltzman Clemson University Math Sciences mjs@clemson.edu
Technical Details
Message-ID:
<mjs.827863216@hubcap>Path:
arc1-ca.pugleaf.net!hubcap.clemson.edu!hubcap!mjsReferences:
<4iokop$h4p@lyra.csx.cam.ac.uk> <mjs.827419998@hubcap> <mjs.827424727@hubcap> <1996Mar24.071329.24975@sq.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!hubcap.clemson.edu!hubcap!mjs From: mjs@hubcap.clemson.edu (M. J. Saltzman) Newsgroups: comp.std.c Subject: Re: Restrictions on qsort compare function? Date: 26 Mar 96 18:00:16 GMT Organization: Clemson University Message-ID: <mjs.827863216@hubcap> References: <4iokop$h4p@lyra.csx.cam.ac.uk> <mjs.827419998@hubcap> <mjs.827424727@hubcap> <1996Mar24.071329.24975@sq.com> NNTP-Posting-Host: hubcap.clemson.edu X-Newsreader: NN version 6.5.0 #1