How does bc work

Dan Track dan.track at gmail.com
Wed Oct 11 11:24:18 UTC 2006


On 10/11/06, Dave Mitchell <davem at iabyn.com> wrote:
> On Wed, Oct 11, 2006 at 09:30:13AM +0100, Dan Track wrote:
> > Does anybody know where bc stores its calucation while calculating a
> > number. Basically I'm running 36000000^36000000.
>
> Er, you do realise that result will have about 272 million digits?
>
> --
> Nothing ventured, nothing lost.
>

Hi

Thanks for the heads up :). I realise its going to be big but it all
started from someone challenging me about how quick my workstation
could do that calculation. I've only started to see that bc might be
eating up my memory, and was wondering if there's a way round this.

Thanks
Dan




More information about the fedora-list mailing list