Definition at line 288 of file CompressPsf.C.
HashReal::HashReal |
( |
Real |
v | ) |
|
|
inline |
int HashReal::hash |
( |
| ) |
const |
|
inline |
Definition at line 295 of file CompressPsf.C.
296 const char* d = (
const char *)&val;
298 for (
int i=0;i <
sizeof(
Real);i++) {
299 int shift1=((5*i)%16)+0;
300 int shift2=((6*i)%16)+8;
301 ret+=((0xa5^d[i])<<shift2)+(d[i]<<shift1);
HashReal::operator const Real & |
( |
| ) |
const |
|
inline |
HashReal::operator Real & |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: