summaryrefslogtreecommitdiff
path: root/metapost/context/base/mpxl/mp-base.mpxl
diff options
context:
space:
mode:
Diffstat (limited to 'metapost/context/base/mpxl/mp-base.mpxl')
-rw-r--r--metapost/context/base/mpxl/mp-base.mpxl6
1 files changed, 5 insertions, 1 deletions
diff --git a/metapost/context/base/mpxl/mp-base.mpxl b/metapost/context/base/mpxl/mp-base.mpxl
index 9bba87d23..ba2012b7e 100644
--- a/metapost/context/base/mpxl/mp-base.mpxl
+++ b/metapost/context/base/mpxl/mp-base.mpxl
@@ -639,7 +639,9 @@ permanent interpath, solve, buildcycle, tolerance ;
%% units of measure
-mm := 2.83464 ;
+newinternal mm, pt, dd, bp, cm, pc, cc, in, dk, es, ts ;
+
+mm := 2.83464 ; % ibm odd/even rounding
pt := 0.99626 ;
dd := 1.06601 ; % 1.0660068107174
bp := 1 ;
@@ -648,6 +650,8 @@ pc := 11.95517 ;
cc := 12.79213 ;
in := 72 ;
dk := 6.41577 ; % 6.4157650704225 ;
+es := 71.13174 ; % ibm odd/even rounding
+ts := 7.11317 ;
immutable mm, pt, bp, cm, in ; % we don't protect (yet): dd, pc cc (used as locals)