Date: Sun, 28 Feb 1999 19:24:58 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Paul Derbyshire cc: djgpp AT delorie DOT com Subject: Re: sin, cos ?? In-Reply-To: <3.0.6.32.19990228114416.0097d4c0@pop.globalserve.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Sun, 28 Feb 1999, Paul Derbyshire wrote: > const long double pi = 4*atan(1); It won't work in C, and calling a function instead of using a manifest constant seems like a waste. > Can Nate make this work without side effect problems? > > #define MAX(a,b) (((a) > (b)) ? (a) : (b)) Ah, but Nate's macro wasn't like this: it only used the arguments once.