try random:uniform(1 bsl 48) instead.<br><br><div class="gmail_quote">On Fri, Apr 3, 2009 at 2:49 PM, Kunthar <span dir="ltr"><<a href="mailto:kunthar@gmail.com">kunthar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
New shell R13A:<br>
> random:uniform(math:pow(2, 48)).<br>
** exception error: no function clause matching<br>
random:uniform(281474976710656.0)<br>
<br>
Old shell R12B:<br>
> random:uniform(math:pow(2, 48)).<br>
44982915740374<br>
<br>
Any comments?<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://www.erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://www.erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>--Hynek (Pichi) Vychodil<br><br>Analyze your data in minutes. Share your insights instantly. Thrill your boss. Be a data hero!<br>Try Good Data now for free: <a href="http://www.gooddata.com">www.gooddata.com</a><br>