svn path=/trunk/vorbis/; revision=3156
********************************************************************
function: #ifdef jail to whip a few platforms into the UNIX ideal.
- last mod: $Id: os.h,v 1.28 2001/12/19 01:08:14 xiphmont Exp $
+ last mod: $Id: os.h,v 1.29 2002/03/18 03:30:23 segher Exp $
********************************************************************/
#ifdef HAVE_RINTF
# define rint rintf
#endif
+#ifdef HAVE_FLOORF
+# define floor floorf
+#endif
#ifndef FAST_HYPOT
# define FAST_HYPOT hypot
********************************************************************
function: psychoacoustics not including preecho
- last mod: $Id: psy.c,v 1.65 2002/03/17 19:50:47 xiphmont Exp $
+ last mod: $Id: psy.c,v 1.66 2002/03/18 03:30:23 segher Exp $
********************************************************************/
}
corr=origmag/FAST_HYPOT(fA,fB);
- *mag=unitnorm(*mag)*floorf(corr*igranule+.5f)*granule;
+ *mag=unitnorm(*mag)*floor(corr*igranule+.5f)*granule;
*ang=0.f;
}else{