Commit Graph

9 Commits (af02e2ac15631069c7d40ab61182fde2eccd95f3)

Author SHA1 Message Date
Kaspar Schleiser ded39b461e sys: random: rename genrand_* to random_* 7 years ago
Kaspar Schleiser d9cf871e2e sys: random: import tinymt32 PRNG 7 years ago
Kaspar Schleiser 9c93e72d81 sys: random: add simple LCG PRNGs 8 years ago
René Kijewski 840c0f0a57 make: detect their module name automatically
For many modules the `Makefile` contains a line like
```
MODULE:=$(shell basename $(CURDIR))
```
This conclusively shows that we do not have to set the module name
manually.

This PR removes the need to set the module name manually, if it is the
same as the basename. E.g. for `…/sys/vtimer/Makefile` the variable
make `MODULE` will still be `vtimer`, because it is the basename of the
Makefile.
9 years ago
René Kijewski e55fd19d5c Fix the makefile of sys/random
The Makefile must not overwrite the include paths.
9 years ago
Ludwig Ortmann 2525920426 remove trailing whitespace and newlines 9 years ago
Christian Mehlis 0dc5437e31 fixes for PRNG 10 years ago
René Kijewski 49876c15f7 Update on @mehlis' Mersene twister code
* Consistent naming
* C99 style variable definition
* Code de-duplication through mathematical conversions
* Less magic numbers (higher powers of twoof two))
10 years ago
Christian Mehlis 5ccde8340d add mersenne twister 10 years ago