Syntax for pow()

What is the CURRENT syntax for pow() and sqrt Xcode 11.3.1?? I tried researching and can’t get an answer.

After googling “square root Swift” and “to the power of swift”

I found the documentation for both these functions

https://developer.apple.com/documentation/swift/double/2885715-squareroot

https://developer.apple.com/documentation/foundation/1779833-pow

After doing that I ran a playground, and they both function as expected

1 Like

Thanks. Looks like my search was too vague…

If you’re trying to find syntax for something always add “swift” in your search