This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
typedef unsigned int uint; | |
#include "H5Zzfp_plugin.h" | |
/* convert cd_vals to zfp mode and parameters */ | |
static int | |
decode_cdvals(const unsigned int cd_vals[], int n, double* rate, double* acc, uint* prec, uint* minbits, uint* maxbits, uint* maxprec, int* minexp) |