On Sun, Oct 9, 2011 at 12:59 PM, Roberto Bagnara
<bagnara@cs.unipr.it> wrote:
+ //! Number of microseconds in a second.
+ static const unsigned long MUSECS_IN_SEC = 1000000UL;
+
+ //! Number of hundredths of a second in a second.
+ static const unsigned long HSECS_IN_SEC = 100UL;
It would be somewhat more consistent (and SI-similar) to use "CSECS_IN..."; "centi-" is 1e-2, while "hecta-" is 1e+2.
Both entirely trivial, but they caught my eye.
Also, I wonder if "_PER_" would read more clearly than "_IN_"? I tend towards the former in my code, but I don't know how much of a taste issue that is. As a native [american] english speaker, I sometimes read "x in y" as "x in terms of y", while "x per y" is less ambiguous.
Best regards,
Anthony Foiani