[erlang-questions] Integer nth-root (Re: [erlang-questions] Integer square root)
Kenji Rikitake
<
>
Wed Feb 3 00:26:05 CET 2010
The newer version has a math:log/1 out-of-range problem when handling a
very large number. I'll fix mine soon. Thanks for the fix anyway,
Hynek. I also needed to find out the convergence decision issue.
Kenji Rikitake
In the message <
>
dated Tue, Feb 02, 2010 at 06:48:30PM +0100,
Hynek Vychodil <
> writes:
> Numeric mathematic is not as simple as seems at first sight. Rounding
> errors can lead to numeric instability. Try bignum_root:root(3,2) for
> example.
>
> There is little bit improved version:
> http://gist.github.com/292750
More information about the erlang-questions
mailing list