aboutsummaryrefslogtreecommitdiff
path: root/bigint.h
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2016-10-07 22:06:29 +0200
committertomsmeding <tom.smeding@gmail.com>2016-10-07 22:06:29 +0200
commit70a7537584889cf612ddea83eb65fd42818f6e5e (patch)
tree7d84990995b5d3163b193078058736a46d62b089 /bigint.h
parent241518f369efce64046be36a15fcb722b00e9477 (diff)
Make code work on Linux and older compilers
Diffstat (limited to 'bigint.h')
-rw-r--r--bigint.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/bigint.h b/bigint.h
index 24f0945..bd15fd9 100644
--- a/bigint.h
+++ b/bigint.h
@@ -8,10 +8,10 @@
class Bigint{
public:
- using digit_t=uint32_t;
- using sdigit_t=int32_t;
- using longdigit_t=uint64_t;
- using slongdigit_t=int64_t;
+ typedef uint32_t digit_t;
+ typedef int32_t sdigit_t;
+ typedef uint64_t longdigit_t;
+ typedef int64_t slongdigit_t;
static const int digit_bits=8*sizeof(digit_t);
private: