bug-bash
[Top][All Lists]
Advanced

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

Re: Calcuating with numbers above of 1000000000


From: Paul Jarc
Subject: Re: Calcuating with numbers above of 1000000000
Date: Thu, 25 Jul 2002 12:07:14 -0400
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i686-pc-linux-gnu)

Fabian Foerster <fabian_foerster@web.de> wrote:
>       I wanted to write a script that makes it possible to create extremly 
> long
>       numbers. That wasn't possible to me because, I think, the bash cannot
>       handle numbers above of 1000000000.

bash does not use bignums, it uses one of the C integer types, so
there will be a limited range.  If you upgrade to 2.05b, the range
will probably be larger.  But if you need arbitrarily large integers,
use something other than bash.


paul



reply via email to

[Prev in Thread] Current Thread [Next in Thread]