PostGIS 3.7.0dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ unzigzag64()

int64_t unzigzag64 ( uint64_t  val)

Definition at line 190 of file varint.c.

191{
192 return !(val & 0x01) ?
193 ((int64_t)(val >> 1)) :
194 (-1 * (int64_t)((val+1) >> 1));
195}

Referenced by test_zigzag(), and varint_s64_decode().

Here is the caller graph for this function: