< Rebol Programming

USAGE:

LOG-2 value 

DESCRIPTION:

Return the base-2 logarithm.

LOG-2 is a native value.

ARGUMENTS:

  • value -- (Type: number)

SOURCE CODE

log-2: native[
    "Return the base-2 logarithm." 
    value [number!]
]
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.