OxL Reference

method f64.log10

The base-10 logarithm.

Example:

oxl✓ checked in CI
fn main() io {
  let x: f64 = 1000.0
  print("{x.log10()}")
}
Output
3.0
pub(api) fn log10() -> f64

Complexity. O(1).

Since. 1.0.0-beta

Returns

f64

Effects

none declared (pure unless the body says otherwise)

Defined in: std/core/numbers.oxl:4088

See also