Fix porting inconsistency about rounding to even.
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 19 Mar 2014 21:09:08 +0000 (14:09 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 19 Mar 2014 21:09:08 +0000 (14:09 -0700)
commit37ca9077224a3c0e1c2051a47c58148d826812e8
treeaf3f66c0fc097fc7d69e315734443821703d6c2b
parent6a72e405532b56406306cda56b4e2ef0807e2760
Fix porting inconsistency about rounding to even.

* doc/lispref/numbers.texi (Numeric Conversions, Rounding Operations):
Document that 'round' and 'fround' round to even.
* src/floatfns.c (emacs_rint) [!HAVE_RINT]: Round to even.
This way, the unusual !HAVE_RINT case acts like the usual
HAVE_RINT case, and we can fix the documentation accordingly.
doc/lispref/ChangeLog
doc/lispref/numbers.texi
src/ChangeLog
src/floatfns.c