#ifndef _AVUTIL_LIBM_H_50576d59_ #define _AVUTIL_LIBM_H_50576d59_ /* * This file was stolen from ffmpeg and modified for usability here. * The original does not have a "copyright by" line. * * This version is a derivative work of that version. It is not free * software; it is licensed under the GNU Lesser General Public * License version 2.1, which places nontrivial restrictions on what * may be done with it. (I'm not terribly happy about that, but for * my purposes accepting LGPL-infected code is a lower price than * reimplementing it all myself.) * * The LGPL v2.1 as distributed with ffmpeg is in the accompanying file * `LGPL-v2.1'. */ #undef exp2 #define exp2(x) exp((x) * 0.693147180559945) #undef exp2f #define exp2f(x) expf((x) * 0.693147180559945f) #endif