
9 Jun
2006
9 Jun
'06
7:15 a.m.
Andy Little <andy <at> servocomm.freeserve.co.uk> writes:
"Leland Brown" wrote
const sqrt_accel numer = sqrt(g); ... sqrt_length denom = sqrt(L); time result = numer / denom;
FWIW the result is a frequency, rather than a time. Nevertheless its a good example !
Oops! Yes, of course. I guess I was too hasty in thinking I knew what I was doing :-) You know, that makes two or three of us now that have made mistakes like this, just in writing example code for the review discussions. I think that points out there really is a need for a library of this kind, to catch all the mistakes made by us sloppy programmers! Thanks for the correction. -- Leland