20

How do I get arctan MATH function in iphone SDK?

Cœur
  • 37,241
  • 25
  • 195
  • 267
Devang
  • 11,258
  • 13
  • 62
  • 100

2 Answers2

41

The function you are looking for is atan(double)

Jilouc
  • 12,684
  • 4
  • 46
  • 43
4

Use the "2nd"-function under the "("-key, top left with the iphone in horizontal position. The tan key will change to tan-1, i.e. arctan.

MattiLi
  • 41
  • 1