Description Usage Arguments Examples
Create a range from the powers of mult
on the closed interval [lo
, hi
].
The endpoints are included, even if they are not multiples of mult
. The range
may go from negative to positive values if requested.
This function works on integer sequences, so if an interval is requested outside of
the maximum representable range of integers [-(2^{31} - 1), 2^{31} - 1] it
will throw an error.
1 | create_range_exp(lo, hi, mult = 8, exclude_zero = FALSE)
|
lo |
bottom of the interval |
hi |
top of the interval |
mult |
multiplier |
exclude_zero |
include |
1 | create_range_exp(lo = 8, hi = bitwShiftL(a = 8, n = 10), mult = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.