Unsolved

This post is more than 5 years old

7 Posts

14244

December 14th, 2001 17:00

Pointing Fingers - Not resolving problems

I have an interesting 2 days in dealing with Dell Support.

We have a computer that seems to be having difficulty in doing simple math. We've tested this with a very basic routine run at a command prompt by cubing a 5 digit whole number. The computer returns a number with 2 significant characters to the RIGHT of the decimal point.

Dell Support can't seem to wrap their minds around the fact that this points to a processor problem.

Very amusing

2 Intern

 • 

2.1K Posts

December 14th, 2001 20:00

Randy: What command are you using and can you give an example of a test and your result?

7 Posts

December 14th, 2001 21:00

Jim,

In case you were asking with command interpreter, cmd.exe

Randy

7 Posts

December 14th, 2001 21:00

At a command prompt, I have a simple compiled C program that loops to create the cube of 43,690. On every other machine that I've tried this on, I get a whole, and correct, number. On the machine in question, I get a number that is incorrect and contains 2 significant characters to the RIGHT of the decimal.


So far, the Dell people want to say it's a software issue and aren't willing to consider anything else. I've been doing this for nearly 20 years and can tell the difference between software and hardware.


124 Posts

December 14th, 2001 23:00

rwreas-
Are you using application accelerator by any chance?

Jim C


Message Edited on 12/14/01 09:32PM by Jim C

2 Intern

 • 

2.1K Posts

December 15th, 2001 11:00

If you put the equivalent code in Excel’s VB and run it, do you get the correct answer? Note, Excel has a limit so you may have to print to the debug window.

If the result prints in other programs then the limitation is elsewhere. But I don’t see how this is a Dell problem.


344 Posts

December 15th, 2001 15:00

Can you post the source to the C program so I can compile it and try it?

Jerry


7 Posts

December 17th, 2001 14:00

#include
#include

double jraise(double num, double exp)
{
int i;
double ret=1;
for(i=0;i ret *= num;

//printf(" Raise %f^%f=%f\n",num,exp,ret);
return(ret);
}

main()
{
double tmp, y=43690.0, x=3.0;
tmp = jraise(y,x);
printf("%f raised to %f = %f\n",y,x,tmp);
getch();
return 0;
}



When compiled and ran at a command prompt, the results are incorrect.

7 Posts

December 17th, 2001 14:00

Definitely not. This happens when booted to a command prompt, too.

7 Posts

December 17th, 2001 14:00

Unfortunately, Dell's diagnostic program that Dell Support sent me has trashed the system. Now all I can do is boot to command prompt. Windows 2000 will no longer run. Of course, the error still is there.

Best of all, they sent me a nice little link to an article assuring me that it would solve the problem.

The crux of the article - check your monitor power connection.

You ask why this would be a Dell problem? Because Dell assembled the computer and the CPU is their responsibility.


344 Posts

December 17th, 2001 19:00

I am surprised that code even compiled. There are so many syntax errors it is pitiful. Here is my version:

#include
#include
#include

double jraise(double num, int exp)

{
int i;
double ret = 1;

for(i=0; i < exp; i++) {
ret *= num;
//printf(" Raise %f^%f=%f\n", num, exp, ret);
}
return(ret);
}

int main(void)

{
double tmp;
double y = 43690.0;
int x = 3;

tmp = jraise(y,x);
printf("%f raised to %d = %f\n", y, x, tmp);
getch();
return 0;
}

The above code works.


7 Posts

December 17th, 2001 21:00

well, fortunately, Dell in their infinite wisdom, has determined that reformatting the hard drive will fix it. At least it's out of my hands, finally.

No Events found!

Top