(
op: str, primitive_name: str, return_type: RType = int_rprimitive, error_kind: int = ERR_NEVER
)
| 114 | |
| 115 | |
| 116 | def int_binary_primitive( |
| 117 | op: str, primitive_name: str, return_type: RType = int_rprimitive, error_kind: int = ERR_NEVER |
| 118 | ) -> PrimitiveDescription: |
| 119 | return binary_op( |
| 120 | name=op, |
| 121 | arg_types=[int_rprimitive, int_rprimitive], |
| 122 | return_type=return_type, |
| 123 | primitive_name=primitive_name, |
| 124 | error_kind=error_kind, |
| 125 | ) |
| 126 | |
| 127 | |
| 128 | int_eq = int_binary_primitive(op="==", primitive_name="int_eq", return_type=bit_rprimitive) |
no test coverage detected
searching dependent graphs…