OSDN Git Service

libm: provide fallback definition for cbrtf() using powf()
authorMans Rullgard <mans@mansr.com>
Fri, 22 Jun 2012 14:37:46 +0000 (15:37 +0100)
committerMans Rullgard <mans@mansr.com>
Tue, 26 Jun 2012 14:56:38 +0000 (15:56 +0100)
commit153335625c429d2e4ab6a4d2d704d7eb91293290
tree3bd83196a58c2397edd517709e8918ccdb3e731a
parent4b1b1449d95b3567d055fc410a1db137c811229c
libm: provide fallback definition for cbrtf() using powf()

This adds a fallback for cbrtf() using powf(x, 1/3).  Since
powf() with a non-integer exponent requires a non-negative
base, special handling of negative inputs is needed.

Signed-off-by: Mans Rullgard <mans@mansr.com>
configure
libavutil/libm.h