/* This Source Code Form is subject to the terms of the Mozilla Public *License,v.2.0.IfacopyoftheMPLwasnotdistributedwiththis
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* The functions that are to be called from outside of the .s file have the *followinginterfacesandarraysizerequirements:
*/
void conv_i32_to_d32(double *d32, unsignedint *i32, int len);
/* Converts an array of int's to an array of doubles, so that each double *correspondstoanint.lenisthenumberofitemsconverted. *Doesnotallocatetheoutputarray. *Thepointersd32andi32shouldpointtoarraysofsizeatleastlen *(doublesandunsignedints,respectively)
*/
void conv_i32_to_d16(double *d16, unsignedint *i32, int len);
/* Converts an array of int's to an array of doubles so that each element *oftheintarrayisconvertedtoapairofdoubles,thefirstone *correspondingtothelower(leastsignificant)16bitsoftheintand *thesecondonecorrespondingtotheupper(mostsignificant)16bitsof *the32-bitint.lenisthenumberofintsconverted. *Doesnotallocatetheoutputarray. *Thepointerd16shouldpointtoanarrayofdoublesofsizeatleast *2*lenandi32shouldpointanarrayofintsofsizeatleastlen
*/
void conv_i32_to_d32_and_d16(double *d32, double *d16, unsignedint *i32, int len);
/* Does the above two conversions together, it is much faster than doing *bothofthoseinsuccession
*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.