• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Who'd be a game dev...

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    Originally posted by SupremeSpod View Post
    How can you leave the top bits undefined? You'd **** the value up.

    Spod - In "I ******* Despair" mode!
    It doesn't matter if you are only after the lower bits. It's faster than padding unnecessarily.

    Another bloke who does not know his limitations.

    Comment


      #32
      I'm with DA on this one, reading this thread is interesting but also completely over my head. Can someone give a small example of >> << <<< and >>> in some code please so I have a better chance of actually keeping up
      The proud owner of 125 Xeno Geek Points

      Comment


        #33
        I think it's a bit over the line trolling on technical stuff like AL is doing, people might think he's correct and muck up their work!
        Originally posted by MaryPoppins
        I'd still not breastfeed a nazi
        Originally posted by vetran
        Urine is quite nourishing

        Comment


          #34
          Originally posted by d000hg View Post
          I think it's a bit over the line trolling on technical stuff like AL is doing, people might think he's correct and muck up their work!
          Get orf moi laaand!!

          Comment


            #35
            Originally posted by aussielong View Post
            It doesn't matter if you are only after the lower bits. It's faster than padding unnecessarily.

            Another bloke who does not know his limitations.
            So, by your logic...


            unsigned int a = 4;

            a = a >> 1;

            The answer could be unpredictable? Sorry mate you failed the interview.

            Comment


              #36
              Originally posted by SupremeSpod View Post
              So, by your logic...


              unsigned int a = 4;

              a = a >> 1;

              The answer could be unpredictable? Sorry mate you failed the interview.
              Right shifting a negative signed integer is undefined. Or rather , the result is platform and compiler dependent.

              You wouldn't be interviewing me pal.

              Comment


                #37
                Originally posted by aussielong View Post
                Right shifting a negative signed integer is undefined. Or rather , the result is platform and compiler dependent.

                You wouldn't be interviewing me pal.
                You're damn right I wouldn't, you wouldn't make it past DodgyAgent.

                Comment


                  #38
                  Originally posted by SupremeSpod View Post
                  You're damn right I wouldn't, you wouldn't make it past DodgyAgent.
                  Good comeback!

                  Comment

                  Working...
                  X