Scaling and Overflow Behavior:The function ถูกจัดให้มีใช้โดยใช้ a 64-bit internal accumulator. The input ถูกแสดงใน 1.31 format การคูณกลางทางให้ a 2.62 format, The accumulator รักษา full precision ของ the intermediate multiplication results, แต่จัดให้มีเพียง a single guard bit. ไม่มีการอิ่มตัวบนการบวกกลางทาง. ถ้า the accumulator overflows, มันจะพันรอบและบิดเบือน the result. เพื่อหลีกเลี่ยง overflows อย่างสมบูรณ์, the input signal ต้องถูกปรับขนาดลงโดย log2(blockSize) bits, เนื่องจากการบวก blockSize ทั้งหมดถูกดำเนินการภายใน. สุดท้าย, the 2.62 accumulator ถูกเลื่อนไปทางขวา 31 บิตเพื่อให้ได้ a 1.31 format value.
References
arm_sqrt_q31(), blockSize, and
clip_q63_to_q31().