> From: "Mark Taylor" <[EMAIL PROTECTED]>
>
> > >>> XRPOW_FTOI(x, rx);
> > >>should be
> > >>> XRPOW_FTOI(x-.5, rx);
> > >>?
> > No, it is right.
> > But Acy missed to fix adj43asm initialization.
> >
> > details are in my old mail on this ML.
>
> ok, fixed. But does the MSVC asm code want the new adj43asm[], or
> the old adj43asm[]?
The new one. Here's the full set
/* for other than gcc/i383 and MSVC */
for (i = 0; i < PRECALC_SIZE - 1; i++)
adj43[i] = (i + 1) - pow(0.5 * (pow43[i] + pow43[i + 1]), 0.75);
adj43[i] = 0.5;
/* for gcc/i386 and MSVC */
adj43asm[0] = 0.0;
for (i = 1; i < PRECALC_SIZE; i++)
adj43asm[i] = i - 0.5 - pow(0.5 * (pow43[i - 1] + pow43[i]), 0.75);
-- Mat.
--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )