• Paul Eggert's avatar
    Fix porting inconsistency about rounding to even. · 37ca9077
    Paul Eggert authored
    * 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.
    37ca9077
floatfns.c 14.4 KB