Re: How does bc work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bill Rugolsky Jr. wrote:
> Just for kicks, I did this on a 4GB dual Opteron 246 running x86_64 Rawhide.
> It took about 9 hours, and used about 200MB of VM (sorry, lost the output
> of "time"), but the end result is:
>
> (10656 ... <56026881 digits> ... 09376) * (10 ^ 216000000)

Dan Track wrote:
> Wow. Great thanks for that. The last part of your number does it mean
> there are 216000000 zeros in the final figure, or is it 216000001
> zeros?

216 000 000. 10^1 = 10, which has one zero, and two digits.
10^4 = 10 000, which has four zeros, and five digits.
2 * 10^4 = 20 000, which also has four zeros, and five digits.
And so on.

Hope this helps,

James.
-- 
E-mail:     james@ | Top Tip: If you are being chased by a police dog, don't
aprilcottage.co.uk | try to get away by crawling through a tunnel, going onto
                   | a little see-saw, and jumping through a hoop of fire.
                   | They are trained for that, you see.
                   |     -- "Bystander", London magistrate


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux