Convert a single R 32-bit signed integer value to a lower bit representation

int32_to_lofi(int32, nbits, signed = FALSE)

lofi_to_int32(lofi, nbits, signed = FALSE)

Arguments

int32

a single R 32-bit signed integer value

nbits

number of bits

signed

boolean. default: FALSE

lofi

integer value

Value

an integer value, only the lower 'nbits' contain valid information