On Tue, Feb 8, 2011 at 12:02 AM, Dmitry Timoshkov dmitry@codeweavers.com wrote:
Misha Koshelev misha680@gmail.com wrote:
+static inline unsigned short float_32_to_16(const float *in)
+static inline float float_16_to_32(const unsigned short *in) {
Is there a reason that you pass a pointer to the helper instead of a value? Also placing a brace on its own line would follow the style of other functions.
-- Dmitry.
Fair enough. The latter is a Java-ism.
How about this one?
Thanks Misha