(value int64)
| 174 | } |
| 175 | |
| 176 | func encodeDecimalZigZag64(value int64) uint64 { |
| 177 | return uint64((value << 1) ^ (value >> 63)) |
| 178 | } |
| 179 | |
| 180 | func decodeDecimalZigZag64(value uint64) int64 { |
| 181 | return int64((value >> 1) ^ uint64(-(int64(value & 1)))) |
no test coverage detected