Compare and round more carefully
commit0d55c44a9a00da3b8542e92586654adeb2bcf228
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 5 Mar 2017 07:14:52 +0000 (4 23:14 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 5 Mar 2017 07:18:39 +0000 (4 23:18 -0800)
tree1105e60b43ef80d105ca613ece1c8cfc6ee64f07
parent44e7ee2e356452139156e8175c46f646835d27ff
Compare and round more carefully

* etc/NEWS: Document this.
* src/data.c (store_symval_forwarding):
* src/sound.c (parse_sound):
Do not botch NaN comparison.
* src/data.c (cons_to_unsigned, cons_to_signed):
Signal an error if a floating-point arg is not integral.
* src/data.c (cons_to_unsigned, cons_to_signed):
* src/fileio.c (file_offset):
Use simpler overflow check.
* src/dbusbind.c (xd_extract_signed, xd_extract_unsigned):
Avoid rounding error in overflow check.
(Fcar_less_than_car): Use arithcompare directly.
* test/src/charset-tests.el: New file.
etc/NEWS
src/data.c
src/dbusbind.c
src/fileio.c
src/sound.c
test/src/charset-tests.el [new file with mode: 0644]