diff options
Diffstat (limited to 'tex/context/base/syst-con.mkiv')
-rw-r--r-- | tex/context/base/syst-con.mkiv | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tex/context/base/syst-con.mkiv b/tex/context/base/syst-con.mkiv index 077e69007..6ef734c8f 100644 --- a/tex/context/base/syst-con.mkiv +++ b/tex/context/base/syst-con.mkiv @@ -134,16 +134,6 @@ % \let\calculatecos\gobbleoneargument % \let\calculatetan\gobbleoneargument -% \def\calculatedsin#1{\ctxsprint{math.sin(#1)}} -% \def\calculatedcos#1{\ctxsprint{math.cos(#1)}} -% \def\calculatedtan#1{\ctxsprint{math.tan(#1)}} - -% \def\setcalculatedsin#1#2{\edef#1{\ctxsprint{math.sind(#2)}}} -% \def\setcalculatedcos#1#2{\edef#1{\ctxsprint{math.cosd(#2)}}} -% \def\setcalculatedtan#1#2{\edef#1{\ctxsprint{math.tand(#2)}}} - -% this is actually 20% faster: some overhead in functions but less tokenization - \def\setcalculatedsin#1#2{\edef#1{\cldcontext{math.sind(#2)}}} \def\setcalculatedcos#1#2{\edef#1{\cldcontext{math.cosd(#2)}}} \def\setcalculatedtan#1#2{\edef#1{\cldcontext{math.tand(#2)}}} |