xpile 0.1.616

Polyglot transpile workbench (Python/C/C++/Rust/Ruchy/Lean ↔ Rust/Ruchy/PTX/WGSL/SPIR-V) with provable contracts at every layer.
1
2
3
4
5
6
def main() -> None:
    x: float = 1.0 / 3.0
    print(x)
    print(round(x, 3))
    print(2.5 + 0.1)
    print(10.0 / 4.0)