diff options
author | Lukas Larsson <[email protected]> | 2013-02-14 15:44:39 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2013-02-14 15:44:39 +0100 |
commit | 67eca074f81f00724125c3c868201ee7df3cf842 (patch) | |
tree | 672b44c68bfad998ff3d4f6f82d9b56dc91b8a77 /system | |
parent | 15a41e9ef18f093b5ed46c4b9bece3c71eabe30f (diff) | |
parent | 2f3526bb1c4c915a8528cd7d36c3a5b793e0ca3f (diff) | |
download | otp-67eca074f81f00724125c3c868201ee7df3cf842.tar.gz otp-67eca074f81f00724125c3c868201ee7df3cf842.tar.bz2 otp-67eca074f81f00724125c3c868201ee7df3cf842.zip |
Merge branch 'lukas/erts/binary_conv_bifs/OTP-10300'
* lukas/erts/binary_conv_bifs/OTP-10300:
erts: Remove ?line macro from hash_SUITE
Add float_to_binary and binary_to_float
Add new binary conversion bifs
Diffstat (limited to 'system')
-rw-r--r-- | system/doc/reference_manual/data_types.xml | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/system/doc/reference_manual/data_types.xml b/system/doc/reference_manual/data_types.xml index df1c0f8fa8..73ec6e2b82 100644 --- a/system/doc/reference_manual/data_types.xml +++ b/system/doc/reference_manual/data_types.xml @@ -393,7 +393,15 @@ hello 12> <input>term_to_binary({a,b,c}).</input> <<131,104,3,100,0,1,97,100,0,1,98,100,0,1,99>> 13> <input>binary_to_term(<<131,104,3,100,0,1,97,100,0,1,98,100,0,1,99>>).</input> -{a,b,c}</pre> +{a,b,c} +14> <input>binary_to_integer(<<"77">>).</input> +77 +15> <input>integer_to_binary(77).</input> +<<"77">> +16> <input>float_to_binary(7.0).</input> +<<"7.00000000000000000000e+00">> +17> <input>binary_to_float(<<"7.000e+00>>").</input> +7.0</pre> </section> </chapter> |