ncdf4a13/libsrc/rnd.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define _RNDUP(x, unit)
#define _RNDDOWN(x, unit)   ((x) - ((x)%(unit)))
#define M_RND_UNIT   (sizeof(double))
#define M_RNDUP(x)   _RNDUP(x, M_RND_UNIT)
#define M_RNDDOWN(x)   __RNDDOWN(x, M_RND_UNIT)


Define Documentation

#define _RNDDOWN x,
unit   )     ((x) - ((x)%(unit)))
 

Definition at line 11 of file rnd.h.

Referenced by px_get().

#define _RNDUP x,
unit   ) 
 

Value:

((((x) + (unit) - 1) / (unit)) \
        * (unit))

Definition at line 9 of file rnd.h.

Referenced by ncx_len_NC_string(), new_NC_string(), px_get(), v1h_get_NC_string(), and v1h_put_NC_string().

#define M_RND_UNIT   (sizeof(double))
 

Definition at line 13 of file rnd.h.

#define M_RNDDOWN  )     __RNDDOWN(x, M_RND_UNIT)
 

Definition at line 15 of file rnd.h.

#define M_RNDUP  )     _RNDUP(x, M_RND_UNIT)
 

Definition at line 14 of file rnd.h.

Referenced by ncio_create(), ncio_new(), ncio_open(), new_NC_string(), new_x_NC_attr(), and new_x_NC_var().


Generated on Thu Mar 16 18:11:15 2006 for nco by  doxygen 1.4.4