bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#32463: 27.0.50; (logior -1) => 4611686018427387903


From: Paul Eggert
Subject: bug#32463: 27.0.50; (logior -1) => 4611686018427387903
Date: Tue, 21 Aug 2018 19:29:31 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

d) Extend Fceiling, Ffloor, Fround and Ftruncate to support bignums by
   updating rounding_driver.

I worked on these and installed patches to master that should do (a), (b), and (c). For (d) I wrote the attached patch, and plan to test it a bit more before installing, as it's the hairiest.

It took me longer to write the test cases than the code, but the tests did find bugs so it was worth it. I installed the attached.

While we're on the subject I moved the definition of 'bignump' and 'fixnump' from C to Lisp, since they are easily implementable in Lisp and don't seem to be performance relevant. Hope you don't mind too much that I would rather minimize the low-level details that the C code exports.

Both patches attached.

Attachment: 0001-Move-bignump-fixnump-from-C-to-Lisp.patch
Description: Text Data

Attachment: 0002-Add-bignum-support-to-floor-ceiling-etc.patch
Description: Text Data


reply via email to

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