4 #define SHORT_LENGTH 65536
5 #define SCALE_FLOAT ((SHORT_LENGTH-1) * 0.5)
6 #define SHIFT_FLOAT (-1.f / (SHORT_LENGTH-1))
8 template <
typename Float>
15 template <
typename Float>
FloatingPoint< float > Float
short FloatToShort(Float a)
Float shortToFloat(short a)