Eh?

Did you just call typecasting  "*completely* unnecessary and pointless"...

Can you please explain?

I have plenty of C code, in *.c files that would disagree with you. 

You may be correct in that in Objective-C this may no longer be an issue, as 
the compiler does your work for you, but that was not an assumption I was 
making.

> Subject: Re: Confused about floats
> From: [email protected]
> Date: Tue, 5 Oct 2010 08:56:45 -0600
> CC: [email protected]
> To: [email protected]
> 
> On Oct 5, 2010, at 8:51 AM, Shawn Bakhtiar wrote:
> 
> > Also if x is a float, make sure you use the proper type cast, or values, ie 
> >  ( x = x + 120.00) or (x = y + (double)z , where x and y are double and z 
> > is an int). 
> 
> That is *completely* unnecessary and pointless.
> 
> -- 
> Scott Ribe
> [email protected]
> http://www.elevated-dev.com/
> (303) 722-0567 voice
> 
> 
> 
> 
                                          
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to