FACT++  1.0
void Checksum::HandleCarryBits ( )
inline

Definition at line 24 of file checksum.h.

Referenced by add(), and operator+=().

25  {
26  while (1)
27  {
28  const uint64_t carry = ((buffer>>48)&0xffff) | ((buffer&0xffff0000)<<16);
29  if (!carry)
30  break;
31 
32  buffer = (buffer&0xffff0000ffff) + carry;
33  }
34  }
uint64_t buffer
Definition: checksum.h:13

+ Here is the caller graph for this function: