[erlang-questions] changes in native functions for the next otp release.

Richard O'Keefe ok@REDACTED
Fri Jan 22 02:09:52 CET 2010


On Jan 22, 2010, at 1:40 AM, Angel wrote:

> Hi
>
> Some months ago, i discovered that square root of bignums is not  
> implemented
> in erlang.

?

1> math:sqrt(1 bsl 801).
3.65185e+120

math:sqrt is just as much implemented for bignums as it is for fixnums.

Or do you mean "the greatest integer X such that X**2 <= Y",
the "integer square root"?  I didn't think Erlang had that for fixnums
either.



More information about the erlang-questions mailing list