• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Stupid newbie question - determine if integer is even or odd
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Stupid newbie question - determine if integer is even or odd


  • Subject: Re: Stupid newbie question - determine if integer is even or odd
  • From: "John C. Randolph" <email@hidden>
  • Date: Tue, 13 Aug 2002 17:42:51 -0700

On Tuesday, August 13, 2002, at 05:17 PM, Heather Donahue wrote:

Maybe I'm being pedantic, and possibly even wrong, but doesn't the ANDing
method assume you know the internal bitwise representation of the variable?

Yes, it does. C is just the portable PDP-11 assembler, after all ;-)

-jcr

John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Stupid newbie question - determine if integer is even or odd (From: Heather Donahue <email@hidden>)

  • Prev by Date: Re: Stupid newbie question - determine if integer is even or odd
  • Next by Date: Re: [TRTFM] mouseMove invoked on non-FrstResponder?
  • Previous by thread: Re: Stupid newbie question - determine if integer is even or odd
  • Next by thread: Re: Stupid newbie question - determine if integer is even or odd
  • Index(es):
    • Date
    • Thread