• 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: unsigned 16 digit integer data type?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unsigned 16 digit integer data type?


  • Subject: Re: unsigned 16 digit integer data type?
  • From: Shawn Erickson <email@hidden>
  • Date: Tue, 4 Nov 2003 21:50:34 -0800

On Nov 4, 2003, at 7:59 PM, Chaz McGarvey wrote:

A double takes up 64 bits, too. The only reason I would use a double is if integers weren't precise enough.

To be clear... Floating point numbers always have a smaller maximum precision then the same sized integer (bits go to the exponent). Floating point numbers however always have the ability to approximate a much larger numeric range then the same sized integer.

-Shawn
_______________________________________________
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.

References: 
 >Re: unsigned 16 digit integer data type? (From: Ben Dougall <email@hidden>)
 >Re: unsigned 16 digit integer data type? (From: Chaz McGarvey <email@hidden>)

  • Prev by Date: Re: unsigned 16 digit integer data type?
  • Next by Date: Re: NSTableDataSources and multi-threading
  • Previous by thread: Re: unsigned 16 digit integer data type?
  • Next by thread: Re: unsigned 16 digit integer data type?
  • Index(es):
    • Date
    • Thread