summaryrefslogtreecommitdiff
path: root/field.c
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 /field.c
parent98c342179faae6afd0341e5ca65eae00a79c86b7 (diff)
downloadgawk-1673eabb64f93c4d24b0ef7d9d0d8444d6ad5056.tar.gz
Change MPFR variable RND_MODE to ROUND_MODE.
Diffstat (limited to 'field.c')
-rw-r--r--field.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/field.c b/field.c
index 26ece846..68bd699d 100644
--- a/field.c
+++ b/field.c
@@ -207,7 +207,7 @@ rebuild_record()
#ifdef HAVE_MPFR
if (is_mpg_float(r)) {
mpfr_init(n->mpg_numbr);
- mpfr_set(n->mpg_numbr, r->mpg_numbr, RND_MODE);
+ mpfr_set(n->mpg_numbr, r->mpg_numbr, ROUND_MODE);
} else if (is_mpg_integer(r)) {
mpz_init(n->mpg_i);
mpz_set(n->mpg_i, r->mpg_i);