Please, help us to better serve our user community by answering the following short survey: https://www.hdfgroup.org/website-survey/
HDF  4.3.0
API Reference
 
Loading...
Searching...
No Matches
testcdf.h File Reference
#include <float.h>
#include <math.h>
#include <stdlib.h>
#include "mfhdf.h"

Data Structures

struct  cdfdim
 
struct  cdfvar
 
struct  cdfatt
 
struct  netcdf
 

Macros

#define ___   0 /* marker for structure place-holder */
 
#define BAD_TYPE   NC_UNSPECIFIED /* must be distinct from valid types */
 
#define MAX_TEST_DIMS   32
 
#define MAX_TEST_VARS   32
 
#define MAX_TEST_ATTS   32
 
#define H4_FLT_ABS_EQUAL(X, Y)   (fabsf((X) - (Y)) < FLT_EPSILON)
 
#define H4_DBL_ABS_EQUAL(X, Y)   (fabs((X) - (Y)) < DBL_EPSILON)
 
#define H4_LDBL_ABS_EQUAL(X, Y)   (fabsl((X) - (Y)) < LDBL_EPSILON)
 

Variables

struct netcdftest_g
 

Macro Definition Documentation

◆ ___

#define ___   0 /* marker for structure place-holder */

◆ BAD_TYPE

#define BAD_TYPE   NC_UNSPECIFIED /* must be distinct from valid types */

◆ H4_DBL_ABS_EQUAL

#define H4_DBL_ABS_EQUAL ( X,
Y )   (fabs((X) - (Y)) < DBL_EPSILON)

◆ H4_FLT_ABS_EQUAL

#define H4_FLT_ABS_EQUAL ( X,
Y )   (fabsf((X) - (Y)) < FLT_EPSILON)

◆ H4_LDBL_ABS_EQUAL

#define H4_LDBL_ABS_EQUAL ( X,
Y )   (fabsl((X) - (Y)) < LDBL_EPSILON)

◆ MAX_TEST_ATTS

#define MAX_TEST_ATTS   32

◆ MAX_TEST_DIMS

#define MAX_TEST_DIMS   32

◆ MAX_TEST_VARS

#define MAX_TEST_VARS   32

Variable Documentation

◆ test_g

struct netcdf* test_g
extern