aboutsummaryrefslogtreecommitdiffstats
path: root/lib/compiler/src/erl_bifs.erl
diff options
context:
space:
mode:
authorMarcus Arendt <[email protected]>2015-01-16 14:36:05 +0100
committerMarcus Arendt <[email protected]>2015-01-16 14:36:05 +0100
commit905824012cef106e7bd3796bff36a2aa04b58850 (patch)
tree6805bd7570965965e29c89e6673095bbd26599e1 /lib/compiler/src/erl_bifs.erl
parente52e4398a318293d57485c0a47f9c8e50a4b2b4b (diff)
parentfdf09e81de5e7f1ecfe71f98b56c411073badae8 (diff)
downloadotp-905824012cef106e7bd3796bff36a2aa04b58850.tar.gz
otp-905824012cef106e7bd3796bff36a2aa04b58850.tar.bz2
otp-905824012cef106e7bd3796bff36a2aa04b58850.zip
Merge branch 'oliv3/math_log2/OTP-12411'
* oliv3/math_log2/OTP-12411: 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;