|
|
|
@ -51,7 +51,7 @@
|
|
|
|
@par Details
|
|
|
|
@par Details
|
|
|
|
The equation used for the conversion process is:
|
|
|
|
The equation used for the conversion process is:
|
|
|
|
<pre>
|
|
|
|
<pre>
|
|
|
|
pDst[n] = (float32_t) pSrc[n] / 2147483648; 0 <= n < blockSize.
|
|
|
|
pDst[n] = (float64_t) pSrc[n] / 2147483648; 0 <= n < blockSize.
|
|
|
|
</pre>
|
|
|
|
</pre>
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
@ -70,7 +70,7 @@ void arm_q31_to_f64(
|
|
|
|
|
|
|
|
|
|
|
|
while (blkCnt > 0U)
|
|
|
|
while (blkCnt > 0U)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
/* C = (float32_t) A / 2147483648 */
|
|
|
|
/* C = (float64_t) A / 2147483648 */
|
|
|
|
|
|
|
|
|
|
|
|
/* Convert from q31 to float and store result in destination buffer */
|
|
|
|
/* Convert from q31 to float and store result in destination buffer */
|
|
|
|
*pDst++ = ((float64_t) *pIn++ / 2147483648.0f);
|
|
|
|
*pDst++ = ((float64_t) *pIn++ / 2147483648.0f);
|
|
|
|
@ -94,7 +94,7 @@ void arm_q31_to_f64(
|
|
|
|
|
|
|
|
|
|
|
|
while (blkCnt > 0U)
|
|
|
|
while (blkCnt > 0U)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
/* C = (float32_t) A / 2147483648 */
|
|
|
|
/* C = (float64_t) A / 2147483648 */
|
|
|
|
|
|
|
|
|
|
|
|
/* Convert from q31 to float and store result in destination buffer */
|
|
|
|
/* Convert from q31 to float and store result in destination buffer */
|
|
|
|
*pDst++ = ((float64_t) *pIn++ / 2147483648.0f);
|
|
|
|
*pDst++ = ((float64_t) *pIn++ / 2147483648.0f);
|
|
|
|
|