"Fossies" - the Fresh Open Source Software Archive

Member "txr-218/mpi/mpi-config.h" (20 Jun 2019, 1508 Bytes) of package /linux/misc/txr-218.tar.bz2:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "mpi-config.h" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 215_vs_216.

    1 /* Default configuration for MPI library */
    2 
    3 #ifndef MP_IOFUNC
    4 #define MP_IOFUNC 0 /* include mp_print() ? */
    5 #endif
    6 
    7 #ifndef MP_MODARITH
    8 #define MP_MODARITH 1 /* include modular arithmetic ? */
    9 #endif
   10 
   11 #ifndef MP_NUMTH
   12 #define MP_NUMTH 1 /* include number theoretic functions? */
   13 #endif
   14 
   15 #ifndef MP_MEMSET
   16 #define MP_MEMSET 1 /* use memset() to zero buffers? */
   17 #endif
   18 
   19 #ifndef MP_MEMCPY
   20 #define MP_MEMCPY 1 /* use memcpy() to copy buffers? */
   21 #endif
   22 
   23 #ifndef MP_CRYPTO
   24 #define MP_CRYPTO 0 /* erase memory on free? */
   25 #endif
   26 
   27 #ifndef MP_ARGCHK
   28 /* 0 = no parameter checks
   29  * 1 = runtime checks, continue execution and return an error to caller
   30  * 2 = assertions; dump core on parameter errors
   31  */
   32 #define MP_ARGCHK 2 /* how to check input arguments */
   33 #endif
   34 
   35 #ifndef MP_DEBUG
   36 #define MP_DEBUG 0 /* print diagnostic output? */
   37 #endif
   38 
   39 #ifndef MP_DEFPREC
   40 #define MP_DEFPREC 8 /* default precision, in digits */
   41 #endif
   42 
   43 #ifndef MP_MACRO
   44 #define MP_MACRO 1 /* use macros for frequent calls? */
   45 #endif
   46 
   47 #ifndef MP_SQUARE
   48 #define MP_SQUARE 1 /* use separate squaring code? */
   49 #endif
   50 
   51 #ifndef MP_PTAB_SIZE
   52 /*
   53  * When building mpprime.c, we build in a table of small prime
   54  * values to use for primality testing.  The more you include,
   55  * the more space they take up.  See primes.c for the possible
   56  * values (currently 16, 32, 64, 128, 256, and 6542)
   57  */
   58 #define MP_PTAB_SIZE 128 /* how many built-in primes? */
   59 #endif
   60 
   61 #ifndef MP_COMPAT_MACROS
   62 #define MP_COMPAT_MACROS 0 /* define compatibility macros? */
   63 #endif