| delorie.com/archives/browse.cgi | search |
| Date: | Sun, 28 Feb 1999 19:24:58 +0200 (IST) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| X-Sender: | eliz AT is |
| To: | Paul Derbyshire <pderbysh AT usa DOT net> |
| cc: | djgpp AT delorie DOT com |
| Subject: | Re: sin, cos ?? |
| In-Reply-To: | <3.0.6.32.19990228114416.0097d4c0@pop.globalserve.net> |
| Message-ID: | <Pine.SUN.3.91.990228192203.27709A-100000@is> |
| MIME-Version: | 1.0 |
| 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.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |