aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/big.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2011-05-04 18:13:49 +0200
committerSverker Eriksson <[email protected]>2011-05-06 16:31:25 +0200
commit913f72a8c9e1827c812c4795c76a0e57b5ac0eeb (patch)
tree0326b3b5e64a3266fc28eb34caa873420117c633 /erts/emulator/beam/big.c
parent7f8b2825eed8e45b1cabc766bc7f6fce78700073 (diff)
downloadotp-913f72a8c9e1827c812c4795c76a0e57b5ac0eeb.tar.gz
otp-913f72a8c9e1827c812c4795c76a0e57b5ac0eeb.tar.bz2
otp-913f72a8c9e1827c812c4795c76a0e57b5ac0eeb.zip
erts_printf %R for relative ets-terms in halfword-vm
Conflicts: erts/emulator/beam/erl_printf_term.c
Diffstat (limited to 'erts/emulator/beam/big.c')
-rw-r--r--erts/emulator/beam/big.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/beam/big.c b/erts/emulator/beam/big.c
index f47f5a9c0c..d18de9ae5d 100644
--- a/erts/emulator/beam/big.c
+++ b/erts/emulator/beam/big.c
@@ -1588,7 +1588,7 @@ big_to_double(Wterm x, double* resp)
/*
** Estimate the number of decimal digits (include sign)
*/
-int big_decimal_estimate(Eterm x)
+int big_decimal_estimate(Wterm x)
{
Eterm* xp = big_val(x);
int lg = I_lg(BIG_V(xp), BIG_SIZE(xp));
@@ -1602,7 +1602,7 @@ int big_decimal_estimate(Eterm x)
** Convert a bignum into a string of decimal numbers
*/
-static void write_big(Eterm x, void (*write_func)(void *, char), void *arg)
+static void write_big(Wterm x, void (*write_func)(void *, char), void *arg)
{
Eterm* xp = big_val(x);
ErtsDigit* dx = BIG_V(xp);
@@ -1681,7 +1681,7 @@ write_string(void *arg, char c)
*(--(*((char **) arg))) = c;
}
-char *erts_big_to_string(Eterm x, char *buf, Uint buf_sz)
+char *erts_big_to_string(Wterm x, char *buf, Uint buf_sz)
{
char *big_str = buf + buf_sz - 1;
*big_str = '\0';