summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/mplibdir/mpmathdecimal.w
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-06-14 03:09:43 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2015-06-14 03:09:43 +0000
commit748284129fdbd3cd67c6fa496446028fddab439e (patch)
treee7f24f8f77a423b5b014b0c21f22eeb608cb2b59 /Build/source/texk/web2c/mplibdir/mpmathdecimal.w
parent6d2532b801bcb84dc61fdca9a54d9d4b7d739aba (diff)
web2c/mplibdir: Sync with the upstream. Bug fixes in binary and decimal number systems, etc.
git-svn-id: svn://tug.org/texlive/trunk@37518 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/mplibdir/mpmathdecimal.w')
-rw-r--r--Build/source/texk/web2c/mplibdir/mpmathdecimal.w4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/mplibdir/mpmathdecimal.w b/Build/source/texk/web2c/mplibdir/mpmathdecimal.w
index 3ae1cce3042..8137e4aaa96 100644
--- a/Build/source/texk/web2c/mplibdir/mpmathdecimal.w
+++ b/Build/source/texk/web2c/mplibdir/mpmathdecimal.w
@@ -787,9 +787,9 @@ int mp_number_to_boolean(mp_number A) {
if (set.status == DEC_Invalid_operation) {
set.status = 0;
// mp->arith_error = 1;
- return 0; // whatever
+ return mp_false_code; // whatever
} else {
- return (result ? 1 : 0);
+ return result ;
}
}
double mp_number_to_double(mp_number A) {