What is the integer limit for bash 4.0.28 arithmetic?
D. Hugh Redelmeier
hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org
Wed Sep 30 05:05:17 UTC 2009
| From: Walter Dnes <waltdnes-SLHPyeZ9y/tg9hUCZPvPmw at public.gmane.org>
| My question is... how large a number will bash (4.0.28(1)) integer
| arithmetic be able to handle? I can use "bc" if necessary, but prefer
| to use as few external programs as possible.
Date: Tue, 4 Aug 2009 00:56:57 -0400 (EDT)
From: D. Hugh Redelmeier <hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org>
To: tlug-lxSQFCZeNF4 at public.gmane.org
Subject: Re: [TLUG]: Slowing Linux to a crawl
| From: D. Hugh Redelmeier <hugh-pmF8o41NoarQT0dZR+AlfA at public.gmane.org>
| It appears as if BASH uses 64-bit evaluation, so there appears to be
| no immediate danger.
I just booted another old box (see other threads). It has RHL 7.0 with
BASH 2.04.11. This BASH uses 32-bit evaluation. With no reporting of
overflow (conforming to the manual, but I think that this is
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy