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

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



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: 0
Please enter the den: 0

0/0 = 0

thetaphi@alpha:~$ ./test
Please enter the num: 1
Please enter the den: 0

1/0 = 0

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

9.99989e-321/2 = 0

At 22:57 19.06.2006, Donsbach, Jeff wrote:

Fwiw, I get the exact same results as Bob on an EV56 (miata) running a
2.6.15 kernel. Gcc version is 3.4.4.

Jeff D

-----Original Message-----
From: Bob McElrath [mailto:bob+debian-alpha@mcelrath.org]
Sent: Wednesday, June 14, 2006 12:33 PM
To: Tyson Whitehead
Cc: debian-alpha@lists.debian.org
Subject: Re: Kernel IEEE Math Completion (everything is zeroed!?!)

I don't seem to reproduce the problem on 2.6.15.
0/0 = nan
1/0 = inf
9.99989e-321/2 = 4.99994e-321

(0)<mcelrath@moya:/tmp> uname -a
Linux moya.mcelrath.org 2.6.15 #1 SMP Mon Mar 13 15:01:04 PST 2006 alpha
GNU/Linux

The gcc I have installed is 4.0.3, but I couldn't guarantee that's what
I used to compile this kernel...

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de - http://www.schindlers-software.de
eMails: uwe@thetaphi.de (private); info@schindlers-software.de (company)
Tel./Fax: +49 700 PCLATEIN (+49 700 72528346)

Schindlers Software - Home of Schindlers PC-LATEIN 3.20
DIE Software zum Lateinlernen!


Reply to: