24 #ifndef __SHORT_FLOAT_H__
25 #define __SHORT_FLOAT_H__
51 static inline short_float shortFromFloat(
const float external_ff) {
56 c.as_float = external_ff;
57 return basetable[(c.as_uint32>>23)&0x1ff]+((c.as_uint32&0x007fffff)>>
shifttable[(c.as_uint32>>23)&0x1ff]);
60 static inline float floatFromShort(
const short_float h) {
69 #define SHORT_FLOAT_MACHINE_EPS 0.0009765625