Math

The Math module adds many useful functions that extend Elixir's standard library.

Installation

Math is available in Hex. The package can be installed by:

  1. Add math to your list of dependencies in mix.exs:

    def deps do

     [
       {:math, "~> 0.3.0"}
     ]

    end

  2. Require or import the Math library anywhere in your code you'd like:

    require Math

or

    import Math

(Importing allows usage of the <~> operator)

Changelog