From 5279b3af4efee5d3e7d9755f0f06bd7b0f5dd05c Mon Sep 17 00:00:00 2001 From: Lukas Larsson Date: Fri, 8 Feb 2013 18:23:22 +0100 Subject: Add float_to_binary and binary_to_float --- system/doc/reference_manual/data_types.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'system/doc/reference_manual') diff --git a/system/doc/reference_manual/data_types.xml b/system/doc/reference_manual/data_types.xml index 1eac575df7..73ec6e2b82 100644 --- a/system/doc/reference_manual/data_types.xml +++ b/system/doc/reference_manual/data_types.xml @@ -397,7 +397,11 @@ hello 14> binary_to_integer(<<"77">>). 77 15> integer_to_binary(77). -<<"77">> +<<"77">> +16> float_to_binary(7.0). +<<"7.00000000000000000000e+00">> +17> binary_to_float(<<"7.000e+00>>"). +7.0 -- cgit v1.2.3