Re: beginner question, NSNumber, NSDecimalAsNumber
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