Re: Objective-C parameter mutation
Re: Objective-C parameter mutation
- Subject: Re: Objective-C parameter mutation
- From: "Sherm Pendley" <email@hidden>
- Date: Thu, 16 Oct 2008 02:58:23 -0400
On Wed, Oct 15, 2008 at 10:07 PM, Graham Cox <email@hidden> wrote:
>
> Others have addressed your current problem, but a note about the problem of
> passing 0.001:
>
> A float may not be able to exactly represent 0.001, but a value somewhat
> close to it.
Spot-on!
Goldberg's classic paper on the subject is a must-read for anyone working
with floats:
<http://docs.sun.com/source/806-3568/ncg_goldberg.html>
sherm--
--
Cocoa programming in Perl: http://camelbones.sourceforge.net
_______________________________________________
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