emacs-devel
[Top][All Lists]
Advanced

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

Re: bignum branch


From: Andy Moreton
Subject: Re: bignum branch
Date: Fri, 13 Jul 2018 16:30:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt)

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)




reply via email to

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