source:
CIVL/examples/analysis/abs2.c@
5833ea9
| Last change on this file since 5833ea9 was 7a13bdf, checked in by , 11 years ago | |
|---|---|
|
|
| File size: 153 bytes | |
| Line | |
|---|---|
| 1 | #include <stdlib.h> |
| 2 | #include <civlc.cvh> |
| 3 | |
| 4 | $input int x; |
| 5 | $input int y; |
| 6 | $assume(y<0); |
| 7 | void main(){ |
| 8 | //abs(x*x*x-3*x*x+2*x-1); |
| 9 | abs(y*y*y-3*y*y+2*y-1); |
| 10 | } |
Note:
See TracBrowser
for help on using the repository browser.
