1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-14 02:42:46 -07:00
emacs/test/src
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
..
regex-resources
alloc-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
buffer-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
callint-tests.el Update more copyright years 2018-12-31 18:47:22 -08:00
callproc-tests.el Minor change in a comment 2019-04-15 19:11:16 +03:00
casefiddle-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
charset-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
chartab-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
cmds-tests.el forward-line now works with bignums 2019-01-27 15:52:06 -08:00
coding-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
data-tests.el Merge from origin/emacs-26 2019-02-15 13:25:30 -08:00
decompress-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
doc-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
editfns-tests.el Support "%x" etc. formats on more floats 2019-07-23 01:46:41 -07:00
emacs-module-tests.el Fix time-add rounding bug 2019-08-16 16:27:27 -07:00
eval-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
fileio-tests.el Fix recently-introduced file-name-absolute-p typo 2019-07-26 09:48:57 -07:00
floatfns-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
fns-tests.el Fix crash if user test munges hash table 2019-07-20 20:13:46 -07:00
font-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
inotify-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
json-tests.el * test/src/json-tests.el (json-serialize/object): Fix spacing. 2019-06-29 07:41:52 +02:00
keyboard-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
keymap-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
lcms-tests.el Go back to "Maintainer: emacs-devel@gnu.org" 2019-05-25 14:25:18 -07:00
lread-tests.el Make warning about unescaped character literals more helpful. 2019-04-19 19:19:35 +02:00
marker-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
minibuf-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
print-tests.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
process-tests.el Merge from origin/emacs-26 2019-07-30 21:42:34 -07:00
regex-emacs-tests.el Correct regexp matching of raw bytes 2019-06-28 17:30:18 +02:00
syntax-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
textprop-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
thread-tests.el Remove failing test erroneously added in backport 2019-06-14 09:40:40 +03:00
timefns-tests.el Avoid some excess precision in time arithmetic 2019-08-20 17:36:46 -07:00
undo-tests.el Suppress interactive-only warnings in undo-tests.el (Bug#36565) 2019-08-08 08:26:31 -04:00
xml-tests.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00