Re: [NOOB] Finding Information (was: real noob question)
Re: [NOOB] Finding Information (was: real noob question)
- Subject: Re: [NOOB] Finding Information (was: real noob question)
- From: Brian Slick <email@hidden>
- Date: Mon, 19 Jan 2009 14:57:35 -0500
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. I'm sure it is buried
in the depths of some textbook that I haven't seen for 10 years, but
it's not something that springs to mind.
I'm not sure this is a documentation failure as much as a language
failure, at least in this case. Why isn't there an initWithInt: or
initWithFloat: like in some other cases? THAT would have resulted in
the documentation page leading to the correct answer. Mantissa? Come
on. I guess the initWithString: is easy enough, but my brain doesn't
mix-n-match strings and numbers very well, so it didn't occur to me to
try.
Brian
_______________________________________________
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