Convert Int to Real.
(x: ArithRef)
| 1657 | |
| 1658 | |
| 1659 | def ToReal(x: ArithRef) -> ArithRef: |
| 1660 | """Convert Int to Real.""" |
| 1661 | return ArithRef( |
| 1662 | ToRealNode(x._ast), |
| 1663 | RealSort(), |
| 1664 | x._vars, |
| 1665 | ) |
| 1666 | |
| 1667 | |
| 1668 | def ToInt(x: ArithRef) -> ArithRef: |