diff options
author | Karl Berry <karl@freefriends.org> | 2013-10-09 00:17:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2013-10-09 00:17:30 +0000 |
commit | 6ae8f0974768da24d4bcfff401e0f660c0b9fb5d (patch) | |
tree | 7d30ffa224cef20b8d5bcc4a4a6dfee90e4ca148 /Master/texmf-dist/source/latex/l3kernel/l3fp-trig.dtx | |
parent | ad8c0db83542b88b7a3d63af382ccc630df38d03 (diff) |
l3 (8oct13)
git-svn-id: svn://tug.org/texlive/trunk@31865 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/l3kernel/l3fp-trig.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/l3kernel/l3fp-trig.dtx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/l3kernel/l3fp-trig.dtx b/Master/texmf-dist/source/latex/l3kernel/l3fp-trig.dtx index dc764e54ab1..34f0a220acd 100644 --- a/Master/texmf-dist/source/latex/l3kernel/l3fp-trig.dtx +++ b/Master/texmf-dist/source/latex/l3kernel/l3fp-trig.dtx @@ -36,7 +36,7 @@ % %<*driver> \RequirePackage{l3bootstrap} -\GetIdInfo$Id: l3fp-trig.dtx 4339 2012-11-24 19:16:43Z joseph $ +\GetIdInfo$Id: l3fp-trig.dtx 4593 2013-10-07 13:32:35Z bruno $ {L3 Floating-point trigonometric functions} \documentclass[full]{l3doc} \begin{document} @@ -385,8 +385,9 @@ % \cs{@@_trig_large:www} are a leading block of up to $5$ digits, % three brace groups of $4$ digits each, and the exponent, decremented % at each step. The multiple of $2\pi$ to subtract is estimated as -% $\lfloor |#1| / 6283\rfloor$ (the formula chosen always gives a -% non-negative integer). The subtraction has a form similar to our +% $\lfloor |#1| / 6283.3\rfloor$ (the formula chosen always gives a +% non-negative integer, strictly less than the actual ratio by $2\pi$). +% The subtraction has a form similar to our % usual multiplications (see \pkg{l3fp-basics} or % \pkg{l3fp-extended}). Once the exponent reaches $0$, we are done % subtracting $2\pi$, and we call \cs{@@_trig_octant_loop:nnnnnw} to do @@ -398,7 +399,7 @@ { \if_meaning:w 0 #3 \@@_trig_large_break:w \fi: \exp_after:wN \@@_trig_large_o:wnnnn - \int_use:N \__int_eval:w ( #1 - 3141 ) / 6283 ; + \int_use:N \__int_eval:w ( #10 - 31416 ) / 62833 ; {#1} #2 \exp_after:wN ; \int_use:N \__int_eval:w \c_minus_one + #3; |