How can I calculate this exponential growth?

I'm reading the book "Singularity is near", and there is a passage where the author says: "It takes 100 years to achieve this, with current rate of progress, but because we're doubling the rate of progress every decade, we'll achieve a progress of century in 25 years".

I want to eat 100 Mars bars. At my current rate of 1 Mars bar a year, it will take me 100 years. But if I start eating 2 a year after 10 years, and 4 a year after 20 years, then in 25 years I'll eat $$10\times1+10\times2+5\times4=50$$ Seems to me it would actually take 32 years: $$10\times1+10\times2+10\times4+4\times8=102$$ But this is assuming the increase is discrete, happening only at the end of each 10-year period. Most likely, the author has a continuous model in mind, and one needs to perform an integration rather than an addition. How are you on integral calculus?
OK, then; I eat at the rate $f(t)=e^{(t\log2)/10}$ Mars bars a year at time $t$, measuring $t$ in years. To begin with, $t=0$, 1 Mars bar a year, 100 years. But over 25 years, $\int_0^{25}f(t)\,dt$. –  Gerry Myerson Jul 20 '13 at 6:52
Solve $100=\int_0^Tf(t)\,dt$ for $T$. I haven't worked it out, and I don't guarantee you'll get 25 --- the author may have been doing some rounding to the nearest nice number. –  Gerry Myerson Jul 20 '13 at 7:30