[riot-notifications] [RIOT] add mersene twister (#168)

René Kijewski notifications at github.com
Wed Aug 21 23:14:25 CEST 2013


> +
> +    return y;
> +}
> +
> +/**
> + * generates a random number on [0,0x7fffffff]-interval
> + */
> +long genrand_int31(void)
> +{
> +    return (long) (genrand_int32() >> 1);
> +}
> +
> +/**
> + * generates a random number on [0,1]-real-interval
> + */
> +double genrand_real1(void)

Useless.

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/168/files#r5909358
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20130821/50b24b2f/attachment.html>


More information about the notifications mailing list