Esc

zigzag

procedureextensionsince 0.36.1Source
  • macOS: zigzag works on macOS
  • Linux: zigzag works on Linux
  • Windows: zigzag works on Windows
  • Wasm: zigzag works on Wasm

Zigzag maps the signed 64-bit extremes to unsigned varints without signed overflow.

Signature

zigzag :: (value: s64) -> u64

See also