diff options
author | Lukas Larsson <[email protected]> | 2017-05-03 17:18:44 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2017-05-16 10:46:40 +0200 |
commit | e6437e926340c3024449b83826f8013d187caaed (patch) | |
tree | 4610fa8a5cd53db29978cfd7e4c73a109a52955f /erts/emulator/beam/big.c | |
parent | 95e22b101b73087630fd58ae2487a91fcf004334 (diff) | |
download | otp-e6437e926340c3024449b83826f8013d187caaed.tar.gz otp-e6437e926340c3024449b83826f8013d187caaed.tar.bz2 otp-e6437e926340c3024449b83826f8013d187caaed.zip |
erts: Remove old unused functions
The functions have been found using: https://github.com/caolanm/callcatcher
Diffstat (limited to 'erts/emulator/beam/big.c')
-rw-r--r-- | erts/emulator/beam/big.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/erts/emulator/beam/big.c b/erts/emulator/beam/big.c index 4baee7900b..1f6feade1c 100644 --- a/erts/emulator/beam/big.c +++ b/erts/emulator/beam/big.c @@ -2266,21 +2266,6 @@ Eterm big_minus(Eterm x, Eterm y, Eterm *r) } /* -** Subtract a digit from big number -*/ -Eterm big_minus_small(Eterm x, Eterm y, Eterm *r) -{ - Eterm* xp = big_val(x); - - if (BIG_SIGN(xp)) - return big_norm(r, D_add(BIG_V(xp),BIG_SIZE(xp), (ErtsDigit) y, BIG_V(r)), - (short) BIG_SIGN(xp)); - else - return big_norm(r, D_sub(BIG_V(xp),BIG_SIZE(xp), (ErtsDigit) y, BIG_V(r)), - (short) BIG_SIGN(xp)); -} - -/* ** Multiply smallnums */ @@ -2412,16 +2397,6 @@ Eterm big_rem(Eterm x, Eterm y, Eterm *r) } } -Eterm big_neg(Eterm x, Eterm *r) -{ - Eterm* xp = big_val(x); - dsize_t xsz = BIG_SIZE(xp); - short xsgn = BIG_SIGN(xp); - - MOVE_DIGITS(BIG_V(r), BIG_V(xp), xsz); - return big_norm(r, xsz, (short) !xsgn); -} - Eterm big_band(Eterm x, Eterm y, Eterm *r) { Eterm* xp = big_val(x); |