HDF5 Extras
0.0.1
Convenience Functions for using HDF5 Better
|
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <sys/types.h>
#include <limits.h>
#include <float.h>
#include <math.h>
#include <complex.h>
#include "bstrlib.h"
#include "gmalloc.h"
#include "H5ATTR.h"
#include "globals.h"
Macros | |
#define | RMIN 0 |
#define | RMAX 1 |
Functions | |
int | GS_InitializeNumberRanges () |
GS_InitializeNumberRanges initializes ranges for various types. More... | |
Variables | |
long int | intranges [GS_DATATYPE_MAX+1][2] |
double | floatranges [GS_DATATYPE_MAX+1][2] |
int GS_InitializeNumberRanges | ( | void | ) |
GS_InitializeNumberRanges initializes ranges for various types.
GS_InitializeNumberRanges() initializes the ranges for each of the scalar number types used in GeoSci. This is needed during type conversions to avoid creating variables whose value is out-of-range.
intranges
and floatranges
to contain the minimum and maximum numbers possible for each datatype that GeoSci supports.