summaryrefslogtreecommitdiff
path: root/metapost
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2022-10-15 12:19:43 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2022-10-15 12:19:43 +0200
commitc0c1dea1daf21f2c21f6d8094f54f67138998baf (patch)
tree1c9ea4021dd831004eaa41cb4bef34798fae7f46 /metapost
parent0aa93a6d31a45d8df2d8516567b98967ce04f183 (diff)
downloadcontext-c0c1dea1daf21f2c21f6d8094f54f67138998baf.tar.gz
2022-10-15 10:34:00
Diffstat (limited to 'metapost')
-rw-r--r--metapost/context/base/mpxl/mp-math.mpxl10
1 files changed, 0 insertions, 10 deletions
diff --git a/metapost/context/base/mpxl/mp-math.mpxl b/metapost/context/base/mpxl/mp-math.mpxl
index 3d9ad81d3..404d42160 100644
--- a/metapost/context/base/mpxl/mp-math.mpxl
+++ b/metapost/context/base/mpxl/mp-math.mpxl
@@ -172,16 +172,6 @@ else : % decimal
fi ;
-%D Variant on post to the mailing list by MC:
-
-vardef atantwo(expr dy, dx) =
- if dx == 0 :
- if dy < 0 : - fi pi / 2
- else :
- atan(dy/dx) if dx > 0 : if dy < 0 : - else : + fi pi fi
- fi
-enddef ;
-
permanent
m_acos, m_acosh, m_asin, m_asinh, m_atan, m_atantwo, m_atanh, m_cbrt, m_ceil,
m_copysign, m_cos, m_cosh, m_deg, m_erf, m_erfc, m_exp, m_exptwo, m_expm, m_fabs,