Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

rnd.h File Reference

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 10 of file rnd.h.

Referenced by px_get().

#define _RNDUP x,
unit   
 

Value:

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

Definition at line 8 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 12 of file rnd.h.

#define M_RNDDOWN      __RNDDOWN(x, M_RND_UNIT)
 

Definition at line 14 of file rnd.h.

#define M_RNDUP      _RNDUP(x, M_RND_UNIT)
 

Definition at line 13 of file rnd.h.

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

 

Powered by Plone

This site conforms to the following standards: