Description Usage Arguments Value
Assumes LSB is in the 32 or 64 bit of the representation
1 2 3 4 5 6 7 8 9 | lofi_to_fp(lofi, float_bits)
dbl_to_fp(dbl)
fp_to_dbl(fp)
fp_to_lofi(fp)
change_format_fp(fp, float_bits = c(1, 8, 7))
|
lofi |
floating point number. stored as bits in a a single R integer |
float_bits |
length (in number of bits) of sign, exponent and mantissa. |
dbl |
64 bit R floating point real |
fp |
named list |
Return a named list with elements sign, exponent and mantissa
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.