fons adriaensen wrote:

> OK, but for floats the situation could be more complex.

In libsndfile I use a 32 bit end swapper on floats and a
64 bit endswapper on doubles.

> Will either rule produce consistent results on all
> platforms ?

The above does produce consistent results across platforms
(tested on x86, ia64, ppc and mips).

Erik
-- 
+-----------------------------------------------------------+
  Erik de Castro Lopo
+-----------------------------------------------------------+
Oh my god! They killed init! You bastards!

Reply via email to