summaryrefslogtreecommitdiff
path: root/libavutil/libm.h
Commit message (Collapse)AuthorAge
* libm: add fallbacks for various single-precision functionsMans Rullgard2012-10-23
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* configure: Check for the math function rintRonald S. Bultje2012-07-11
| | | | | | Add a fallback implementation if it doesn't exist. Signed-off-by: Martin Storsjö <martin@martin.st>
* libm: Provide fallback definitions for isnan() and isinf()Martin Storsjö2012-06-27
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* libm: provide fallback definition for cbrtf() using powf()Mans Rullgard2012-06-26
| | | | | | | | 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>
* Provide a fallback version of the libm function truncMartin Storsjö2011-04-21
| | | | | | This fixes compilation on DOS. Signed-off-by: Martin Storsjö <martin@martin.st>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Workaround for missing llrintf()Måns Rullgård2010-04-23
| | | | Originally committed as revision 22954 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 to svn://svn.ffmpeg.org/ffmpeg/trunk
* libm.h needs attributes.hMåns Rullgård2010-03-09
| | | | Originally committed as revision 22405 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move libm replacements to new header libm.hMåns Rullgård2010-03-09
ffmpeg.c uses lrintf(), which is missing on some systems. Previously it picked up the replacement via libavutil/internal.h due to HAVE_AV_CONFIG_H being erroneously defined. Moving these replacements to a separate header enables ffmpeg.c to use them without being exposed to internal interfaces. This use of a non-public header is justified by the header in question not being part of the internal interface either. It should rather be considered as part of the build system, which is shared between the libraries and the applications. This header cannot be installed since the tested conditions depend on the compiler. Originally committed as revision 22399 to svn://svn.ffmpeg.org/ffmpeg/trunk