[erlang-questions] math:pow(X, Y).

Matthias Lang matthias@REDACTED
Mon Mar 19 19:23:33 CET 2012


On Monday, March 19, Jared Kofron wrote:

> Just a guess, but math:pow/2 is implemented as a NIF and C may not
> enjoy the size of the number you are trying to calculate.

Exactly.

The bottom of the 'math' manpage sort of says so, under 'bugs':

  "As these are the C library, the bugs are the same."

Matt



More information about the erlang-questions mailing list