REBOL 3 Docs | Guide | Concepts | Functions | Datatypes | Errors |
TOC < Back Next > | Updated: 3-Aug-2010 Edit History |
Return the base-2 logarithm.
Arguments:
value [number!]
See also:
The LOG-10 function returns the base-2 logarithm of the number provided. The argument must be a positive value, otherwise an error will occur (which can be trapped with the TRY function).
print log-2 2
1.0
print log-2 4
2.0
print log-2 256
8.0
print log-2 1234
10.26912667914941
TOC < Back Next > | REBOL.com - WIP Wiki | Feedback Admin |