summaryrefslogtreecommitdiff
path: root/command.y
diff options
context:
space:
mode:
authorjohn haque <j.eh@mchsi.com>2012-04-12 06:17:30 -0500
committerjohn haque <j.eh@mchsi.com>2012-04-12 06:17:30 -0500
commit1673eabb64f93c4d24b0ef7d9d0d8444d6ad5056 (patch)
tree54c032619df96bd3bab6fd84cdc16dde4723bccd /command.y
parent98c342179faae6afd0341e5ca65eae00a79c86b7 (diff)
downloadgawk-1673eabb64f93c4d24b0ef7d9d0d8444d6ad5056.tar.gz
Change MPFR variable RND_MODE to ROUND_MODE.
Diffstat (limited to 'command.y')
-rw-r--r--command.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.y b/command.y
index cb5707c6..f603a616 100644
--- a/command.y
+++ b/command.y
@@ -1248,7 +1248,7 @@ err:
if (do_mpfr) {
int tval;
r = mpg_float();
- tval = mpfr_strtofr(r->mpg_numbr, tokstart, & lexptr, 0, RND_MODE);
+ tval = mpfr_strtofr(r->mpg_numbr, tokstart, & lexptr, 0, ROUND_MODE);
IEEE_FMT(r->mpg_numbr, tval);
if (mpfr_integer_p(r->mpg_numbr)) {
/* integral value, convert to a GMP type. */