Go to the documentation of this file.
42 #if OST_DOUBLE_PRECISION
53 typedef unsigned short Word;
57 #ifndef round_function
58 #define round_function
62 return floor(d+
Real(0.5));
72 return floor(d+
Real(0.5));
78 #pragma warning(disable:4251)
79 #pragma warning(disable:4275)
80 #pragma warning(disable:4244)
81 #pragma warning(disable:4231)
82 #pragma warning(disable:4305)
83 #pragma warning(disable:4351) // turn off "new behavior ... will be default initialized" warning
90 inline double log2(
double n )
93 return log(
double(n) ) / log( 2.0 );