[latex3-commits] [git/LaTeX3-latex3-latex3] master: Make a benchmark test very slightly looser (443730e)

Bruno Le Floch bruno at le-floch.fr
Sun Nov 4 12:49:48 CET 2018


Repository : https://github.com/latex3/latex3
On branch  : master
Link       : https://github.com/latex3/latex3/commit/443730e0ee912ffe15c6b15d573c9544fbd6bf4c

>---------------------------------------------------------------

commit 443730e0ee912ffe15c6b15d573c9544fbd6bf4c
Author: Bruno Le Floch <bruno at le-floch.fr>
Date:   Sun Nov 4 12:49:48 2018 +0100

    Make a benchmark test very slightly looser


>---------------------------------------------------------------

443730e0ee912ffe15c6b15d573c9544fbd6bf4c
 l3experimental/l3benchmark/testfiles/m3benchmark001.lvt |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/l3experimental/l3benchmark/testfiles/m3benchmark001.lvt b/l3experimental/l3benchmark/testfiles/m3benchmark001.lvt
index a73d480..a1b4dc4 100644
--- a/l3experimental/l3benchmark/testfiles/m3benchmark001.lvt
+++ b/l3experimental/l3benchmark/testfiles/m3benchmark001.lvt
@@ -60,8 +60,8 @@
       }
     \fp_compare:nTF % Check that doing code twice takes between 1.5 and 2.5 times as much
       {
-        (1.5 * min ( \l_tmpa_clist ) < max ( \l_tmpb_clist ))
-        && (2.5 * max ( \l_tmpa_clist ) > min ( \l_tmpb_clist ))
+        (1.5 * min ( \l_tmpa_clist ) <= max ( \l_tmpb_clist ))
+        && (2.5 * max ( \l_tmpa_clist ) >= min ( \l_tmpb_clist ))
       }
       { \TRUE }
       {





More information about the latex3-commits mailing list