Re: #define for very small numbers ?
CBFalconer wrote:
> Ian Collins wrote:
>> pereges wrote:
>>
>>> I need to define the plancks constant 6.67 X 10 exp -34. Is it
>>> possible to do it using #define or would you suggest using a
>>> (static ?)const double.
>> You could use #define, but it would be better to use a const double.
>
> Why? Think about it. That way you can't define compile time
> constants.
>
What use is a compile time floating point constant?
--
Ian Collins.
|