Hi all,<div><br></div><div> That's the standard method that I use to raise a value to a power. I compared this to the way Python does raising to a power and this is the result that I get:</div><div><br></div><div>Erlang:</div>
<div><div>11> math:pow(42, 909).</div><div>** exception error: bad argument in an arithmetic expression</div><div> in function math:pow/2</div><div> called as math:pow(42,909)</div></div><div><br></div><div>
Python:</div><div><a href="http://bin.cakephp.org/view/1006418268">http://bin.cakephp.org/view/1006418268</a><br><br>Now. Why is it in Erlang's case I get a float as a return value? Is there a method that only returns a long? Or do most erlang coders have a custom power function if they want ridiculously large numbers?<br>
</div>