Commit Graph
12 Commits
Author SHA1 Message Date
José Valim 3452f364aa Improve typespecs and docs 2014-07-02 00:12:06 +02:00
José Valim 84262257ef Move Integer/Float conversions to their respective modules 2014-05-17 16:29:49 +02:00
José Valim 56f15d9f4e Do not add spaces after { and before }
This makes the source code consistent with the result
returned by inspect/2.
2014-04-21 19:06:35 +02:00
Igor Kapkov 97e70e6de1 change some doc examples to iex style 2014-04-12 08:41:22 +02:00
John Warwick a4234a4494 Updated docs for Float, Integer and Tuple. 2013-10-22 18:02:45 -04:00
José Valim 046af30c1b Optimize binary handling in Integer.parse and Float.parse
We have used the following commands to compile those files
with the appropriate optimization info:

    ERL_COMPILER_OPTIONS="bin_opt_info" elixir lib/elixir/lib/integer.ex
    ERL_COMPILER_OPTIONS="bin_opt_info" elixir lib/elixir/lib/float.ex

More info at www.erlang.org/doc/efficiency_guide/binaryhandling.html
2013-10-22 10:08:29 +02:00
José Valim 95e3fec729 Ensure Integer.parse and Float.parse do not accept double +, - and . 2013-10-20 10:54:11 +02:00
Carlos Brito Lage 64754ab7bf Native Integer parsing 2013-10-19 15:13:45 -07:00
Devin Torres bf7662f9ec Use bitwise and to check if an integer is odd/even 2013-10-18 13:25:53 -05:00
José Valim b343b6c459 Move tuple functionality to Tuple module 2013-10-18 19:39:11 +02:00
José Valim 429548ea75 Remove pid conversions from Kernel, clean up String conversions 2013-10-18 19:16:17 +02:00
José Valim 4caa2e01f1 Move is_odd and is_even to Integer 2013-09-03 09:41:55 -03:00