source:
CIVL/mods/dev.civl.com/examples/experimental/powerTest.cvl@
cb4d4f4
| Last change on this file since cb4d4f4 was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 119 bytes | |
| Rev | Line | |
|---|---|---|
| [c2aa604] | 1 | /* prove: X!=0 => X*X > 0 */ |
| 2 | #include <civlc.cvh> | |
| 3 | ||
| 4 | $input double x; | |
| 5 | ||
| 6 | int main() { | |
| 7 | $assume(x!=0); | |
| 8 | $assert(x*x>0); | |
| 9 | } |
Note:
See TracBrowser
for help on using the repository browser.
