diff options
author | Damien George <damien.p.george@gmail.com> | 2016-02-03 22:30:49 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-02-03 22:30:49 +0000 |
commit | ff1a96ce2cd95c42beca5209b353f83da773522d (patch) | |
tree | ddacc20021ba64495c4ecc55ef3a3ce8bf9244b0 /stmhal/diskio.c | |
parent | 2e2e15cec2f85ece763f3f80152d759aecfad47c (diff) | |
download | micropython-ff1a96ce2cd95c42beca5209b353f83da773522d.tar.gz micropython-ff1a96ce2cd95c42beca5209b353f83da773522d.zip |
py/mpz: Add commented-out mpz_pow3_inpl function, to compute (x**y)%z.
This function computes (x**y)%z in an efficient way. For large arguments
this operation is otherwise not computable by doing x**y and then %z.
It's currently not used, but is added in case it's useful one day.
Diffstat (limited to 'stmhal/diskio.c')
0 files changed, 0 insertions, 0 deletions