[Top][All Lists]

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

Re: -INT_MIN/-1 => signed overflow exception

From: Chet Ramey
Subject: Re: -INT_MIN/-1 => signed overflow exception
Date: Wed, 30 Jan 2013 10:11:04 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130107 Thunderbird/17.0.2

On 1/30/13 4:15 AM, Pádraig Brady wrote:
> Happens on x86_64 with 4.2.10(1) and 4.2.42(2) at least
> The following (done in a subshell to avoid killing the current shell)
> demonstrates it:
> $ ($((-2**63/-1)))
> Floating point exception (core dumped)

Thanks for the report.  This was fixed some time ago in the development
branch, and those fixes will be in the next bash release.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/

reply via email to

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