Mercurial > hg > CbC > old > device
view test/float.c @ 80:83d901658ce9 indirect-call
*** empty log message ***
author | kono |
---|---|
date | Mon, 03 Mar 2003 05:41:10 +0900 |
parents | 82d0e30f61dd |
children | f94ca1168520 |
line wrap: on
line source
#include "stdio.h" void test2(double); void test1(); int main(int ac,char *av[]) { test1(); return 0; } void test1() { float f; float f1; double g; double g1; f = 1.3; g = 1.0; g = g+g; g1 = g*g; g = g/g1; g = g-g1; g = sin(g1); f = f+f; f1 = f*f; f = f/f1; f = f-f1; f = sin(f1); g = f+f; f = g*g; test2(f); g = g*g+f*f-g1*g1; printf("%g %g %g %g\n",g,f,g1,f1); return; } void test2(double i) { }