• 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: Initialization of doubles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Initialization of doubles


  • Subject: Re: Initialization of doubles
  • From: "Erik M. Buck" <email@hidden>
  • Date: Fri, 7 Sep 2001 15:37:13 -0500

Objective-C initializes all instance variables to the bit pattern that is
all zeros. This probably happens because calloc() is used to allocate
instances. If the bit pattern of all zeros happens to be the floating point
representation of zero, then you are in luck!


References: 
 >Initialization of doubles (From: Rob Rix <email@hidden>)

  • Prev by Date: Saving window location
  • Next by Date: Re: Mac OS X 10.1 File Name Extension Guidelines
  • Previous by thread: Initialization of doubles
  • Next by thread: Re: Initialization of doubles
  • Index(es):
    • Date
    • Thread