Displaying 2 results from an estimated 2 matches for "_vs_residue_quantize".
1999 Nov 15
1
(no subject)
...define rint(x) (floor((x)+0.5)) // is this correct?
3.)
thousands of tons things like that had become
double out[winsize/2];
to
double *out=(double *) _alloca((winsize/2)*sizeof(double));
4.)
I found different behaviour between gcc and msvc when dividing very small doubles (like 2.13e-312)
void _vs_residue_quantize(double *data,double *curve,
vorbis_info *vi,int n){
/* The following is temporary, hardwired bullshit */
int i;
for(i=0;i<n;i++){
int val=rint(data[i]/curve[i]);
if curve[i] is too small (zero?), under gcc val==-2147483648 (-INF?), under msvc val==0...
1999 Nov 15
3
vorbis under win32
...define rint(x) (floor((x)+0.5)) // is this correct?
3.)
thousands of tons things like that had become
double out[winsize/2];
to
double *out=(double *) _alloca((winsize/2)*sizeof(double));
4.)
I found different behaviour between gcc and msvc when dividing very small doubles (like 2.13e-312)
void _vs_residue_quantize(double *data,double *curve,
vorbis_info *vi,int n){
/* The following is temporary, hardwired bullshit */
int i;
for(i=0;i<n;i++){
int val=rint(data[i]/curve[i]);
if curve[i] is too small (zero?), under gcc val==-2147483648 (-INF?), under msvc val==0...