"Ronald S. Bultje" <[email protected]> writes: > Hi, > > On Mon, Sep 19, 2011 at 4:27 PM, Alex Converse <[email protected]> > wrote: >> On Mon, Sep 19, 2011 at 7:44 AM, Sean McGovern <[email protected]> wrote: >>> >>> >>> On Sunday, September 18, 2011, Anton Khirnov <[email protected]> wrote: >>> > From: Stefano Sabatini <[email protected]> >>> > >>> > --- >>> > doc/eval.texi | 4 ++++ >>> > libavutil/avutil.h | 2 +- >>> > libavutil/eval.c | 6 ++++++ >>> > tests/ref/fate/eval | 6 ++++++ >>> > 4 files changed, 17 insertions(+), 1 deletions(-) >>> > >> >> FFmpeg fixed this with >> http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=16a565d0cbb7e753f594236c60bbcc66657024f6 > > That's not a fix. The values are still different. A fix would be to > actually change the result of eval(sqrt(-1)) to nan if it is -nan, not > to print nan but leave the value as -nan.
That would be a sensible fix. -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
