Re: Mathematical models for loop calculations



Tim Frink said:

On Wed, 26 Sep 2007 15:30:59 +0000, Richard Heathfield wrote:


Seems to be a small mistake,
should be "b = power(2,I);

I fail to see the mistake. You've just typed what I typed, except that
you've written power rather than pow. The pow function is in the
standard C library, which is why I chose it. If your language provides
power instead of pow, that's fine, but it doesn't make my choice a
mistake.

Ups, I'm sorry. What I meant was "b = power(2,I+1)"

Oh, I'll buy that. I didn't check all that carefully. You could well be
right.

--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
.



Relevant Pages