diff options
author | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2017-07-24 11:32:52 +0000 |
---|---|---|
committer | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2017-07-24 11:32:52 +0000 |
commit | 03baebc3f22764133d066a942a43b9fb94c0d12e (patch) | |
tree | b8962c823bb54282210b3a4d524bd2e5cafa2f97 /Build/source/texk | |
parent | 575dba04690c474a4a1b415bbbeeb90cbf92c5ac (diff) |
makejvf: trivial fix to avoid round-off error on i386
git-svn-id: svn://tug.org/texlive/trunk@44880 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk')
-rw-r--r-- | Build/source/texk/makejvf/ChangeLog | 6 | ||||
-rw-r--r-- | Build/source/texk/makejvf/write.c | 4 |
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) |