Skip to main content

log2

log2(
@x ## required
) -> llll/null

Returns the logarithm base 2 of @x


Arguments

  • @x [int/float/llll] Numeric llll.(required)

Output

Logarithm base 2 of @x. [llll/null]

warning

log2 is a built-in function in the bell programming language and is not unique or exclusive to bellplay~. As such, log2 will return null without raising an error if required arguments are not provided.