void quantCoeffsShortInt(double * tabDouble, short int * tabInt, int nbCoeffs, unsigned int nbBitsFractionnaire){ int i; long int temp; for (i=0;i( (1<<15)-1) ) temp= (1<<15)-1; if (temp<( -(1<<15)) ) temp=-(1<<15); tabInt[i]= (short int)temp; Serial.print( tabInt[i],DEC); Serial.print(":"); Serial.println( tabInt[i],HEX); } }