summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}