On Tue, Apr 06, 2010 at 01:29:28PM +0200, Roman Rakus wrote:
> Is it possible to add more traps to arithmetic evaluation?
> Repeated by:
> $((2 ** 63 / -1))
> 
> Actual result:
> SIGFPE (not catched)
> 
> Initial report is https://bugzilla.redhat.com/show_bug.cgi?id=579622

Hmm, I don't get that.

imadev:~$ uname -sr; echo $BASH_VERSION
HP-UX B.10.20
4.1.2(2)-release
imadev:~$ echo $((2 ** 63 / -1))
-9223372036854775808

arc3:~$ uname -sr; echo $BASH_VERSION
Linux 2.6.26-2-686
3.2.39(1)-release
arc3:~$ echo $((2 ** 63 / -1))
-9223372036854775808


Reply via email to