Description Usage Arguments Examples
Generate a character vector of ones, zeros, and spaces, representing the bits in a double. Spaces are used to separate the sign bit, 11 exponent bits, and 52 fraction bits.
1 |
d |
a numeric value |
1 2 3 | # Output binary representation of pi
bits_as_string(pi)
# 0 10000000000 1001001000011111101101010100010001000010110100011000
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.