Jump to content

Rebol Programming/log-2

From Wikibooks, open books for an open world

USAGE:

[edit | edit source]
LOG-2 value 

DESCRIPTION:

[edit | edit source]

Return the base-2 logarithm.

LOG-2 is a native value.

ARGUMENTS:

[edit | edit source]
  • value -- (Type: number)

SOURCE CODE

[edit | edit source]
log-2: native[
    "Return the base-2 logarithm." 
    value [number!]
]