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
0f324bf5
Commit
0f324bf5
authored
4 years ago
by
Loïc Correnson
Browse files
Options
Downloads
Patches
Plain Diff
[wp] fix oracles wrt to upgraded float driver
parent
8741df1a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/wp/tests/wp_plugin/oracle/float_driver.res.oracle
+20
-38
20 additions, 38 deletions
...plugins/wp/tests/wp_plugin/oracle/float_driver.res.oracle
with
20 additions
and
38 deletions
src/plugins/wp/tests/wp_plugin/oracle/float_driver.res.oracle
+
20
−
38
View file @
0f324bf5
...
...
@@ -31,8 +31,7 @@
(* use frama_c_wp.cfloat.Cfloat *)
goal wp_goal :
forall f:t.
eq_f64 (add_f64 f (0x1.0000000000000p0:t)) (round_double RTP (of_f64 f))
forall f:t. eq_f64 (add_f64 f (0x1.0p0:t)) (round_double RTP (of_f64 f))
end
[wp:print-generated]
theory WP1
...
...
@@ -61,8 +60,7 @@
(* use frama_c_wp.cfloat.Cfloat *)
goal wp_goal :
forall f:t.
eq_f64 (add_f64 f (0x1.0000000000000p0:t)) (round_double RTZ (of_f64 f))
forall f:t. eq_f64 (add_f64 f (0x1.0p0:t)) (round_double RTZ (of_f64 f))
end
[wp:print-generated]
theory WP2
...
...
@@ -91,8 +89,7 @@
(* use frama_c_wp.cfloat.Cfloat *)
goal wp_goal :
forall f:t.
eq_f64 (add_f64 f (0x1.0000000000000p0:t)) (round_double RNA (of_f64 f))
forall f:t. eq_f64 (add_f64 f (0x1.0p0:t)) (round_double RNA (of_f64 f))
end
[wp:print-generated]
theory WP3
...
...
@@ -121,8 +118,7 @@
(* use frama_c_wp.cfloat.Cfloat *)
goal wp_goal :
forall f:t.
eq_f64 (add_f64 f (0x1.0000000000000p0:t)) (round_double RNE (of_f64 f))
forall f:t. eq_f64 (add_f64 f (0x1.0p0:t)) (round_double RNE (of_f64 f))
end
[wp:print-generated]
theory WP4
...
...
@@ -150,7 +146,7 @@
(* use frama_c_wp.cfloat.Cfloat *)
goal wp_goal : forall f:t. is_NaN_f64 (add_f64 f (0x1.
000000000000
0p0:t))
goal wp_goal : forall f:t. is_NaN_f64 (add_f64 f (0x1.0p0:t))
end
[wp:print-generated]
theory WP5
...
...
@@ -178,8 +174,7 @@
(* use frama_c_wp.cfloat.Cfloat *)
goal wp_goal :
forall f:t. is_infinite_f64 (add_f64 f (0x1.0000000000000p0:t))
goal wp_goal : forall f:t. is_infinite_f64 (add_f64 f (0x1.0p0:t))
end
[wp:print-generated]
theory WP6
...
...
@@ -207,8 +202,7 @@
(* use frama_c_wp.cfloat.Cfloat *)
goal wp_goal :
forall f:t. is_finite_f64 (add_f64 f (0x1.0000000000000p0:t))
goal wp_goal : forall f:t. is_finite_f64 (add_f64 f (0x1.0p0:t))
end
[wp:print-generated]
theory WP7
...
...
@@ -237,8 +231,7 @@
(* use frama_c_wp.cfloat.Cfloat *)
goal wp_goal :
forall f:t.
eq_f64 (add_f64 f (0x1.0000000000000p0:t)) (round_double RTN (of_f64 f))
forall f:t. eq_f64 (add_f64 f (0x1.0p0:t)) (round_double RTN (of_f64 f))
end
[wp:print-generated]
theory WP8
...
...
@@ -268,8 +261,7 @@
goal wp_goal :
forall f:t1.
eq_f32 (add_f32 f (0x1.0000000000000p0:t1))
(round_float RNA1 (of_f32 f))
eq_f32 (add_f32 f (0x1.0p0:t1)) (round_float RNA1 (of_f32 f))
end
[wp:print-generated]
theory WP9
...
...
@@ -299,8 +291,7 @@
goal wp_goal :
forall f:t1.
eq_f32 (add_f32 f (0x1.0000000000000p0:t1))
(round_float RNE1 (of_f32 f))
eq_f32 (add_f32 f (0x1.0p0:t1)) (round_float RNE1 (of_f32 f))
end
[wp:print-generated]
theory WP10
...
...
@@ -328,8 +319,7 @@
(* use frama_c_wp.cfloat.Cfloat *)
goal wp_goal :
forall f:t. is_negative_infinite_f64 (add_f64 f (0x1.0000000000000p0:t))
goal wp_goal : forall f:t. is_negative_infinite_f64 (add_f64 f (0x1.0p0:t))
end
[wp:print-generated]
theory WP11
...
...
@@ -357,8 +347,7 @@
(* use frama_c_wp.cfloat.Cfloat *)
goal wp_goal :
forall f:t. is_positive_infinite_f64 (add_f64 f (0x1.0000000000000p0:t))
goal wp_goal : forall f:t. is_positive_infinite_f64 (add_f64 f (0x1.0p0:t))
end
[wp:print-generated]
theory WP12
...
...
@@ -386,8 +375,7 @@
(* use frama_c_wp.cfloat.Cfloat1 *)
goal wp_goal :
forall f:t1. is_finite_f32 (add_f32 f (0x1.0000000000000p0:t1))
goal wp_goal : forall f:t1. is_finite_f32 (add_f32 f (0x1.0p0:t1))
end
[wp:print-generated]
theory WP13
...
...
@@ -417,8 +405,7 @@
goal wp_goal :
forall f:t1.
eq_f32 (add_f32 f (0x1.0000000000000p0:t1))
(round_float RTN1 (of_f32 f))
eq_f32 (add_f32 f (0x1.0p0:t1)) (round_float RTN1 (of_f32 f))
end
[wp:print-generated]
theory WP14
...
...
@@ -448,8 +435,7 @@
goal wp_goal :
forall f:t1.
eq_f32 (add_f32 f (0x1.0000000000000p0:t1))
(round_float RTP1 (of_f32 f))
eq_f32 (add_f32 f (0x1.0p0:t1)) (round_float RTP1 (of_f32 f))
end
[wp:print-generated]
theory WP15
...
...
@@ -479,8 +465,7 @@
goal wp_goal :
forall f:t1.
eq_f32 (add_f32 f (0x1.0000000000000p0:t1))
(round_float RTZ1 (of_f32 f))
eq_f32 (add_f32 f (0x1.0p0:t1)) (round_float RTZ1 (of_f32 f))
end
[wp:print-generated]
theory WP16
...
...
@@ -509,8 +494,7 @@
(* use frama_c_wp.cfloat.Cfloat1 *)
goal wp_goal :
forall f:t1.
is_negative_infinite_f32 (add_f32 f (0x1.0000000000000p0:t1))
forall f:t1. is_negative_infinite_f32 (add_f32 f (0x1.0p0:t1))
end
[wp:print-generated]
theory WP17
...
...
@@ -539,8 +523,7 @@
(* use frama_c_wp.cfloat.Cfloat1 *)
goal wp_goal :
forall f:t1.
is_positive_infinite_f32 (add_f32 f (0x1.0000000000000p0:t1))
forall f:t1. is_positive_infinite_f32 (add_f32 f (0x1.0p0:t1))
end
[wp:print-generated]
theory WP18
...
...
@@ -568,7 +551,7 @@
(* use frama_c_wp.cfloat.Cfloat1 *)
goal wp_goal : forall f:t1. is_NaN_f32 (add_f32 f (0x1.
000000000000
0p0:t1))
goal wp_goal : forall f:t1. is_NaN_f32 (add_f32 f (0x1.0p0:t1))
end
[wp:print-generated]
theory WP19
...
...
@@ -596,8 +579,7 @@
(* use frama_c_wp.cfloat.Cfloat1 *)
goal wp_goal :
forall f:t1. is_infinite_f32 (add_f32 f (0x1.0000000000000p0:t1))
goal wp_goal : forall f:t1. is_infinite_f32 (add_f32 f (0x1.0p0:t1))
end
[wp] 20 goals generated
------------------------------------------------------------
...
...
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