17 Commits (0a510737248132430de4317d7fd4d47e76862182)

Author SHA1 Message Date
Damien George c3199f5649 extmod/modurandom: Support an argument of bits=0 to getrandbits. 3 years ago
Macarthur Inbody 34d4dab683 extmod/modurandom: Add error message when getrandbits has bad value. 4 years ago
Damien George 6f34800884 extmod/modurandom: Support urandom.seed() without an argument. 4 years ago
stijn 84fa3312cf all: Format code to add space after C++-style comment start. 5 years ago
Damien George 1a3e386c67 all: Remove spaces inside and around parenthesis. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George ce39c958ef py: Factor out definition of mp_float_union_t to one location. 5 years ago
Damien George 97eca38c4f py: Add mp_raise_type helper macro and use it where appropriate. 5 years ago
Damien George ba84453f77 examples/natmod: Add urandom native module example. 5 years ago
Léa Saviot a6e5846ba7 extmod/modurandom: Add init method to seed the Yasmarang generator. 6 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Paul Sokolovsky 0982884655 extmod/modurandom: Use mp_raise_ValueError(). 8 years ago
Damien George 8b8242954e extmod/modurandom: Allow to build with float disabled. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Damien George a53af6c875 extmod/modurandom: Add some extra random functions. 9 years ago
Paul Sokolovsky ea495d6aa6 extmod/modurandom: Make yasmarang() function static. 9 years ago
Paul Sokolovsky a58a91eb04 extmod/modurandom: Add "urandom" module. 9 years ago