summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Build/source/texk/makejvf/ChangeLog6
-rw-r--r--Build/source/texk/makejvf/write.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/Build/source/texk/makejvf/ChangeLog b/Build/source/texk/makejvf/ChangeLog
index b73859f9c21..9cff18b9c91 100644
--- a/Build/source/texk/makejvf/ChangeLog
+++ b/Build/source/texk/makejvf/ChangeLog
@@ -1,3 +1,9 @@
+2017-07-23 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
+
+ * write.c: Trivial change to avoid round-off error in
+ tmin10.vf test on i386 environment. Report from Mojca:
+ http://tug.org/pipermail/tlbuild/2017q3/003866.html
+
2017-07-20 Hironobu Yamashita <h.y.acetaminophen@gmail.com>
makejvf version 20170720.
diff --git a/Build/source/texk/makejvf/write.c b/Build/source/texk/makejvf/write.c
index 10dd504ffb3..94783d12fee 100644
--- a/Build/source/texk/makejvf/write.c
+++ b/Build/source/texk/makejvf/write.c
@@ -122,7 +122,7 @@ void writevf(int code, FILE *fp)
skip2+=-(int)((0.65)*zh);
}
else {
- skip2+=-(int)((0.6)*zh);
+ skip2+=-(int)(zh*3/5.0); /* skip2+=-(int)((0.6)*zh); */
}
if (kanatfm)
@@ -190,7 +190,7 @@ void writevf(int code, FILE *fp)
skip2+=(int)((0.65)*zh);
}
else {
- skip2+=(int)((0.6)*zh);
+ skip2+=(int)(zh*3/5.0); /* skip2+=(int)((0.6)*zh); */
}
if (kanatfm)