Defines | Functions
core/vil/vil_round.h File Reference

Namespace with standard rounding functions. More...

#include <vxl_config.h>
#include <vil/vil_config.h>

Go to the source code of this file.

Defines

#define GCC_USE_FAST_IMPL   0
#define VC_USE_FAST_IMPL   0

Functions

int vil_round_rnd_halfinttoeven (float x)
int vil_round_rnd_halfinttoeven (double x)
int vil_round_rnd_halfintup (float x)
int vil_round_rnd_halfintup (double x)
int vil_round_rnd (float x)
int vil_round_rnd (double x)
int vil_round_floor (float x)
int vil_round_floor (double x)
int vil_round_ceil (float x)
int vil_round_ceil (double x)

Detailed Description

Namespace with standard rounding functions.

These are just copies of the vnl_math rounding functions.

Definition in file vil_round.h.


Define Documentation

#define GCC_USE_FAST_IMPL   0

Definition at line 33 of file vil_round.h.

#define VC_USE_FAST_IMPL   0

Definition at line 39 of file vil_round.h.


Function Documentation

int vil_round_ceil ( float  x) [inline]

Definition at line 371 of file vil_round.h.

int vil_round_ceil ( double  x) [inline]

Definition at line 375 of file vil_round.h.

int vil_round_floor ( float  x) [inline]

Definition at line 286 of file vil_round.h.

int vil_round_floor ( double  x) [inline]

Definition at line 290 of file vil_round.h.

int vil_round_rnd ( float  x) [inline]

Definition at line 206 of file vil_round.h.

int vil_round_rnd ( double  x) [inline]

Definition at line 207 of file vil_round.h.

int vil_round_rnd_halfinttoeven ( float  x) [inline]

Definition at line 116 of file vil_round.h.

int vil_round_rnd_halfinttoeven ( double  x) [inline]

Definition at line 133 of file vil_round.h.

int vil_round_rnd_halfintup ( float  x) [inline]

Definition at line 173 of file vil_round.h.

int vil_round_rnd_halfintup ( double  x) [inline]

Definition at line 178 of file vil_round.h.