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