From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.devel Subject: Re: bignum branch Date: Fri, 13 Jul 2018 16:30:13 +0100 Message-ID: References: <87o9fbbw1t.fsf@tromey.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1531495774 4036 195.159.176.226 (13 Jul 2018 15:29:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 13 Jul 2018 15:29:34 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 13 17:29:30 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fe00f-0000sz-5W for ged-emacs-devel@m.gmane.org; Fri, 13 Jul 2018 17:29:29 +0200 Original-Received: from localhost ([::1]:37882 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fe02k-0000DN-Ho for ged-emacs-devel@m.gmane.org; Fri, 13 Jul 2018 11:31:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fe01a-0000BS-6v for emacs-devel@gnu.org; Fri, 13 Jul 2018 11:30:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fe01W-0000VP-Ud for emacs-devel@gnu.org; Fri, 13 Jul 2018 11:30:26 -0400 Original-Received: from [195.159.176.226] (port=56479 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fe01W-0000Uq-MF for emacs-devel@gnu.org; Fri, 13 Jul 2018 11:30:22 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fdzzM-0007hQ-KB for emacs-devel@gnu.org; Fri, 13 Jul 2018 17:28:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:355f7b24zN01BEZXKXyTGwwR5Tc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:227348 Archived-At: On Fri 13 Jul 2018, Andy Moreton wrote: > On Thu 12 Jul 2018, Tom Tromey wrote: > >> I've pushed the bignum branch to emacs git, as feature/bignum. >> >> Please read through it and try it out, and reply to this message with >> your comments. >> >> thanks, >> Tom > > I've bootstrapped this with 64bit mingw64 (MSYS2) on Windows without > problems. There were a few compile warnings: > > C:/emacs/git/emacs/bignum/src/floatfns.c: In function 'Fabs': > C:/emacs/git/emacs/bignum/src/floatfns.c:291:29: warning: overflow in implicit constant conversion [-Woverflow] > mpz_init_set_si (val, - MOST_NEGATIVE_FIXNUM); There is also odd behaviour on the bignum branch: ELISP> most-negative-fixnum -2305843009213693952 (#o200000000000000000000, #x2000000000000000) ELISP> (abs most-negative-fixnum) 0 (#o0, #x0, ?\C-@) On master, this behaves as expected: ELISP> most-negative-fixnum -2305843009213693952 (#o200000000000000000000, #x2000000000000000) ELISP> (abs most-negative-fixnum) -2305843009213693952 (#o200000000000000000000, #x2000000000000000)