X-Git-Url: http://git.joshuawise.com/mandelfpga.git/blobdiff_plain/bd7800913ecc8740c3c2f99d9c0ccdb8358462a8..HEAD:/mandelsim.c diff --git a/mandelsim.c b/mandelsim.c index 16bdf46..2ce2feb 100644 --- a/mandelsim.c +++ b/mandelsim.c @@ -5,6 +5,9 @@ #define YRES 480 #define MAX_ITER 66 #define MAXNUM 0x8000 + +/* be sure to change the number of bits in the multiplier when doing this + * bits > 14 need extension of num_t to unsigned int */ #define BITS 14 #define BAIL (1 << (BITS + 1)) #define BAIL_A (1 << BITS)