Macaulay2 Engine
Loading...
Searching...
No Matches

◆ exp_hash()

unsigned int exp_hash ( const void * x)

Definition at line 21 of file exptable.c.

23{
24 int i;
25 const int *xx = x;
26 unsigned int result = 0;
27 for (i = 0; i < table_nvars; i++) result += (xx[i] << 3);
28 return result;
29}
static int table_nvars
Definition exptable.c:19
VALGRIND_MAKE_MEM_DEFINED & result(result)
volatile int x

References result(), table_nvars, and x.

Referenced by exponent_table_new().