update to snapshot spandsp-20090129

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11548 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris
2009-01-29 04:00:33 +00:00
parent 88ecf6d17f
commit c3facf7d57
18 changed files with 65 additions and 44 deletions

View File

@@ -25,7 +25,7 @@
* License along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Id: floating_fudge.h,v 1.5 2008/08/03 03:44:00 steveu Exp $
* $Id: floating_fudge.h,v 1.6 2009/01/29 01:41:05 steveu Exp $
*/
#if !defined(_FLOATING_FUDGE_H_)
@@ -354,6 +354,23 @@ static __inline__ float log10f(float x)
return i;
}
__inline float rintf(float flt)
{
_asm
{ fld flt
frndint
}
}
__inline double rint(double dbl)
{
__asm
{
fld dbl
frndint
}
}
__inline long int lfastrint(double x)
{
long int i;