• 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: fast blitting with Quartz
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >fast blitting with Quartz (From: Kenny Leung <email@hidden>)
 >Re: fast blitting with Quartz (From: Greg Titus <email@hidden>)
 >Re: fast blitting with Quartz (From: Kenny Leung <email@hidden>)
 >Re: fast blitting with Quartz (From: Wade Tregaskis <email@hidden>)
 >Re: fast blitting with Quartz (From: Scott Thompson <email@hidden>)
 >Re: fast blitting with Quartz (From: Greg Titus <email@hidden>)

  • Prev by Date: Re: fast blitting with Quartz
  • Next by Date: Re: fast blitting with Quartz
  • Previous by thread: Re: fast blitting with Quartz
  • Next by thread: Re: fast blitting with Quartz
  • Index(es):
    • Date
    • Thread