[FFmpeg-cvslog] r21924 - in trunk: libavcodec/acelp_pitch_delay.c libavutil/mathematics.h

Måns Rullgård mans
Sat Feb 20 23:29:36 CET 2010


Daniel Serpell <daniel.serpell at gmail.com> writes:

> Hi,
>
> On Sat, Feb 20, 2010 at 5:13 PM, mru <subversion at mplayerhq.hu> wrote:
> [...]
>> --- trunk/libavutil/mathematics.h ? ? ? Sat Feb 20 19:28:11 2010 ? ? ? ?(r21923)
>> +++ trunk/libavutil/mathematics.h ? ? ? Sat Feb 20 21:13:48 2010 ? ? ? ?(r21924)
>> @@ -35,6 +35,9 @@
>> ?#ifndef M_LN10
>> ?#define M_LN10 ? ? ? ? 2.30258509299404568402 ?/* log_e 10 */
>> ?#endif
>> +#ifndef M_LOG2_10
>> +#define M_LOG2_10 ? ? ?3.32192809488736218171 ?/* log_2 10 */
>> +#endif
>
> Here, log_2(10) is: 3.3219280948873623478703194294893...., I know that rounded
> to 54 bits of precision is 3.3219280948873621817085677..., but I think
> that the correct
> decimal number should be in the header.

That's what you get for trusting printf...

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-cvslog mailing list