[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Kernel IEEE Math Completion (everything is zeroed!?!)



Uwe Schindler wrote:
> Same here on EV56 (Alphastation 500/500) with gcc 4.0.4 20060507
>(prerelease) (Debian 4.0.3-3) on Linux 2.6.16-2-alpha-generic:
>
> thetaphi@alpha:~$ ./test
> Please enter the num: 1e-320
> Please enter the den: 2
>
> 9.99989e-321/2 = 0

Actually Uwe, that last one is different from what Bob and I get:

jeff@alpha1 ~ $ ./test
Please enter the num: 1e-320
Please enter the den: 2

9.99989e-321/2 = 4.99994e-321

Now I'm confused. Which is supposed to be correct?

Jeff



Reply to: