PassiveSupport.Integer.exponential
You're seeing just the function
exponential
, go back to PassiveSupport.Integer module for more information.
Link to this function
exponential(base, exponent)
Specs
Arbitrary-precision exponentiation.
Will be deprecated by Elixir v1.12.0
Examples
iex> exponential(2, 10)
1024
iex> exponential(3, 3)
27
iex> exponential(2, 100)
1267650600228229401496703205376
iex> exponential(5, -3)
0.008
iex> exponential(9832, 0)
1
iex> exponential(0, 2)
0
iex> exponential(0, 0)
1