aboutsummaryrefslogtreecommitdiffstats
path: root/mpfr.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-04-16 12:53:35 +0300
committerArnold D. Robbins <arnold@skeeve.com>2017-04-16 12:53:35 +0300
commit7c3d14eb1d103061939fdcad66bf2b27d78bc5b5 (patch)
tree215af173270e7d93496e9a9e14aeaaeeebea0be4 /mpfr.c
parent4afe3d81ba9bdf9443fbdaa43bef47fc20b1eb4b (diff)
downloadegawk-7c3d14eb1d103061939fdcad66bf2b27d78bc5b5.tar.gz
egawk-7c3d14eb1d103061939fdcad66bf2b27d78bc5b5.tar.bz2
egawk-7c3d14eb1d103061939fdcad66bf2b27d78bc5b5.zip
Rename intdiv to intdiv0, require it to be configured in.
Diffstat (limited to 'mpfr.c')
-rw-r--r--mpfr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mpfr.c b/mpfr.c
index f02c27b4..a8a517c3 100644
--- a/mpfr.c
+++ b/mpfr.c
@@ -1169,6 +1169,7 @@ do_mpfr_srand(int nargs)
return res;
}
+#ifdef SUPPLY_INTDIV
/* do_mpfr_intdiv --- do integer division, return quotient and remainder in dest array */
/*
@@ -1262,6 +1263,7 @@ do_mpfr_intdiv(int nargs)
return make_number((AWKNUM) 0.0);
}
+#endif /* SUPPLY_INTDIV */
/*
* mpg_tofloat --- convert an arbitrary-precision integer operand to