forked from OCamlPro/alt-ergo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(FPA): Add ae.float{16,32,64,128} SMT-LIB builtins
This patch adds `ae.float16`, `ae.float32`, `ae.float64` and `ae.float128` as abbreviations for `(_ ae.round 11 24)`, `(_ ae.round 24 149)`, `(_ ae.round 53 1074)` and `(_ ae.round 113 16494)` respectively. These serve a similar purpose as `float32` and `float64` in the native format: allow short names for common floating point sorts without requiring users to remember the appropriate parameters to `ae.round`. (Note that `ae.float16` and `ae.float128` are not available in the native format; they are added for consistency with the `FloatXX` sorts provided by the FloatingPoint theory in the SMT-LIB.)
- Loading branch information
1 parent
b4bf2ec
commit 6b084c6
Showing
3 changed files
with
70 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters