SPUC  3.0
Namespaces | Functions
round.h File Reference

Templated round function. More...

#include <spuc/spuc_types.h>
#include <cmath>
#include <spuc/rounder.h>
Include dependency graph for round.h:
This graph shows which files directly or indirectly include this file:

Namespaces

 SPUC
 fixed point types: spuc_fixed,spuc_ufixed,spuc_int,spuc_uint
 

Functions

template<class T >
SPUC::round (T in, long bits)
 Templated round function template function that uses a class to allow template specialization. More...
 

Detailed Description

Templated round function.