Under CW 8.3, are floating-point expressions resulting from computations
involving defines evaluated at runtime or resolved by the compiler? If
the latter is true, is it performed at all optimatization levels
(including 0)?

#define Pi 3.14659265

float halpPi = Pi / 2.0;

Are constant subexpressions pre-resolved too?

float angle;
// ...

float  radians = angle * ( Pi / 2.0);


--
Luc Le Blanc


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to