[erlang-questions] Integer nth-root (Re: [erlang-questions] Integer square root)

Kenji Rikitake <>
Tue Jan 26 06:44:01 CET 2010


http://gist.github.com/286576
for the GitHub users.

Kenji Rikitake

> %% This is a quick hack of code for Integer nth-root in Erlang.
> 
> %% Power function (X ^ Y) and root function (X ^ (1/Y)) for
> %% integers in Erlang
> %% by Kenji Rikitake <> 26-JAN-2010
> %% Distributed under MIT license at the end of the source code.


More information about the erlang-questions mailing list