def zfp_precision_opts(precision):
    """Create a compression options for ZFP in fixed-precision mode

    The float precision parameter is the number of uncompressed bits per value.
    """
    zfp_mode_precision = 2
    return zfp_mode_precision, 0, precision, 0, 0, 0