On Fri, Oct 01, 1999 at 09:10:26PM +0100, Mathew Hendry wrote:

> > There seems to be something weird about how LAME encodes audio here when I
> > compare output from 68k and PPC versions of the program...
[snip]
> Sounds very much like a difference in FP rounding behaviour. Have you
> compared FLT_ROUNDS (defined in <float.h>) for the two compilers?

Maybe someone used the -ffast-math switch in the Makefile when compiling
the other version? This, IIRC, violates the ANSI C floating-point rounding
rules by omitting a round-to-zero instruction in float->int conversion on
some architectures.

-- 
Kalle A. Sandstr"om -- ksandstr &at& saunalahti &dot& fi
MY�K MY�K *
http paksusuoli 2x-viilto www piste sci piste fi viilto mato ksandstr
                                                    * torakan naurua

PGP signature

Reply via email to