Home | History | Annotate | Download | only in jni
      1 #include <math.h>
      2 
      3 double test3 (double a, double b, double c)
      4 {
      5   return - (a + b * c);
      6 }
      7 double test4 (double a, double b, double c)
      8 {
      9   return - (-a + b * c);
     10 }
     11 double test5 (double a)
     12 {
     13   return 1/a;
     14 }
     15 double test6 (double a)
     16 {
     17   return 1/sqrt(a);
     18 }
     19 
     20 double a, b, c;
     21 
     22 int main()
     23 {
     24     test3(a, b, c);
     25     test4(a, b, c);
     26     test5(a);
     27     test6(a);
     28 }
     29