mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user