(binary_num: Node)
| 337 | } |
| 338 | |
| 339 | fn invert_bits(binary_num: Node) -> Result<Node> { |
| 340 | let g = binary_num.get_graph(); |
| 341 | g.custom_op(CustomOperation::new(Not {}), vec![binary_num]) |
| 342 | } |
| 343 | |
| 344 | // Returns -binary_num, i.e. two's complement of a given number. |
| 345 | fn negative(binary_num: Node) -> Result<Node> { |
no test coverage detected