For systems with broken libms. Tested with NAN, -NAN, INFINITY, -INFINITY, +/-x for regular double x and combinations of these.
Old versions of MSVC need some UINT64_C hackery.
062e3e2 lavu/libm: add copysign hack
configure | 2 +-
libavutil/libm.h | 9 +++++++++
2 files changed, 10 insertions(+), 1 deletion(-)