aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPaul Eggert2017-03-04 23:14:52 -0800
committerPaul Eggert2017-03-04 23:18:39 -0800
commit0d55c44a9a00da3b8542e92586654adeb2bcf228 (patch)
tree1105e60b43ef80d105ca613ece1c8cfc6ee64f07 /etc
parent44e7ee2e356452139156e8175c46f646835d27ff (diff)
downloademacs-0d55c44a9a00da3b8542e92586654adeb2bcf228.tar.gz
emacs-0d55c44a9a00da3b8542e92586654adeb2bcf228.zip
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.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 9c995930fbf..fe02236ecc2 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -915,6 +915,11 @@ Emacs integers with %e, %f, or %g conversions. For example, on these
915hosts (eql N (string-to-number (format "%.0f" N))) now returns t for 915hosts (eql N (string-to-number (format "%.0f" N))) now returns t for
916all Emacs integers N. 916all Emacs integers N.
917 917
918---
919** Calls that accept floating-point integers (for use on hosts with
920limited integer range) now signal an error if arguments are not
921integral. For example (decode-char 'ascii 0.5) now signals an error.
922
918+++ 923+++
919** The new function 'char-from-name' converts a Unicode name string 924** The new function 'char-from-name' converts a Unicode name string
920to the corresponding character code. 925to the corresponding character code.