mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[py] Support round on int
This commit is contained in:
committed by
LeaNumworks
parent
312c02fd69
commit
36742789b0
@@ -105,6 +105,9 @@
|
||||
// Whether to include: randrange, randint, choice, random, uniform
|
||||
#define MICROPY_PY_URANDOM_EXTRA_FUNCS (1)
|
||||
|
||||
// Whether to support rounding of integers (incl bignum); eg round(123,-1)=120
|
||||
#define MICROPY_PY_BUILTINS_ROUND_INT (1)
|
||||
|
||||
// Function to seed URANDOM with on init
|
||||
#define MICROPY_PY_URANDOM_SEED_INIT_FUNC micropython_port_random()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user