User Profile

Collapse

Profile Sidebar

Collapse
bearchen
bearchen
Last Activity: Sep 6 '09, 04:12 AM
Joined: Sep 4 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • bearchen
    replied to Division (C language)
    in C
    Thanks, I keep forgetting these basic principles. I promoted the array vec[ ] to float and now it works.
    After some modifications and patches, here's the end result:...
    See more | Go to post

    Leave a comment:


  • bearchen
    started a topic Division (C language)
    in C

    Division (C language)

    Hello

    I'm dividing consecutive prime numbers (larger over lesser) and I get 1.0000(....) for all of them.
    Does it have anything to do with runnig gcc on windows? I've tried the calculator applet that comes with the OS and it works properly...
    The program prints a column with the order, a second with each prime, then the difference between two consecutives, the cumulative sum and the last one was supposed to be the ratio...
    See more | Go to post
No activity results to display
Show More
Working...