diff options
| author | Kathy Gray | 2016-01-19 18:01:15 +0000 |
|---|---|---|
| committer | Kathy Gray | 2016-01-19 18:01:25 +0000 |
| commit | ee4e2fdcc589406411ef17509e8140f21aee5c02 (patch) | |
| tree | 273be501d592c34b1559927e0c373559c365ac78 /src/spec_analysis.ml | |
| parent | ee6626ac028699d069c5b7492e77448479e7c68f (diff) | |
Put None and Some into interpreter environments
Also making progress towards separating int sized things from integer sized things
Diffstat (limited to 'src/spec_analysis.ml')
| -rw-r--r-- | src/spec_analysis.ml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/spec_analysis.ml b/src/spec_analysis.ml index 62b13d95..0c751c9b 100644 --- a/src/spec_analysis.ml +++ b/src/spec_analysis.ml @@ -66,6 +66,12 @@ let rec power_big_int b n = then unit_big_int else mult_big_int b (power_big_int b (sub_big_int n unit_big_int)) +let unpower_of_2 b = + let two = big_int_of_int 2 in + let four = big_int_of_int 4 in + let eight = big_int_of_int 8 in + () + let is_within_range candidate range constraints = match candidate.t with | Tapp("atom", [TA_nexp n]) -> |
