File tree Expand file tree Collapse file tree 8 files changed +419
-1
lines changed
goto-synthesizer/loop_contracts_synthesis_04 Expand file tree Collapse file tree 8 files changed +419
-1
lines changed Original file line number Diff line number Diff line change 1+ #include <assert.h>
2+ #include <math.h>
3+
4+ double __builtin_powi (double , int );
5+
6+ int main ()
7+ {
8+ double four = __builtin_powi (2.0 , 2 );
9+ assert (four > 3.999 && four < 4.345 );
10+ return 0 ;
11+ }
Original file line number Diff line number Diff line change 1+ CORE
2+ main.c
3+ --float-overflow-check --nan-check
4+ ^EXIT=0$
5+ ^SIGNAL=0$
6+ ^VERIFICATION SUCCESSFUL$
7+ --
8+ ^warning: ignoring
Original file line number Diff line number Diff line change 1+ #include <assert.h>
2+ #include <math.h>
3+
4+ float __builtin_powif (float , int );
5+
6+ int main ()
7+ {
8+ float four = __builtin_powif (2.0f , 2 );
9+ assert (four > 3.999f && four < 4.345f );
10+ return 0 ;
11+ }
Original file line number Diff line number Diff line change 1+ CORE
2+ main.c
3+ --float-overflow-check --nan-check
4+ ^EXIT=0$
5+ ^SIGNAL=0$
6+ ^VERIFICATION SUCCESSFUL$
7+ --
8+ ^warning: ignoring
Original file line number Diff line number Diff line change 1+ #include <assert.h>
2+ #include <math.h>
3+
4+ long double __builtin_powil (long double , int );
5+
6+ int main ()
7+ {
8+ long double four = __builtin_powil (2.0l , 2 );
9+ assert (four > 3.999l && four < 4.345l );
10+ return 0 ;
11+ }
Original file line number Diff line number Diff line change 1+ CORE
2+ main.c
3+ --float-overflow-check --nan-check
4+ ^EXIT=0$
5+ ^SIGNAL=0$
6+ ^VERIFICATION SUCCESSFUL$
7+ --
8+ ^warning: ignoring
Original file line number Diff line number Diff line change 33--pointer-check _ --no-malloc-may-fail --verbosity 9
44^EXIT=0$
55^SIGNAL=0$
6- Quick filter\: 6. * out of 67 candidates were filtered out\.
6+ Quick filter\: [1-9]\d * out of 67 candidates were filtered out\.
77^\[main.pointer\_dereference.\d+\] .* SUCCESS$
88^VERIFICATION SUCCESSFUL$
99--
You can’t perform that action at this time.
0 commit comments