util.h File Reference
#include <complex>
#include <string>
#include "sha1.h"
Go to the source code of this file.
Define Documentation
#define fftw |
( |
name |
|
) |
fftw_ ## name |
Typedef Documentation
typedef std::complex<double> Cmplx |
typedef long double lReal |
Function Documentation
int parsedouble |
( |
char * |
str, |
|
|
double & |
res | |
|
) |
| | |
int parseint |
( |
char * |
str, |
|
|
int & |
res | |
|
) |
| | |
int parsepositivedouble |
( |
char * |
str, |
|
|
double & |
res | |
|
) |
| | |
int parsepositiveint |
( |
char * |
str, |
|
|
int & |
res | |
|
) |
| | |
std::string sha1tostring |
( |
SHA1 & |
sha1 |
) |
|
bool tol_eq |
( |
double |
a, |
|
|
double |
b | |
|
) |
| | |
tolerant comparison of two double numbers