[FFmpeg-soc] [soc]: r719 - in qcelp: README doc/TODO qcelpdec.c

Reynaldo Verdejo rverdejo at gmail.com
Sun Aug 12 17:29:03 CEST 2007


Hi Michael

On 8/12/07, Michael Niedermayer <michaelni at gmx.at> wrote:
>
> Hi
>
> be carefull with == checks and floating point variables
> this can fail in cases like
> 140.499999 != 140.5
>
> (i guess its written in the spec like that but its silly, likely the mere
> use
> of floats and doubles is silly but i dunno qcelp well enough to say for
> sure
> if it could be done easily without floats and doubles)
>
> PS: yes, if things can easily be done with fixed point variables they
> should
> instead of using floats


Thanks. Yeah, I somewhat know its unreliable/dangerous. I'll double
check.

     Reynaldo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-soc/attachments/20070812/88e06a51/attachment.htm>


More information about the FFmpeg-soc mailing list