• 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: beginner question, NSNumber, NSDecimalAsNumber
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: beginner question, NSNumber, NSDecimalAsNumber


  • Subject: Re: beginner question, NSNumber, NSDecimalAsNumber
  • From: Dale Miller <email@hidden>
  • Date: Fri, 13 Nov 2009 09:35:57 -0800

PPC has the cntlzw and cltlzd hardware instructions (count leading zeros word/doubleword). Subtracting the result from 32 or 64 would give the bit number of the leading 1-bit (or 32/64 for no 1-bits).


Dale Miller email@hidden




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Tracking Safari usage through a background process or dameon
  • Next by Date: Re: Callback when OS delivers console msg for my process?
  • Previous by thread: Re: beginner question, NSNumber, NSDecimalAsNumber
  • Next by thread: iPhone: NSOperation and UITableVIews
  • Index(es):
    • Date
    • Thread