source: CIVL/examples/experimental/ex3_simple.cvl@ d1acf8e

1.23 2.0 main test-branch
Last change on this file since d1acf8e was d1acf8e, checked in by Si Li <sili@…>, 10 years ago

counterexample for new ticket

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@3192 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 190 bytes
Line 
1#include <civlc.cvh>
2#include <stdio.h>
3#include <math.h>
4
5int main (void) {
6 double x = 0.02;
7
8 printf("x is %f", x);
9 double y = sqrt(x);
10 double z = pow(y, 0.5);
11 $assert(x == z);
12}
Note: See TracBrowser for help on using the repository browser.