summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/mplibdir/mpmathbinary.w
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c/mplibdir/mpmathbinary.w')
-rw-r--r--Build/source/texk/web2c/mplibdir/mpmathbinary.w2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/mplibdir/mpmathbinary.w b/Build/source/texk/web2c/mplibdir/mpmathbinary.w
index b8b8508d8aa..38cd823499a 100644
--- a/Build/source/texk/web2c/mplibdir/mpmathbinary.w
+++ b/Build/source/texk/web2c/mplibdir/mpmathbinary.w
@@ -607,7 +607,7 @@ int mp_number_to_boolean(mp_number A) {
if (mpfr_fits_sint_p(A.data.num, ROUNDING)) {
result = mpfr_get_si(A.data.num, ROUNDING);
}
- return (result ? 1 : 0);
+ return result;
}
double mp_number_to_double(mp_number A) {
double res = 0.0;