REBOL Programming/log-2

From Wikibooks, open books for an open world
< REBOL Programming
Jump to: navigation, search

USAGE:[edit]

LOG-2 value 

DESCRIPTION:[edit]

Return the base-2 logarithm.

LOG-2 is a native value.

ARGUMENTS:[edit]

  • value -- (Type: number)

SOURCE CODE[edit]

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