[m-dev.] diff: cleanup of tabling, addendum

Fergus Henderson fjh at cs.mu.OZ.AU
Fri Jan 7 19:22:15 AEDT 2000


On 07-Jan-2000, Zoltan Somogyi <zs at cs.mu.OZ.AU> wrote:
> 
> +#define	equal_keys(k1, k2)	(memcmp(&k1, &k2, sizeof(Float)) == 0)

Being paranoid, I would recommend
	s/&k1/&(k1)/
and	s/&k2/&(k2)/

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list