source:
CIVL/examples/analysis/abs2.c@
5cf6652
| Last change on this file since 5cf6652 was 7a13bdf, checked in by , 11 years ago | |
|---|---|
|
|
| File size: 153 bytes | |
| Rev | Line | |
|---|---|---|
| [7a13bdf] | 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.
