CocoaDev

Edit AllPages

How do you do exponents in Cocoa? Thanks.

Specifically, a square-root, or ^0.5.


Go to the terminal, and invoke man sqrt and man pow

NOTE: This documentation can also be brought up from Xcode and Project Builder via the “Help/Open man page” menu selection.