module scheme // An unspecified handle asks the caller to use the complete numeric protocol. // This leaf never allocates or creates an error: overflow and division retain // their normal promotion/recovery path. Only guarded integer operands reach it. @[inline] fn small_integer_call(p Primitive, a i64, b i64) Value { match p { .add { if n := small_add(a, b) { return integer(n) } } .subtract { if n := small_subtract(a, b) { return integer(n) } } .multiply { if n := small_multiply(a, b) { return integer(n) } } .num_eq { return boolean(a == b) } .less { return boolean(a < b) } .greater { return boolean(a > b) } .less_equal { return boolean(a <= b) } .greater_equal { return boolean(a >= b) } else {} } return unspecified() }