[Top][All Lists]

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

Re: Merging bignum to master

From: Andy Moreton
Subject: Re: Merging bignum to master
Date: Tue, 14 Aug 2018 01:51:58 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (windows-nt)

On Sat 11 Aug 2018, Tom Tromey wrote:

> I'm merging bignum to master now, then I'm going to delete the
> now-obsolete feature branch.  Please report any problems you find.

ELISP> (mod (+ most-positive-fixnum 0) 2)
1 (#o1, #x1, ?\C-a)
ELISP> (mod (+ most-positive-fixnum 1) 2)
0 (#o0, #x0, ?\C-@)
ELISP> (mod (+ most-positive-fixnum 1) 2.0)
1.0                          <<<<<<<<< expected 0.0
ELISP> (mod (+ most-positive-fixnum 1.0) 2)

So (mod bignum float) appears to misbehave. It looks like the problem is
that fmod_float does not handle bignums.


reply via email to

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