Macros | Functions
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.

Macros

#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.

Macro Definition Documentation

◆ GCC_USE_FAST_IMPL

#define GCC_USE_FAST_IMPL   0

Definition at line 29 of file vil_round.h.

◆ VC_USE_FAST_IMPL

#define VC_USE_FAST_IMPL   0

Definition at line 35 of file vil_round.h.

Function Documentation

◆ vil_round_ceil() [1/2]

int vil_round_ceil ( float  x)
inline

Definition at line 367 of file vil_round.h.

◆ vil_round_ceil() [2/2]

int vil_round_ceil ( double  x)
inline

Definition at line 371 of file vil_round.h.

◆ vil_round_floor() [1/2]

int vil_round_floor ( float  x)
inline

Definition at line 282 of file vil_round.h.

◆ vil_round_floor() [2/2]

int vil_round_floor ( double  x)
inline

Definition at line 286 of file vil_round.h.

◆ vil_round_rnd() [1/2]

int vil_round_rnd ( float  x)
inline

Definition at line 202 of file vil_round.h.

◆ vil_round_rnd() [2/2]

int vil_round_rnd ( double  x)
inline

Definition at line 203 of file vil_round.h.

◆ vil_round_rnd_halfinttoeven() [1/2]

int vil_round_rnd_halfinttoeven ( float  x)
inline

Definition at line 112 of file vil_round.h.

◆ vil_round_rnd_halfinttoeven() [2/2]

int vil_round_rnd_halfinttoeven ( double  x)
inline

Definition at line 129 of file vil_round.h.

◆ vil_round_rnd_halfintup() [1/2]

int vil_round_rnd_halfintup ( float  x)
inline

Definition at line 169 of file vil_round.h.

◆ vil_round_rnd_halfintup() [2/2]

int vil_round_rnd_halfintup ( double  x)
inline

Definition at line 174 of file vil_round.h.