Re: fast blitting with Quartz
Re: fast blitting with Quartz
- Subject: Re: fast blitting with Quartz
- From: Scott Thompson <email@hidden>
- Date: Fri, 28 Sep 2007 13:39:16 -0500
Nope, it's somewhat less than 10 million but much much larger than
10 thousand. That's about the point where the "float" type no longer
has enough precision to represent individual pixels.
An IEEE binary float has 1 bit of sign, 8 bits of exponent, and 23
bits of fractional value. Which means you should be able to exactly
represent pixel values between +8,388,608 and -8,388,608. (2^23)
Okee dokee... I just had it wrong in my head.
Scott
_______________________________________________
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