@@ -2612,7 +2612,9 @@ defmodule Kernel do
26122612 123
26132613
26142614 """
2615- def binary_to_integer ( some_binary )
2615+ def binary_to_integer ( some_binary ) do
2616+ :erlang . binary_to_integer ( some_binary )
2617+ end
26162618
26172619 @ doc """
26182620 Returns an integer whose text representation in base `base`
@@ -2624,7 +2626,9 @@ defmodule Kernel do
26242626 1023
26252627
26262628 """
2627- def binary_to_integer ( some_binary , base )
2629+ def binary_to_integer ( some_binary , base ) do
2630+ :erlang . binary_to_integer ( some_binary , base )
2631+ end
26282632
26292633 @ doc """
26302634 Returns a float whose text representation is `some_binary`.
@@ -2635,7 +2639,9 @@ defmodule Kernel do
26352639 2.2017764
26362640
26372641 """
2638- def binary_to_float ( some_binary )
2642+ def binary_to_float( some_binary) do
2643+ :erlang . binary_to_float ( some_binary )
2644+ end
26392645
26402646 @ doc """
26412647 Returns a binary which corresponds to the text representation
@@ -2647,7 +2653,9 @@ defmodule Kernel do
26472653 "123"
26482654
26492655 """
2650- def integer_to_binary ( some_integer )
2656+ def integer_to_binary( some_integer) do
2657+ :erlang . integer_to_binary ( some_integer )
2658+ end
26512659
26522660 @ doc """
26532661 Returns a binary which corresponds to the text representation
@@ -2659,7 +2667,9 @@ defmodule Kernel do
26592667 "64"
26602668
26612669 """
2662- def integer_to_binary ( some_integer , base )
2670+ def integer_to_binary ( some_integer , base ) do
2671+ :erlang . integer_to_binary ( some_integer , base )
2672+ end
26632673
26642674 @ doc """
26652675 Returns a binary which corresponds to the text representation
@@ -2671,7 +2681,9 @@ defmodule Kernel do
26712681 "7.00000000000000000000e+00"
26722682
26732683 """
2674- def float_to_binary ( some_float )
2684+ def float_to_binary( some_float) do
2685+ :erlang . float_to_binary ( some_float )
2686+ end
26752687
26762688 @ doc """
26772689 Returns a binary which corresponds to the text representation
@@ -2692,18 +2704,6 @@ defmodule Kernel do
26922704 :erlang . float_to_binary ( float , expand_compact ( options ) )
26932705 end
26942706
2695- @doc """
2696- Returns a list which corresponds to the char list representation
2697- of `some_float`.
2698-
2699- ## Examples
2700-
2701- iex> float_to_binary( 7.0 )
2702- '7.00000000000000000000e+00 '
2703-
2704- """
2705- def float_to_list( some_float)
2706-
27072707 @ doc """
27082708 Returns a list which corresponds to the text representation
27092709 of `float`.
0 commit comments