SPUC  3.0
Namespaces | Functions
misc.h File Reference

Various basic math functions, reduce,erfc,swap, quicksort. More...

#include <spuc/spuc_types.h>
#include <cmath>
#include <spuc/spuc_defines.h>
Include dependency graph for misc.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

bool SPUC::reduce (long x, long n)
 Exclusive or the bits in x together. More...
 
float_type SPUC::erfc1 (float_type x)
 Standard erfc1 function. More...
 
float_type SPUC::erf1 (float_type x)
 Standard erf1 function. More...
 
void SPUC::swap (int *a, int *b)
 Swap two integers. More...
 
void SPUC::quicksort (int *v, unsigned n)
 Quicksort routine for array of integers. More...
 

Detailed Description

Various basic math functions, reduce,erfc,swap, quicksort.

Author
Tony Kirke, Copyright(c) 2001