• 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: [NOOB] Finding Information (was: real noob question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NOOB] Finding Information (was: real noob question)


  • Subject: Re: [NOOB] Finding Information (was: real noob question)
  • From: mmalc Crawford <email@hidden>
  • Date: Mon, 19 Jan 2009 12:17:44 -0800


On Jan 19, 2009, at 11:57 AM, Brian Slick wrote:
On Jan 19, 2009, at 11:17 AM, mmalc Crawford wrote:
On Jan 19, 2009, at 6:10 AM, julius wrote:
But there is nothing here that looks anything like it would allow me to intialise with a numeric value like 23.30.
It's not clear why, throughout, you have ignored:
(a) initWithMantissa:exponent:isNegative:
In my case, when I went through almost exactly the same gyration that julius describes a while ago, I didn't know what a mantissa was, and I have a decent math and engineering background.

Discussion
The arguments express a number in a type of scientific notation that requires the mantissa to be an integer. So, for example, if the number to be represented is 1.23, it is expressed as 123x10^–2—mantissa is 123; exponent is –2; and isNegative, which refers to the sign of the mantissa, is NO.


<http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSDecimalNumber_Class/Reference/Reference.html#//apple_ref/occ/instm/NSDecimalNumber/initWithMantissa:exponent:isNegative: >


<http://www.google.com/search?hl=en&client=safari&rls=en-us&sa=X&oi=spell&resnum=1&ct=result&cd=1&q=mantissa&spell=1 >
-> <http://en.wikipedia.org/wiki/Significand>


mmalc

_______________________________________________

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: 
 >Re: [NOOB] Finding Information (was: real noob question) (From: julius <email@hidden>)
 >Re: [NOOB] Finding Information (was: real noob question) (From: mmalc Crawford <email@hidden>)
 >Re: [NOOB] Finding Information (was: real noob question) (From: Brian Slick <email@hidden>)

  • Prev by Date: Binding of invisible controls: is lazy data loading possible?
  • Next by Date: Re: NSPredicateEditorRowTemplate for NSDate
  • Previous by thread: Re: [NOOB] Finding Information (was: real noob question)
  • Next by thread: Re: [NOOB] Finding Information (was: real noob question)
  • Index(es):
    • Date
    • Thread