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

◆ unzigzag32()

int32_t unzigzag32 ( uint32_t  val)

Definition at line 197 of file varint.c.

198{
199 return !(val & 0x01) ?
200 ((int32_t)(val >> 1)) :
201 (-1 * (int32_t)((val+1) >> 1));
202}

Referenced by test_zigzag().

Here is the caller graph for this function: