loop for finding possible odd divisors

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • scienceman88
    New Member
    • Aug 2009
    • 85

    #91
    no I'm talking the code from rosetta doesn't seem to work at all not yours

    Comment

    • JosAH
      Recognized Expert MVP
      • Mar 2007
      • 11453

      #92
      Originally posted by scienceman88
      no I'm talking the code from rosetta doesn't seem to work at all not yours
      Sprinkle a lot if print( ... ) calls all over the place and see what happens; printf( ...) is the poor man's debugger.

      kind regards,

      Jos

      Comment

      • scienceman88
        New Member
        • Aug 2009
        • 85

        #93
        the only error I got with the original is with log2l but I can't even seem to get log2 to work period.

        Comment

        • scienceman88
          New Member
          • Aug 2009
          • 85

          #94
          Originally posted by JosAH
          Sprinkle a lot if print( ... ) calls all over the place and see what happens; printf( ...) is the poor man's debugger.

          kind regards,

          Jos
          so basically I'm poor ?

          Comment

          • JosAH
            Recognized Expert MVP
            • Mar 2007
            • 11453

            #95
            Originally posted by scienceman88
            so basically I'm poor ?
            I don't know but using printf( ... ) is an easy way to debug your code; it's just a matter of speech: the poor man's debugger.

            kind regards,

            Jos

            Comment

            • scienceman88
              New Member
              • Aug 2009
              • 85

              #96
              I think I see how but I'm busy arguing at mersenneforums. org right now lol

              Comment

              • JosAH
                Recognized Expert MVP
                • Mar 2007
                • 11453

                #97
                Originally posted by scienceman88
                I think I see how but I'm busy arguing at mersenneforums. org right now lol
                Don't crosspost, you'll be spoiling people's time: they'll answer questions that are probably answered before without knowing it.

                kind regards,

                Jos

                ps. I consider this thread closed to avoid duplication of subjects and answers.

                Comment

                • r035198x
                  MVP
                  • Sep 2006
                  • 13225

                  #98
                  Sneaking in a subscription before the thread gets closed.

                  Comment

                  • JosAH
                    Recognized Expert MVP
                    • Mar 2007
                    • 11453

                    #99
                    Originally posted by r035198x
                    Sneaking in a subscription before the thread gets closed.
                    And *bang* the door is closed. If the OP wants to ask other (or related) questions I suggest he'd open up a new thread.

                    kind regards,

                    Jos

                    Comment

                    Working...