diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3fp-expo.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3fp-expo.dtx | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp-expo.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp-expo.dtx index 0bcc77eb831..ba6c3fc876e 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3fp-expo.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3fp-expo.dtx @@ -36,7 +36,7 @@ % %<*driver> \documentclass[full]{l3doc} -\GetIdInfo$Id: l3fp-expo.dtx 5191 2014-07-10 17:31:12Z bruno $ +\GetIdInfo$Id: l3fp-expo.dtx 5354 2014-08-23 01:35:39Z bruno $ {L3 Floating-point exponential-related functions} \begin{document} \DocInput{\jobname.dtx} @@ -293,12 +293,14 @@ % Exactly as we did for division, we set $B = 10^4 A - Q_{1}Z$. Then % \begin{align*} % 10^4 B -% \leq +% & \leq % A_{1}A_{2}.A_{3}A_{4} % - \left( \frac{A_{1}A_{2}}{y} - \frac{3}{2} \right) 10^4 Z -% \leq +% \\ +% & \leq % A_{1}A_{2} \left( 1 - \frac{10^4 Z}{y} \right) + 1 + \frac{3}{2} y -% \leq +% \\ +% & \leq % 10^8 \frac{A}{y} + 1 + \frac{3}{2} y % \end{align*} % In the same way, and using $1.7\cdot 10^4\leq y\leq 2.4\cdot 10^4$, @@ -539,7 +541,7 @@ % \end{macro} % % \begin{macro}{\@@_ln_exponent:wn} -% \begin{quote} +% \begin{quote}\raggedright % \cs{@@_ln_exponent:wn} % \Arg{s_1} \Arg{s_2} \Arg{s_3} \Arg{s_4} \Arg{s_5} \Arg{s_6} |;| % \Arg{exponent} @@ -951,7 +953,8 @@ % division by zero, or $a=\pm\infty$ and $b>0$ and the result is also % $+\infty$, but without any exception. % \begin{macrocode} -\cs_new:Npn \@@_pow_zero_or_inf:ww \s_@@ \@@_chk:w #1#2; \s_@@ \@@_chk:w #3#4 +\cs_new:Npn \@@_pow_zero_or_inf:ww + \s_@@ \@@_chk:w #1#2; \s_@@ \@@_chk:w #3#4 { \if_meaning:w 1 #4 \@@_case_return_same_o:w @@ -988,7 +991,8 @@ % \item[3] Return $b$. % \end{itemize} % \begin{macrocode} -\cs_new:Npn \@@_pow_normal:ww \s_@@ \@@_chk:w 1 #1#2#3; \s_@@ \@@_chk:w #4#5 +\cs_new:Npn \@@_pow_normal:ww + \s_@@ \@@_chk:w 1 #1#2#3; \s_@@ \@@_chk:w #4#5 { \if_int_compare:w \__str_if_eq_x:nn { #2 #3 } { 1 {1000} {0000} {0000} {0000} } = \c_zero @@ -1074,7 +1078,7 @@ \exp_after:wN \@@_pow_exponent:Nwnnnnnw % n\ln(10) - (-\ln(x)) \exp_after:wN + \else: - \exp_after:wN \@@_pow_exponent:Nwnnnnnw % -( |n|\ln(10) + (-\ln(x)) ) + \exp_after:wN \@@_pow_exponent:Nwnnnnnw % -(|n|\ln(10) + (-\ln(x))) \exp_after:wN - \fi: #2; #1; |