 |
NEURON
|
Go to the documentation of this file. 28 #include <../../nrnconf.h> 30 #if defined(HAVE_STDINT_H) 34 #if !defined(HUGE) && defined(HUGE_VAL) 43 #define NOT_SEGMENTED 1 45 #undef HAVE_PROTOTYPES 46 #define HAVE_PROTOTYPES 1 52 #ifndef HAVE_PROTOTYPES 53 #define HAVE_PROTOTYPES 1 55 #ifndef HAVE_PROTOTYPES_IN_STRUCT 56 #define HAVE_PROTOTYPES_IN_STRUCT 1 61 #ifdef HAVE_PROTOTYPES 62 #define PROTO(name,args) name args 64 #define PROTO(name,args) name() 66 #ifdef HAVE_PROTOTYPES_IN_STRUCT 68 #define PROTO_(name,args) name args 70 #define PROTO_(name,args) name() 105 #if defined(STDC_HEADERS) || defined(WIN32) 107 #define MEM_COPY(from,to,size) memmove((to),(from),(size)) 108 #define MEM_ZERO(where,size) memset((where),'\0',(size)) 129 #define MEM_COPY(from,to,size) bcopy((char *)(from),(char *)(to),(int)(size)) 136 #define MEM_ZERO(where,size) bzero((char *)(where),(int)(size)) 142 #ifdef HAVE_COMPLEX_H 155 #ifdef HAVE_PROTOTYPES 167 #define LONG_DOUBLE 3 182 #define LongReal float 184 #define LONGREAL FLOAT 190 #define LongReal double 192 #define LONGREAL DOUBLE 200 #define MACHEPS DBL_EPSILON 202 #define MACHEPS FLT_EPSILON 203 #elif REAL == LONGDOUBLE 204 #define MACHEPS LDBL_EPSILON 208 #define F_MACHEPS 1.19209e-07 209 #define D_MACHEPS 2.22045e-16 213 #define MACHEPS D_MACHEPS 215 #define MACHEPS F_MACHEPS 216 #elif REAL == LONGDOUBLE 217 #define MACHEPS D_MACHEPS 234 #define M_MAX_INT 2147483647 237 #define MAX_RAND ((double)(M_MAX_INT)) 244 #define HUGE_VAL HUGE 247 #define HUGE HUGE_VAL