Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.starknet.io/llms.txt

Use this file to discover all available pages before exploring further.

If lhs >= rhs returns Ok(lhs - rhs) else returns Err(2**16 + lhs - rhs).

Signature

pub extern fn i16_diff(lhs: i16, rhs: i16) -> Result implicits(RangeCheck) nopanic;