33 #ifndef FLAC__PRIVATE__FLOAT_H 34 #define FLAC__PRIVATE__FLOAT_H 40 #include "../../../ordinals.h" 51 #ifndef FLAC__INTEGER_ONLY_LIBRARY 65 extern const FLAC__fixedpoint FLAC__FP_ZERO;
66 extern const FLAC__fixedpoint FLAC__FP_ONE_HALF;
67 extern const FLAC__fixedpoint FLAC__FP_ONE;
68 extern const FLAC__fixedpoint FLAC__FP_LN2;
69 extern const FLAC__fixedpoint FLAC__FP_E;
71 #define FLAC__fixedpoint_trunc(x) ((x)>>16) 73 #define FLAC__fixedpoint_mul(x, y) ( (FLAC__fixedpoint) ( ((FLAC__int64)(x)*(FLAC__int64)(y)) >> 16 ) ) 75 #define FLAC__fixedpoint_div(x, y) ( (FLAC__fixedpoint) ( ( ((FLAC__int64)(x)<<32) / (FLAC__int64)(y) ) >> 16 ) ) uint32_t FLAC__uint32
Definition: ordinals.h:65
float FLAC__real
Definition: float.h:58
float FLAC__float
Definition: float.h:53
double FLAC__double
Definition: float.h:52
int32_t FLAC__int32
Definition: ordinals.h:62