summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-09-21 14:24:59 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-09-21 14:24:59 +0000
commit91ecd30193433c2d35e87b6810c790e2937c2f39 (patch)
tree9901706b353711403f5d206fa1de1a5f3311b78e /Build
parent40d0a0bbc62c0f45068c990e613141dbb7007feb (diff)
web2c/mplibdir/mpmathdecimal.w: Sync with the upstream.
git-svn-id: svn://tug.org/texlive/trunk@38424 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/mplibdir/ChangeLog4
-rw-r--r--Build/source/texk/web2c/mplibdir/mpmathdecimal.w4
2 files changed, 6 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/mplibdir/ChangeLog b/Build/source/texk/web2c/mplibdir/ChangeLog
index 0c4707eefc6..db853ec24eb 100644
--- a/Build/source/texk/web2c/mplibdir/ChangeLog
+++ b/Build/source/texk/web2c/mplibdir/ChangeLog
@@ -1,3 +1,7 @@
+2015-09-21 Akira Kakuto <kakuto@fuk.kindai.ac.jp>
+
+ * mpmathdecimal.w: Sync with the upstream trunk.
+
2015-07-10 Peter Breitenlohner <peb@mppmu.mpg.de>
* mptraptest (removed): Renamed ...
diff --git a/Build/source/texk/web2c/mplibdir/mpmathdecimal.w b/Build/source/texk/web2c/mplibdir/mpmathdecimal.w
index 8137e4aaa96..2d5a7e3d0a0 100644
--- a/Build/source/texk/web2c/mplibdir/mpmathdecimal.w
+++ b/Build/source/texk/web2c/mplibdir/mpmathdecimal.w
@@ -1424,8 +1424,8 @@ int mp_round_unscaled(mp_number x_orig) {
@c
void mp_number_floor (mp_number *i) {
- int round = set.round;
- set.round = DEC_ROUND_DOWN;
+ int round = set.round;
+ set.round = DEC_ROUND_FLOOR;
decNumberToIntegralValue(i->data.num, i->data.num, &set);
set.round = round;
}