• 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: general questions (another noob)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: general questions (another noob)


  • Subject: Re: general questions (another noob)
  • From: Óscar Morales Vivó <email@hidden>
  • Date: Sat, 6 Sep 2003 19:55:49 +0200

I never made any tests on this, however, if looking at the sizes..

int 4 bytes
float 4 or 8 bytes (usually 8!)
object 4 bytes (pointer, however, further comparison would be needed if the pointer isn't the same)

I would have thought that float is 4 bytes, and you need to use double for 8 byte floating point stuff. That's stadarized IEEE stuff (AFAIK).

Also int size isn't fixed in the standard, although it's almost always 4 bytes in modern machines. Used to be less.

Hope that helps.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: general questions (another noob)
      • From: Jens Bauer <email@hidden>
References: 
 >Re: general questions (another noob) (From: Jens Bauer <email@hidden>)

  • Prev by Date: Re: beta testing
  • Next by Date: Textwindows
  • Previous by thread: Re: general questions (another noob)
  • Next by thread: Re: general questions (another noob)
  • Index(es):
    • Date
    • Thread