log2 | R Documentation |
Base 2 logarithm and floating-point number dissection
log2(X, dissect = TRUE)
X |
a scalar or vector of numbers |
dissect |
if |
either a vector or a list of mantissas and exponents such that mantissa * 2 ^ exponent equals X
log2(10, dissect = FALSE) log2(10) .625 * 2 ^ 4 == 10 # proof
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.