1 /*
2  *   MIRACL compiler/hardware definitions - mirdef.h
3  *   This version suitable for use with most 32-bit computers
4  *   e.g. 80386+ PC, VAX, ARM etc. Assembly language versions of muldiv,
5  *   muldvm, muldvd and muldvd2 will be necessary. See mrmuldv.any
6  *
7  *   Also suitable for DJGPP GNU C Compiler
8  *   ... but change __int64 to long long
9  */
10 
11 #define MIRACL 32
12 #define MR_LITTLE_ENDIAN    /* This may need to be changed        */
13 #define mr_utype int
14                             /* the underlying type is usually int *
15                              * but see mrmuldv.any                */
16 #define mr_unsign32 unsigned int
17                             /* 32 bit unsigned type               */
18 #define MR_IBITS      32    /* bits in int  */
19 #define MR_LBITS      32    /* bits in long */
20 #define MR_FLASH      52
21                             /* delete this definition if integer  *
22                              * only version of MIRACL required    */
23                             /* Number of bits per double mantissa */
24 
25 #define mr_dltype __int64   /* ... or long long for Unix/Linux */
26 #define mr_unsign64 unsigned __int64
27 
28 #define MAXBASE ((mr_small)1<<(MIRACL-1))
29 
30 
31