Look at the "Random" interface:
http://www.tinyos.net/tinyos-2.1.0/doc/nesdoc/iris/ihtml/tos.interfaces.Random.html

rand16 gives you a 16-bit random number, rand32 a 32-bit.

Cheers,

- Thomas





On Fri, Mar 4, 2011 at 3:58 PM, aggeloko <[email protected]> wrote:
>
> Greetings everyone,
>
> could someone provide me with the range of numbers that RandomMlcgC
> generates with the Park-Miller Minimal Standard Generator?
>
> That is the minimum and the maximum number..
>
> Thanks in advance,
> Marios
>
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to