On 12/6/17 7:53 AM, Greg Wooledge wrote:
> On Wed, Dec 06, 2017 at 03:35:51PM +0100, H.-Dirk Schmitt wrote:
>> I carefully read the man page and find no definition of the defined
>> range of integer variables in bash.
>
> Bash uses signed 64-bit integers for arithmetic, since version 2.05b.
> Before that, it was either 32-bit or platform-defined; I'm not sure
> which.
It's always been platform-dependent. It used to be `unsigned long', now
it's `intmax_t'.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/