5、signed int HashingDouble(double d){ if (d==0) return 0; else { int exponent; double mantissa = frexp(d, &exponent); return (unsigned int)((2*mantissa-1) * (~0U)); }}2,字符串的散列法unsigned int HashingString(char *str, int iLen){ unsigned int hsval = 2654435769; int i; int iShift = 0; for(i=