source:
CIVL/examples/bugs/sqrt.cvl@
ef04a5c
| Last change on this file since ef04a5c was a78dd2e, checked in by , 11 days ago | |
|---|---|
|
|
| File size: 97 bytes | |
| Line | |
|---|---|
| 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.
