]> git.eshelyaron.com Git - emacs.git/commit
Allow conversion of bignums to floats
authorTom Tromey <tom@tromey.com>
Thu, 5 Jul 2018 19:17:36 +0000 (13:17 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 13 Jul 2018 04:12:27 +0000 (22:12 -0600)
commit872faabbd8cb0f5518777b2d4fe7de187f684a92
treeb09cc3fa24e232c156f7991008d080fd5c77d860
parentd14808cd271abf6a723bf495a6a01c14d18b5893
Allow conversion of bignums to floats

* src/floatfns.c (extract_float, Ffloat): Handle bignums.
* src/lisp.h (XFLOATINT): Handle bignums.
* test/src/floatfns-tests.el (bignum-to-float): New test.
src/floatfns.c
src/lisp.h
test/src/floatfns-tests.el