```
int8(x::Scalar) = box(Int8,to_int8(unbox(x)))
uint8(x::Scalar) = box(Uint8,to_uint8(unbox(x)))
int16(x::Scalar) = box(Int16,to_int16(unbox(x)))
uint16(x::Scalar) = box(Uint16,to_uint16(unbox(x)))
int32(x::Scalar) = box(Int32,to_int32(unbox(x)))
uint32(x::Scalar) = box(Uint32,to_uint32(unbox(x)))
int64(x::Scalar) = box(Int64,to_int64(unbox(x)))
uint64(x::Scalar) = box(Uint64,to_uint64(unbox(x)))
def_binary_op(Int64, {Int8, Uint8, Int16, Uint16, Int32, Uint32}, +, add_int64)
def_binary_op(Int64, {Int8, Uint8, Int16, Uint16, Int32, Uint32}, -, sub_int64)
def_binary_op(Int64, {Int8, Uint8, Int16, Uint16, Int32, Uint32}, *, mul_int64)
def_binary_op(Int64, {Int8, Uint8, Int16, Uint16, Int32, Uint32},div,div_int64)
def_binary_op(Int64, {Int8, Uint8, Int16, Uint16, Int32, Uint32},%, mod_int64)
def_binary_op(Int32, {Int8, Uint8, Int16, Uint16}, +, add_int32)
def_binary_op(Int32, {Int8, Uint8, Int16, Uint16}, -, sub_int32)
def_binary_op(Int32, {Int8, Uint8, Int16, Uint16}, *, mul_int32)
def_binary_op(Int32, {Int8, Uint8, Int16, Uint16}, div, div_int32)
def_binary_op(Int32, {Int8, Uint8, Int16, Uint16}, %, mod_int32)
```

This file has been truncated. show original