X-Git-Url: http://git.joshuawise.com/mandelfpga.git/blobdiff_plain/ae2d004d53c6bc6a0fd5727f67ad6812092a959a..refs/heads/master:/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)