Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make fpXXSyntax modules load successfully and test for same
Prompted by discussion in github issue #1053
- Loading branch information
Showing
3 changed files
with
27 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
open HolKernel boolLib testutils | ||
|
||
local open fp64Syntax in end | ||
open fp16Syntax | ||
|
||
val _ = tprint "mk_fp_isZero(16) has correct rator" | ||
val _ = require_msg (check_result (same_const “machine_ieee$fp16_isZero”)) | ||
term_to_string | ||
(rator o mk_fp_isZero) (mk_var("x", “:word16”)) |