PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ unzigzag32()

int32_t unzigzag32 ( uint32_t  val)

Definition at line 196 of file varint.c.

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

Referenced by test_zigzag().

Here is the caller graph for this function: