lofi_to_fp.Rd
Assumes LSB is in the 32 or 64 bit of the representation
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