source:
CIVL/examples/bugs/sqrt.cvl
| Last change on this file was a78dd2e, checked in by , 11 days ago | |
|---|---|
|
|
| File size: 97 bytes | |
| Rev | Line | |
|---|---|---|
| [a78dd2e] | 1 | #include <math.h> |
| 2 | $input double x; | |
| 3 | ||
| 4 | int main(void) { | |
| 5 | $assert(sqrt(x*x) == x); // should fail | |
| 6 | } |
Note:
See TracBrowser
for help on using the repository browser.
