Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(get-value (0.0)) gives ((0.0 0)) , missing decimal point #406

Open
jwaldmann opened this issue Aug 17, 2022 · 0 comments
Open

(get-value (0.0)) gives ((0.0 0)) , missing decimal point #406

jwaldmann opened this issue Aug 17, 2022 · 0 comments

Comments

@jwaldmann
Copy link

this is confusing our parser (see yav/simple-smt#20)

$ echo "(set-logic QF_LRA)(check-sat)(get-value (0.0))" | yices-smt2 --smt2-model-format
sat
((0.0 0))

other solvers output the decimal point:

$ echo "(set-logic QF_LRA)(check-sat)(get-value (0.0))" | cvc5 --produce-models
sat
((0.0 0.0))

I am using yices from recent Fedora

$ yices-smt2 --version
Yices 2.6.4
Copyright SRI International.
Linked with GMP 6.2.1
Copyright Free Software Foundation, Inc.
Build date: 2022-01-27
Platform: x86_64-pc-linux-gnu (debug)
Revision: unknown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant