diff options
author | Olivier Girondel <[email protected]> | 2015-01-04 04:40:55 +0100 |
---|---|---|
committer | Marcus Arendt <[email protected]> | 2015-01-14 15:58:51 +0100 |
commit | fdf09e81de5e7f1ecfe71f98b56c411073badae8 (patch) | |
tree | d6a46aeb887b2b829a01889ed364d943b7ed7536 /lib/compiler/src/beam_validator.erl | |
parent | 821d84c5860a9a26185efa19be407796422e3090 (diff) | |
download | otp-fdf09e81de5e7f1ecfe71f98b56c411073badae8.tar.gz otp-fdf09e81de5e7f1ecfe71f98b56c411073badae8.tar.bz2 otp-fdf09e81de5e7f1ecfe71f98b56c411073badae8.zip |
Add math:log2/1
Diffstat (limited to 'lib/compiler/src/beam_validator.erl')
-rw-r--r-- | lib/compiler/src/beam_validator.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compiler/src/beam_validator.erl b/lib/compiler/src/beam_validator.erl index 0acc7a227f..c156cf79fe 100644 --- a/lib/compiler/src/beam_validator.erl +++ b/lib/compiler/src/beam_validator.erl @@ -1818,6 +1818,7 @@ return_type_math(erf, 1) -> {float,[]}; return_type_math(erfc, 1) -> {float,[]}; return_type_math(exp, 1) -> {float,[]}; return_type_math(log, 1) -> {float,[]}; +return_type_math(log2, 1) -> {float,[]}; return_type_math(log10, 1) -> {float,[]}; return_type_math(sqrt, 1) -> {float,[]}; return_type_math(atan2, 2) -> {float,[]}; |