woden_precision_defs

A header to set the precision required internally to WODEN.

Note

I haven’t worked out how to get doxygen/sphinx to show the whole defintion here, which includes an #ifdef, so only shows the definition for float below.

A switch that sets two custom data types, user_precision_t and user_precision_complex_t to either be float or double. If the flag -DDOUBLE_PRECISION is added at compilation time, set to double, otherwise set to float

Typedefs

typedef float user_precision_t

If -DDOUBLE_PRECISION flag is NOT added a compilation, then user_precision_t defaults to float

typedef float _Complex user_precision_complex_t

If -DDOUBLE_PRECISION flag is NOT added at compilation, then user_precision_complex_t defaults to float _Complex