SPUC  3.0
Namespaces | Functions
magsq.h File Reference

Templated Magnitude Squared function. More...

#include <spuc/spuc_types.h>
#include <cmath>
#include <spuc/base_type.h>
#include <spuc/magsqr.h>
Include dependency graph for magsq.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<typename T >
base_type< T >::btype SPUC::magsq (T in)
 Templated Magnitude Squared function template function that uses a class to allow template specialization. More...
 

Detailed Description

Templated Magnitude Squared function.