[erlang-questions] Math pow

Kunthar kunthar@REDACTED
Fri Apr 3 14:49:51 CEST 2009


New shell R13A:
> random:uniform(math:pow(2, 48)).
** exception error: no function clause matching
random:uniform(281474976710656.0)

Old shell R12B:
> random:uniform(math:pow(2, 48)).
44982915740374

Any comments?



More information about the erlang-questions mailing list