Rust Z3. How can I convert Float to f32/f64? #6962
FoxMakarov
started this conversation in
General
Replies: 2 comments
-
I've created prove-rs/z3.rs#252 which would fix this ... I'll merge it into |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for your help !!! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, everyone!
I am learning to use z3-prover in my rust program. But i encountered some problems.
I am using Float like in the tutorial (https://docs.rs/z3/0.10.0/z3/ast/struct.Float.html). But I noticed that it only has functions that convert from f32/f64 to Float Without converting from Float to f32/f64 function.
I want to know if there is a method that can be used like the as_i64 function of 'Int' structure which can convert 'Int' to the i64 variable of Rust.
How can I convert 'Float' to f32/f64?
Can you help me please?
z3 version : 0.10.0
Beta Was this translation helpful? Give feedback.
All reactions