Boost logo

Boost :

From: Leland Brown (lelandbrown_at_[hidden])
Date: 2006-06-09 03:15:33


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk