Re: whole number constants
- From: glen herrmannsfeldt <gah@xxxxxxxxxxxxxxxx>
- Date: Tue, 22 Jul 2008 09:11:17 -0800
Paul van Delst wrote:
Richard Maine wrote:
There is no such thing as a "true constant."
Completely off topic, but never a truer word has been spoken. Even fundamental constants (Planck, Boltzmann, fine-structure etc) are updated every four years or so as measurements of things like the molar gas constant, avagodro's#, electron charge, etc improve. Or you use even more digits for pi (if you're using the magnetic permeability).
The speed of light is constant by definition, some years
ago by now.
I think, though, that the OP was comparing constants that
don't change, such as 1, to those that do, like arbitrary
array dimensions. It is recommended to use PARAMETER for
dimensions of static arrays, or other values that seem to
be constants, but one might want to change later.
-- glen
.
- References:
- whole number constants
- From: dancerchris
- Re: whole number constants
- From: *** Hendrickson
- Re: whole number constants
- From: dancerchris
- Re: whole number constants
- From: dancerchris
- Re: whole number constants
- From: Richard Maine
- Re: whole number constants
- From: dancerchris
- Re: whole number constants
- From: Richard Maine
- Re: whole number constants
- From: Paul van Delst
- whole number constants
- Prev by Date: Re: [C/Fortran] writing "big" binary files issue...
- Next by Date: Re: whole number constants
- Previous by thread: Re: whole number constants
- Next by thread: Re: whole number constants
- Index(es):