diff options
| author | Alasdair Armstrong | 2017-11-03 18:15:40 +0000 |
|---|---|---|
| committer | Alasdair Armstrong | 2017-11-03 18:15:40 +0000 |
| commit | e43324b207b13d7e4094e2561b4e4a84c76e1299 (patch) | |
| tree | ec3ecf746ac66b13c74cba328536759a4dd0a82a /lib/ocaml_rts | |
| parent | 31d548faa0388fc517f2d2ccaee894a71d29698a (diff) | |
Fix ocaml test suite
Diffstat (limited to 'lib/ocaml_rts')
| -rw-r--r-- | lib/ocaml_rts/sail_lib.ml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ocaml_rts/sail_lib.ml b/lib/ocaml_rts/sail_lib.ml index c550b2ce..9b1bbc30 100644 --- a/lib/ocaml_rts/sail_lib.ml +++ b/lib/ocaml_rts/sail_lib.ml @@ -437,10 +437,12 @@ let sqrt_real x = real_of_string (string_of_float (sqrt (Num.float_of_num x))) let print_int (str, x) = prerr_endline (str ^ string_of_big_int x) +let string_of_zbit = function + | B0 -> "0" + | B1 -> "1" let string_of_znat n = string_of_big_int n let string_of_zint n = string_of_big_int n let string_of_zunit () = "()" -let string_of_zbits xs = string_of_bits xs let string_of_zbool = function | true -> "true" | false -> "false" |
