Mercurial > hg > CbC > old > device
comparison test/float.c @ 108:69e2e763cce5 powerpc-asm-first-try
object assemble first try.
author | kono |
---|---|
date | Tue, 18 Mar 2003 20:50:37 +0900 |
parents | 7d8de41390d8 |
children | fc7de4faedfd |
comparison
equal
deleted
inserted
replaced
107:06f72222d6b5 | 108:69e2e763cce5 |
---|---|
38 int | 38 int |
39 main(int ac,char *av[]) { | 39 main(int ac,char *av[]) { |
40 double g; | 40 double g; |
41 int i; | 41 int i; |
42 unsigned u; | 42 unsigned u; |
43 double d00 = ac?0.5:3; | |
44 | |
45 printf("%g\n",d00); | |
43 | 46 |
44 g = 1.0; | 47 g = 1.0; |
45 g = -g; | 48 g = -g; |
46 printf("%g\ncond ",g); | 49 printf("%g\ncond ",g); |
47 if(f==f*1.0) printf("1 "); | 50 if(f==f*1.0) printf("1 "); |