lavu/libm: add copysign hack
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>
Fri, 18 Dec 2015 19:13:11 +0000 (11:13 -0800)
committerGanesh Ajjanagadde <gajjanagadde@gmail.com>
Sat, 19 Dec 2015 22:05:49 +0000 (14:05 -0800)
commit062e3e23824ba3d25594ea966d7834bcf34db49b
tree61e249e460dc6811457ef0c98201bb1828ed4ee3
parent0f520e489a659d9ea0fa7467aca3bf85cc006ef7
lavu/libm: add copysign hack

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.

Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
configure
libavutil/libm.h