|
From: Scott W. <se...@al...> - 2002-08-31 15:05:10
|
Hi, =20 This is more of a general C question but just in case it=92s compiler = dependent. . . =20 I=92m curious how the following is handled: =20 #define PI 3.1415 #define TWOPI (2.0 * PI) =20 Does this add a flop everywhere TWOPI is used or is the expression = evaluated to 6.2830 and then inserted? If the latter, with what = precision is the evaluation done (e.g., what does TWOPI look like if I = #define PI to 20 digits?). =20 Thanks. =20 Scott =20 |