Description Usage Arguments Value
Plot the individual bits of a double
1 2 3 | plot_float(fp, float_type = c("single", "half", "bfloat16"),
float_bits = NULL, base_size = 8, text_y = -1, segment_y = -0.5,
...)
|
fp |
floating_point stored in an integer |
float_type |
one of 'single', 'half', 'bfloat16' |
float_bits |
3 element vector with bit allocations for sign, exponent and mantissa |
base_size |
base_size |
text_y, segment_y |
y position of the annotations for text and line segment |
... |
arguments passed to |
return a ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.