Exponentiation
Basic types / Numbers / Mathematical operations
Exponentiation
Square root
Minimum and maximum
Logarithm
Base-10 logarithm
Sine, cosine and tangent
double
number =
8.0
;
double
power =
3.0
;
double
result =
pow
(number, power);
//result is 512.0
Languages
Python
C
C++
Java
C#
JavaScript
R
Rust
Golang
Delphi
PHP
Ruby
Swift
Kotlin
Lua
TypeScript
Clojure
Bash