]> git.eshelyaron.com Git - emacs.git/commit
Refactor double integer scaling
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 10 Nov 2019 23:06:49 +0000 (15:06 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 13 Nov 2019 21:10:08 +0000 (13:10 -0800)
commitff10e9517d98aa606e007d3aa4d5aef1c423ab77
tree99d676a2ef88a024fdfd3fdafcdb7abb508e0f55
parent65fb04801c59ac204790e0a5c0599c9b11151f32
Refactor double integer scaling

This doesn’t alter behavior, and simplifies a future commit.
* src/floatfns.c (double_integer_scale): New function,
with body adapted from the old timefns.c.
* src/timefns.c (decode_float_time): Use it.
src/floatfns.c
src/lisp.h
src/timefns.c