If the bit to set is beyond the predefined maximum size then return an error. Same for fp_is_bit_set().