Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
ff844c36
Commit
ff844c36
authored
6 years ago
by
David Bühler
Browse files
Options
Downloads
Patches
Plain Diff
[Ival] Simplifies int_val.
parent
992926a5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/kernel_services/abstract_interp/int_val.ml
+2
-8
2 additions, 8 deletions
src/kernel_services/abstract_interp/int_val.ml
with
2 additions
and
8 deletions
src/kernel_services/abstract_interp/int_val.ml
+
2
−
8
View file @
ff844c36
...
...
@@ -637,14 +637,8 @@ let subdivide = function
|
Set
s
->
let
s1
,
s2
=
Int_set
.
subdivide
s
in
Set
s1
,
Set
s2
|
Itv
i
->
let
i1
,
i2
=
Int_interval
.
subdivide
i
in
(* Redo make in case an interval should be converted into a set. *)
let
t1
=
let
min
,
max
,
rem
,
modu
=
Int_interval
.
min_max_rem_modu
i1
in
make
~
min
~
max
~
rem
~
modu
and
t2
=
let
min
,
max
,
rem
,
modu
=
Int_interval
.
min_max_rem_modu
i2
in
make
~
min
~
max
~
rem
~
modu
in
let
t1
=
inject_itv
i1
and
t2
=
inject_itv
i2
in
t1
,
t2
let
extract_bits
~
start
~
stop
=
function
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment