[Ffmpeg-devel] [PATCH] Redefine NAN in eval.c

Reimar Döffinger Reimar.Doeffinger
Sat Sep 23 00:04:22 CEST 2006


Hello,
On Fri, Sep 22, 2006 at 11:35:36PM +0200, Panagiotis Issaris wrote:
> The attached patch, defines NAN -if not already defined as f.e. in C99-
> to be sqrt(-1) in the scope of eval.c. Regression tests succeed.

Isn't 0.0f/0.0f used normally? That looks less ugly to me than sqrt(-1),
not to mention that I'm not sure if the latter one will work right in
all cases with -ffast-math?

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list