summaryrefslogtreecommitdiff
path: root/py/mpconfig.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-02-22 19:25:23 +0000
committerDamien George <damien.p.george@gmail.com>2014-02-22 19:25:23 +0000
commit438c88dd2fbf8250883882188cca513ce534271f (patch)
tree601f43c00efc8ad90d04891ddc61cbb6351a6aeb /py/mpconfig.h
parent20773971186151b53426bd607908546598036a16 (diff)
Add arbitrary precision integer support.
Some functionality is still missing (eg and, or, bit shift), and some things are buggy (eg subtract).
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r--py/mpconfig.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 00e2439e4..34c83d324 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -68,6 +68,7 @@
// Long int implementation
#define MICROPY_LONGINT_IMPL_NONE (0)
#define MICROPY_LONGINT_IMPL_LONGLONG (1)
+#define MICROPY_LONGINT_IMPL_MPZ (2)
#ifndef MICROPY_LONGINT_IMPL
#define MICROPY_LONGINT_IMPL (MICROPY_LONGINT_IMPL_NONE)