aboutsummaryrefslogtreecommitdiffstats
path: root/builtin.c
diff options
context:
space:
mode:
authorjohn haque <j.eh@mchsi.com>2012-02-26 06:57:48 -0600
committerjohn haque <j.eh@mchsi.com>2012-02-26 06:57:48 -0600
commit1c06c5c6f0f6d46f63977dd7407d86ccc2614226 (patch)
tree5763e51d36264e6f84a70e480d063b788c2f47cf /builtin.c
parentcb17a712ea65f6510e0000374cce4efbf4ffb902 (diff)
downloadegawk-1c06c5c6f0f6d46f63977dd7407d86ccc2614226.tar.gz
egawk-1c06c5c6f0f6d46f63977dd7407d86ccc2614226.tar.bz2
egawk-1c06c5c6f0f6d46f63977dd7407d86ccc2614226.zip
Finish MPFR changes and clean up code.
Diffstat (limited to 'builtin.c')
-rw-r--r--builtin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin.c b/builtin.c
index 1a3a399c..f91a2f9f 100644
--- a/builtin.c
+++ b/builtin.c
@@ -1183,7 +1183,7 @@ out2:
if (arg->flags & MPFN) {
mpfr_ptr mt;
mpfr_int:
- mt = arg->mpfr_numbr;
+ mt = arg->mpg_numbr;
if (! mpfr_number_p(mt)) {
/* inf or NaN */
cs1 = 'g';
@@ -1401,7 +1401,7 @@ mpfr_int:
} else {
while ((n = mpfr_snprintf(obufout, ofre, cpbuf,
(int) fw, (int) prec, RND_MODE,
- arg->mpfr_numbr)) >= ofre)
+ arg->mpg_numbr)) >= ofre)
chksize(n)
}
} else