1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 12:40:49 -08:00
emacs/doc
Paul Eggert 396ed88a50 Avoid some excess precision in time arithmetic
* doc/misc/emacs-mime.texi (time-date):
Adjust example to match new behavior.
* etc/NEWS: Mention this.
* lisp/calendar/time-date.el (decoded-time-add)
(decoded-time--alter-second):
Don’t lose underestimate precision of seconds component.
* src/bignum.c (mpz): Grow by 1.
* src/timefns.c (trillion_factor): New function.
(timeform_sub_ps_p): Remove.
(time_arith): Avoid unnecessarily-large hz, by reducing the hz
to a value no worse than the worse hz of the two arguments.
The result is always exact unless an error is signaled.
* test/src/timefns-tests.el (timefns-tests--decode-time):
New function.
(format-time-string-with-zone): Test (decode-time LOOK ZONE t)
resolution as well as its numeric value.
2019-08-20 17:36:46 -07:00
..
emacs Fix a recent documentation change 2019-08-17 09:28:52 +03:00
lispintro Don't refer to non-existent functions in mode line examples 2019-08-03 14:59:53 +02:00
lispref Respect global-eldoc-mode in minibuffers (Bug#36886) 2019-08-20 20:20:52 -04:00
man Document that --eval makes emacsclient ignore -n 2019-08-02 00:15:13 +02:00
misc Avoid some excess precision in time arithmetic 2019-08-20 17:36:46 -07:00