TY to everyone for the help...gil_johnson found the bug. When I originally copied the code over to my Intel netbook....I noticed the same problem gil did when I ran the program. I changed the code and tested it again and it worked. I then posted my results in response to Adak's advise
I took your advise and before doing in-depth research on my mobo and processor I copied the program over to my Intel Atom Netbook......and the function worked perfectly! I got an answer of 0.031000.
I just never mentioned that I found the bug and corrected it because I thought it was the HTEP/AMD/Intel issue.
I've sense corrected the code on my AMD machine
Code:
lapsed = (double)(end - start)/CLOCKS_PER_SEC;
When I run the program I am now getting 0.015000 as a result. Thanks again everyone who helped!
EDIT: In my original post, I actually have the bug fixed but if you download the .c file I attached to the thread, you can find the bug that gil found and corrected. Ironic I had the problem fixed before I even posted the question....I just never updated my original source