Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:Log(x)/doc

From Wikipedia, the free encyclopedia

This template notifies the reader of the notation for logarithms. Place it at the top of an article or section (below any infobox or sidebar) where log(x) is used conventionally. The first unnamed parameter can be used to indicate which convention is used.

{{log(x)|parameter}}

Parameter valueMeaningResult
{{log(x)|10}}, {{log(x)|ten}}, {{log(x)|dec}}, or {{log(x)|decimal}}Indicates a common logarithm, i.e. .
{{log(x)|2}}, {{log(x)|two}}, {{log(x)|bin}}, or {{log(x)|binary}}Indicates a binary logarithm, i.e. or .
{{log(x)|any other value}} or {{log(x)}}Indicates a natural logarithm, i.e. or .