GNU bug report logs - #16283
24.2; Built-in function * , used for calculating product, gives wrong output

Previous Next

Package: emacs;

Reported by: Mohammed Sami <abdussami101 <at> gmail.com>

Date: Sat, 28 Dec 2013 18:43:01 UTC

Severity: normal

Found in version 24.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Mohammed Sami <abdussami101 <at> gmail.com>
Cc: 16283 <at> debbugs.gnu.org
Subject: bug#16283: 24.2; Built-in function * , used for calculating product, gives wrong output
Date: Sat, 28 Dec 2013 19:51:32 +0100
Mohammed Sami <abdussami101 <at> gmail.com> writes:

> After starting window Emacs with "emacs -q", when I evaluate (* 1024 1024
> 1024 1024), I get 0.

Arithmetic functions generally don't check for overflow.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 11 years and 149 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.