Base-10 logarithm
Basic types / Numbers / Mathematical operations
Exponentiation
Square root
Minimum and maximum
Logarithm
Base-10 logarithm
Sine, cosine and tangent
double
number =
1000
;
double
result =
log10
(number);
//result is 3
printf
(
"result is %g\n"
, result);
Languages
Python
C++
Java
C#
JavaScript
R
Rust
Golang
Delphi
PHP
Ruby
Swift
Kotlin
Lua
TypeScript
Clojure
Bash
Objective-C