aboutsummaryrefslogtreecommitdiffstats
path: root/profile.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 /profile.c
parent98c342179faae6afd0341e5ca65eae00a79c86b7 (diff)
downloadegawk-1673eabb64f93c4d24b0ef7d9d0d8444d6ad5056.tar.gz
egawk-1673eabb64f93c4d24b0ef7d9d0d8444d6ad5056.tar.bz2
egawk-1673eabb64f93c4d24b0ef7d9d0d8444d6ad5056.zip
Change MPFR variable RND_MODE to ROUND_MODE.
Diffstat (limited to 'profile.c')
-rw-r--r--profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/profile.c b/profile.c
index 7d5c07b2..181395d9 100644
--- a/profile.c
+++ b/profile.c
@@ -1210,7 +1210,7 @@ pp_number(NODE *n)
emalloc(str, char *, PP_PRECISION + 10, "pp_number");
#ifdef HAVE_MPFR
if (is_mpg_float(n))
- mpfr_sprintf(str, "%0.*R*g", PP_PRECISION, RND_MODE, n->mpg_numbr);
+ mpfr_sprintf(str, "%0.*R*g", PP_PRECISION, ROUND_MODE, n->mpg_numbr);
else if (is_mpg_integer(n))
mpfr_sprintf(str, "%Zd", n->mpg_i);
else