Professional Documents
Culture Documents
Objective-C Math Functions
Objective-C Math Functions
com/objective-c-math-functions/
Tutorials and excerpts about iPhone and iPad programming in Objective-C and Cocoa Touch
Read More »
RSS Feed »
1 of 5 4/23/11 2:18 PM
Objective-C Math functions http://www.touch-code-magazine.com/objective-c-math-functions/
7 Featured Articles
Objective-C Math functions tweets
Top 10 Tips To
Creating
Profitable iPhone
Apps
5 Comments
Math functions
double pow ( double, double ) - power of
Top 10 Tips To
Creating
double fmin ( double, double ) - returns the smaller argument
Profitable iPhone
Apps
NSLog(@"res: %.f", fmin(5,10)); //result 5
5 Comments
Blood Booth is
double fmax ( double, double ) - returns the bigger argument available in the
App Store
NSLog(@"res: %.f", fmax(5,10)); //result 10 0 Comments
2 of 5 4/23/11 2:18 PM
Objective-C Math functions http://www.touch-code-magazine.com/objective-c-math-functions/
Eventually you will find also all the trigonometry you’ll need as: sin, cos, tan, atan, and their
variations. Vertex Helper Pro
in the Mac App
Store
Few math constants 3 Comments
Smashing Magazine
If you liked this article please share it with your friends or colleagues; there's also a low traffic RSS feed to give you
heads up when there's a new post in Touch Code Magazine.
Tweet This!
Comments
Categories
3 of 5 Advanced Answers 4/23/11 2:18 PM
Basics cocos2d
Objective-C Math functions http://www.touch-code-magazine.com/objective-c-math-functions/
blinker13
on Saturday 6, 2010
Marin
on Saturday 6, 2010
Ha! Totally
Great great catch – thanks
A personal message
[...] do you find interesting to read about? Some of my API Overviews seem to be quite popular like the
Objective-C Math API and the Geometry API. Also the tutorial for downloading dynamic content from
Internet looked like [...]
Leave a Response
Name (required)
Website
Back to top
5 of 5 4/23/11 2:18 PM