diff options
author | Mathieu Lirzin <mthl@gnu.org> | 2018-03-26 16:39:13 +0200 |
---|---|---|
committer | Mathieu Lirzin <mthl@gnu.org> | 2018-03-26 17:20:26 +0200 |
commit | fad58ca8c221def75093463e917f66fc006f3df5 (patch) | |
tree | 77f7dce258ab0069d95734bd9436e80417998de8 /src/mcron/mcron-core.scm | |
parent | e66f0dcdd6f1838c8d4f5d70cea7ca63dc150ead (diff) | |
download | mcron-fad58ca8c221def75093463e917f66fc006f3df5.tar.gz mcron-fad58ca8c221def75093463e917f66fc006f3df5.tar.bz2 mcron-fad58ca8c221def75093463e917f66fc006f3df5.zip |
job-specifier: Preserve '%find-best-next' arguments exactness
The behavior of the 'min' procedure which converts its parameters to
inexact numbers when at least one of them is inexact was causing
'%find-best-next' to always return real numbers.
* src/mcron/job-specifier.scm (%find-best-next): Preserve the exactness
of numbers in NEXT-LIST.
* tests/job-specifier.scm ("%find-best-next: exact"): New test.
Reported-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'src/mcron/mcron-core.scm')
0 files changed, 0 insertions, 0 deletions