ape  0.5.0
Audio Programming Environment
fpoint.h
Go to the documentation of this file.
1 #ifndef CPPAPE_FPOINT_H
2 #define CPPAPE_FPOINT_H
3 
4 namespace ape
5 {
6 #ifndef __CPPAPE_PRECISION__
7 #define __CPPAPE_PRECISION__ 32
8 #endif
9 
10 #if __CPPAPE_PRECISION__ == 32
11  typedef float fpoint;
23 #elif __CPPAPE_PRECISION__ == 64
24  typedef double fpoint;
25 #elif __CPPAPE_PRECISION__ == 80
26  typedef long double fpoint;
27 #endif
28 
32  using float_t = fpoint;
33 }
34 
35 #endif
ape::float_t
fpoint float_t
Alias for fpoint
Definition: fpoint.h:32
ape::fpoint
float fpoint
A typedef for a data type supporting any floating point operation, with variable compile-time precisi...
Definition: fpoint.h:22
ape
Definition: audiofile.h:7