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

Smart constructors for the FP theory #746

Open
Halbaroth opened this issue Jul 24, 2023 · 2 comments
Open

Smart constructors for the FP theory #746

Halbaroth opened this issue Jul 24, 2023 · 2 comments

Comments

@Halbaroth
Copy link
Collaborator

Halbaroth commented Jul 24, 2023

The current Expr module does not expose smart constructors for FP theory as the Z3.FloatingPoint does. I noticed
this lack while writing the interface for AE in the project https://github.com/wasp-platform/encoding. We should implement at least the constructors defined by the FP theory https://smtlib.cs.uiowa.edu/theories-FloatingPoint.shtml.

@bclement-ocp
Copy link
Collaborator

We don't have support for the smtlib FloatingPoint theory as far as I'm aware (we only have support for floating-point rounding with underflow, but nothing related to NaNs, infinites, or overflow), so I expect more work than just providing smart constructors.

@Halbaroth
Copy link
Collaborator Author

I know :/. We should work on it at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants