[latex3-commits] [git/LaTeX3-latex3-latex3] morechk: add '0' return value from non-existing fp (4ea423c)

Will Robertson wspr81 at gmail.com
Mon Apr 15 15:39:53 CEST 2019


Repository : https://github.com/latex3/latex3
On branch  : morechk
Link       : https://github.com/latex3/latex3/commit/4ea423c49041a7299af241b04e9bfb6f9557394c

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

commit 4ea423c49041a7299af241b04e9bfb6f9557394c
Author: Will Robertson <wspr81 at gmail.com>
Date:   Mon Apr 15 23:09:53 2019 +0930

    add '0' return value from non-existing fp


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

4ea423c49041a7299af241b04e9bfb6f9557394c
 l3kernel/l3fp-convert.dtx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/l3kernel/l3fp-convert.dtx b/l3kernel/l3fp-convert.dtx
index f8658a7..c9c4408 100644
--- a/l3kernel/l3fp-convert.dtx
+++ b/l3kernel/l3fp-convert.dtx
@@ -548,7 +548,7 @@
   {
     \cs_new:Npn \fp_use:N #1
       {
-        \__kernel_chk_exp_var_exist:NT #1 { \fp_to_decimal:N #1 }
+        \__kernel_chk_exp_var_exist:NTF #1 { \fp_to_decimal:N #1 } {0}
       }
   }
   {





More information about the latex3-commits mailing list