aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/erl_bifs.erl
diff options
context:
space:
mode:
authorOlivier Girondel <[email protected]>2015-01-04 04:40:55 +0100
committerMarcus Arendt <[email protected]>2015-01-14 15:58:51 +0100
commitfdf09e81de5e7f1ecfe71f98b56c411073badae8 (patch)
treed6a46aeb887b2b829a01889ed364d943b7ed7536 /lib/compiler/src/erl_bifs.erl
parent821d84c5860a9a26185efa19be407796422e3090 (diff)
downloadotp-fdf09e81de5e7f1ecfe71f98b56c411073badae8.tar.gz
otp-fdf09e81de5e7f1ecfe71f98b56c411073badae8.tar.bz2
otp-fdf09e81de5e7f1ecfe71f98b56c411073badae8.zip
Add math:log2/1
Diffstat (limited to 'lib/compiler/src/erl_bifs.erl')
-rw-r--r--lib/compiler/src/erl_bifs.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compiler/src/erl_bifs.erl b/lib/compiler/src/erl_bifs.erl
index 6c75538194..bcc2297250 100644
--- a/lib/compiler/src/erl_bifs.erl
+++ b/lib/compiler/src/erl_bifs.erl
@@ -134,6 +134,7 @@ is_pure(math, erf, 1) -> true;
is_pure(math, erfc, 1) -> true;
is_pure(math, exp, 1) -> true;
is_pure(math, log, 1) -> true;
+is_pure(math, log2, 1) -> true;
is_pure(math, log10, 1) -> true;
is_pure(math, pow, 2) -> true;
is_pure(math, sin, 1) -> true;