aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/erl_internal.erl
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-02-08 18:23:22 +0100
committerLukas Larsson <[email protected]>2013-02-14 15:36:50 +0100
commit5279b3af4efee5d3e7d9755f0f06bd7b0f5dd05c (patch)
tree38f02e7cf916d1a2b80611c5ae9ec68f4c063355 /lib/stdlib/src/erl_internal.erl
parentb074099cc6bdb81285a17e0248373f199c695719 (diff)
downloadotp-5279b3af4efee5d3e7d9755f0f06bd7b0f5dd05c.tar.gz
otp-5279b3af4efee5d3e7d9755f0f06bd7b0f5dd05c.tar.bz2
otp-5279b3af4efee5d3e7d9755f0f06bd7b0f5dd05c.zip
Add float_to_binary and binary_to_float
Diffstat (limited to 'lib/stdlib/src/erl_internal.erl')
-rw-r--r--lib/stdlib/src/erl_internal.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/stdlib/src/erl_internal.erl b/lib/stdlib/src/erl_internal.erl
index 79a06c9bec..378e629ac9 100644
--- a/lib/stdlib/src/erl_internal.erl
+++ b/lib/stdlib/src/erl_internal.erl
@@ -256,6 +256,7 @@ bif(binary_to_atom, 2) -> true;
bif(binary_to_existing_atom, 2) -> true;
bif(binary_to_integer, 1) -> true;
bif(binary_to_integer, 2) -> true;
+bif(binary_to_float, 1) -> true;
bif(binary_to_list, 1) -> true;
bif(binary_to_list, 3) -> true;
bif(binary_to_term, 1) -> true;
@@ -281,6 +282,8 @@ bif(exit, 2) -> true;
bif(float, 1) -> true;
bif(float_to_list, 1) -> true;
bif(float_to_list, 2) -> true;
+bif(float_to_binary, 1) -> true;
+bif(float_to_binary, 2) -> true;
bif(garbage_collect, 0) -> true;
bif(garbage_collect, 1) -> true;
bif(get, 0) -> true;