private void SetHash()
{
_Hash = string.Empty;
for (int i = 0; i < 14; i++)
{
double value;
if (i < 7)
value = _SrgbHuPhash[i];
else
value = _HclpHuPhash[i - 7];
int hex = 0;
while (hex < 7 && Math.Abs(value * 10) < 65536)
{
value = value * 10;
hex++;
}
hex = hex << 1;
if (value < 0.0)
hex |= 1;
hex = (hex << 16) + (int)(value < 0.0 ? -(value - 0.5) : value + 0.5);
_Hash += hex.ToString("x", CultureInfo.InvariantCulture);
}
}