[erlang-questions] math:pow(10, 1000). ===> exception error: bad argument in an arithmetic expression

Charles Cui <>
Fri Apr 10 09:15:36 CEST 2009


math:pow(10,1000).
** exception error: bad argument in an arithmetic expression
     in function  math:pow/2
        called as math:pow(10,1000)

I want to do bigint compute,such as math:pow(a,b).
Can Erlang do this?

Any one help?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090410/c08d1092/attachment.html>


More information about the erlang-questions mailing list