main
|
Last change
on this file was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago |
|
Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.
git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5704 fb995dde-84ed-4084-dfe6-e5aef3e2452c
|
-
Property mode
set to
100644
|
|
File size:
697 bytes
|
| Rev | Line | |
|---|
| [fded22e] | 1 | // mimic this path condition:
|
|---|
| 2 | //(0 < -1*(X2[1]*X2[3])+X2[1]*X2[5]+X2[2]*X2[3]+-1*(X2[2]*X2[4])+X2[4]*X2[0]+-1*(X2[5]*X2[0])+-1/115470000000000)
|
|---|
| 3 | //&&
|
|---|
| 4 | //(0 != 11547/10000*(X2[1]*X2[3])+-11547/10000*(X2[1]*X2[5])+-11547/10000*(X2[2]*X2[3])+11547/10000*(X2[2]*X2[4])+-11547/10000*(X2[4]*X2[0])+11547/10000*(X2[5]*X2[0]))
|
|---|
| 5 |
|
|---|
| 6 | #include <civlc.cvh>
|
|---|
| 7 |
|
|---|
| 8 | $input double a[6];
|
|---|
| 9 |
|
|---|
| 10 | int main(){
|
|---|
| 11 | double first = - a[1]*a[3] + a[1]*a[5] + a[2]*a[3] - a[2]*a[4] + a[4]*a[0] - a[5]*a[0] - 1/115470000000000;
|
|---|
| 12 |
|
|---|
| [3ff27cf] | 13 | $assume((0 < first));
|
|---|
| [fded22e] | 14 |
|
|---|
| 15 | double second = (a[1]*a[3] - a[1]*a[5] - a[2]*a[3] + a[2]*a[4] - a[4]*a[0] + a[5]*a[0]) * 11547/10000;
|
|---|
| 16 |
|
|---|
| [3ff27cf] | 17 | $assume((0 != second));
|
|---|
| [fded22e] | 18 |
|
|---|
| [3711b93] | 19 | for(int i = 0; i <2; i ++);
|
|---|
| [fded22e] | 20 |
|
|---|
| [3ff27cf] | 21 | $assert($false);
|
|---|
| [fded22e] | 22 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.