Mercurial > hg > CbC > old > device
diff test/float.c @ 284:ec1a68133f6a
MIPS f2u bug fix.
author | kono |
---|---|
date | Mon, 24 May 2004 19:59:50 +0900 |
parents | ebaec1ae566e |
children | c7abd48191b3 |
line wrap: on
line diff
--- a/test/float.c Mon May 24 13:21:22 2004 +0900 +++ b/test/float.c Mon May 24 19:59:50 2004 +0900 @@ -88,10 +88,13 @@ d = 4204967294.4234; f=4204967294.4234; u = d; + printf("1: u=%u d=%g f=%f\n",u,d,f); d = u; + printf("2: u=%u d=%g f=%f\n",u,d,f); u = f; + printf("3: u=%u d=%g f=%f\n",u,d,f); f = u; - printf("u=%u d=%g f=%f\n",u,d,f); + printf("4: u=%u d=%g f=%f\n",u,d,f); print(1.0); print(0.1234);