7 #ifndef __IQMATHLIB_H__ 8 #define __IQMATHLIB_H__ 41 #ifndef DOXYGEN_SHOULD_SKIP_THIS 81 #define MAX_IQ_POS LONG_MAX 82 #define MAX_IQ_NEG LONG_MIN 91 typedef int32_t _iq30;
92 typedef int32_t _iq29;
93 typedef int32_t _iq28;
94 typedef int32_t _iq27;
95 typedef int32_t _iq26;
96 typedef int32_t _iq25;
97 typedef int32_t _iq24;
98 typedef int32_t _iq23;
99 typedef int32_t _iq22;
100 typedef int32_t _iq21;
101 typedef int32_t _iq20;
102 typedef int32_t _iq19;
103 typedef int32_t _iq18;
104 typedef int32_t _iq17;
105 typedef int32_t _iq16;
106 typedef int32_t _iq15;
107 typedef int32_t _iq14;
108 typedef int32_t _iq13;
109 typedef int32_t _iq12;
110 typedef int32_t _iq11;
111 typedef int32_t _iq10;
112 typedef int32_t _iq9;
113 typedef int32_t _iq8;
114 typedef int32_t _iq7;
115 typedef int32_t _iq6;
116 typedef int32_t _iq5;
117 typedef int32_t _iq4;
118 typedef int32_t _iq3;
119 typedef int32_t _iq2;
120 typedef int32_t _iq1;
138 #define _IQmpy2(A) ((A) << 1) 146 #define _IQmpy4(A) ((A) << 2) 154 #define _IQmpy8(A) ((A) << 3) 162 #define _IQmpy16(A) ((A) << 4) 170 #define _IQmpy32(A) ((A) << 5) 178 #define _IQmpy64(A) ((A) << 6) 186 #define _IQdiv2(A) ((A) >> 1) 194 #define _IQdiv4(A) ((A) >> 2) 202 #define _IQdiv8(A) ((A) >> 3) 210 #define _IQdiv16(A) ((A) >> 4) 218 #define _IQdiv32(A) ((A) >> 5) 226 #define _IQdiv64(A) ((A) >> 6) 240 #define _IQ30(A) ((_iq30)((A) * ((_iq30)1 << 30))) 248 #define _IQ29(A) ((_iq29)((A) * ((_iq29)1 << 29))) 256 #define _IQ28(A) ((_iq28)((A) * ((_iq28)1 << 28))) 264 #define _IQ27(A) ((_iq27)((A) * ((_iq27)1 << 27))) 272 #define _IQ26(A) ((_iq26)((A) * ((_iq26)1 << 26))) 280 #define _IQ25(A) ((_iq25)((A) * ((_iq25)1 << 25))) 288 #define _IQ24(A) ((_iq24)((A) * ((_iq24)1 << 24))) 296 #define _IQ23(A) ((_iq23)((A) * ((_iq23)1 << 23))) 304 #define _IQ22(A) ((_iq22)((A) * ((_iq22)1 << 22))) 312 #define _IQ21(A) ((_iq21)((A) * ((_iq21)1 << 21))) 320 #define _IQ20(A) ((_iq20)((A) * ((_iq20)1 << 20))) 328 #define _IQ19(A) ((_iq19)((A) * ((_iq19)1 << 19))) 336 #define _IQ18(A) ((_iq18)((A) * ((_iq18)1 << 18))) 344 #define _IQ17(A) ((_iq17)((A) * ((_iq17)1 << 17))) 352 #define _IQ16(A) ((_iq16)((A) * ((_iq16)1 << 16))) 360 #define _IQ15(A) ((_iq15)((A) * ((_iq15)1 << 15))) 368 #define _IQ14(A) ((_iq14)((A) * ((_iq14)1 << 14))) 376 #define _IQ13(A) ((_iq13)((A) * ((_iq13)1 << 13))) 384 #define _IQ12(A) ((_iq12)((A) * ((_iq12)1 << 12))) 392 #define _IQ11(A) ((_iq11)((A) * ((_iq11)1 << 11))) 400 #define _IQ10(A) ((_iq10)((A) * ((_iq10)1 << 10))) 408 #define _IQ9(A) ((_iq9)((A) * ((_iq9)1 << 9))) 416 #define _IQ8(A) ((_iq8)((A) * ((_iq8)1 << 8))) 424 #define _IQ7(A) ((_iq7)((A) * ((_iq7)1 << 7))) 432 #define _IQ6(A) ((_iq6)((A) * ((_iq6)1 << 6))) 440 #define _IQ5(A) ((_iq5)((A) * ((_iq5)1 << 5))) 448 #define _IQ4(A) ((_iq4)((A) * ((_iq4)1 << 4))) 456 #define _IQ3(A) ((_iq3)((A) * ((_iq3)1 << 3))) 464 #define _IQ2(A) ((_iq2)((A) * ((_iq2)1 << 2))) 472 #define _IQ1(A) ((_iq1)((A) * ((_iq1)1 << 1))) 482 #define _IQ(A) _IQ30(A) 485 #define _IQ(A) _IQ29(A) 488 #define _IQ(A) _IQ28(A) 491 #define _IQ(A) _IQ27(A) 494 #define _IQ(A) _IQ26(A) 497 #define _IQ(A) _IQ25(A) 500 #define _IQ(A) _IQ24(A) 503 #define _IQ(A) _IQ23(A) 506 #define _IQ(A) _IQ22(A) 509 #define _IQ(A) _IQ21(A) 512 #define _IQ(A) _IQ20(A) 515 #define _IQ(A) _IQ19(A) 518 #define _IQ(A) _IQ18(A) 521 #define _IQ(A) _IQ17(A) 524 #define _IQ(A) _IQ16(A) 527 #define _IQ(A) _IQ15(A) 530 #define _IQ(A) _IQ14(A) 533 #define _IQ(A) _IQ13(A) 536 #define _IQ(A) _IQ12(A) 539 #define _IQ(A) _IQ11(A) 542 #define _IQ(A) _IQ10(A) 545 #define _IQ(A) _IQ9(A) 548 #define _IQ(A) _IQ8(A) 551 #define _IQ(A) _IQ7(A) 554 #define _IQ(A) _IQ6(A) 557 #define _IQ(A) _IQ5(A) 560 #define _IQ(A) _IQ4(A) 563 #define _IQ(A) _IQ3(A) 566 #define _IQ(A) _IQ2(A) 569 #define _IQ(A) _IQ1(A) 577 #ifndef DOXYGEN_SHOULD_SKIP_THIS 618 #define _IQtoF(A) _IQ30toF(A) 621 #define _IQtoF(A) _IQ29toF(A) 624 #define _IQtoF(A) _IQ28toF(A) 627 #define _IQtoF(A) _IQ27toF(A) 630 #define _IQtoF(A) _IQ26toF(A) 633 #define _IQtoF(A) _IQ25toF(A) 636 #define _IQtoF(A) _IQ24toF(A) 639 #define _IQtoF(A) _IQ23toF(A) 642 #define _IQtoF(A) _IQ22toF(A) 645 #define _IQtoF(A) _IQ21toF(A) 648 #define _IQtoF(A) _IQ20toF(A) 651 #define _IQtoF(A) _IQ19toF(A) 654 #define _IQtoF(A) _IQ18toF(A) 657 #define _IQtoF(A) _IQ17toF(A) 660 #define _IQtoF(A) _IQ16toF(A) 663 #define _IQtoF(A) _IQ15toF(A) 666 #define _IQtoF(A) _IQ14toF(A) 669 #define _IQtoF(A) _IQ13toF(A) 672 #define _IQtoF(A) _IQ12toF(A) 675 #define _IQtoF(A) _IQ11toF(A) 678 #define _IQtoF(A) _IQ10toF(A) 681 #define _IQtoF(A) _IQ9toF(A) 684 #define _IQtoF(A) _IQ8toF(A) 687 #define _IQtoF(A) _IQ7toF(A) 690 #define _IQtoF(A) _IQ6toF(A) 693 #define _IQtoF(A) _IQ5toF(A) 696 #define _IQtoF(A) _IQ4toF(A) 699 #define _IQtoF(A) _IQ3toF(A) 702 #define _IQtoF(A) _IQ2toF(A) 705 #define _IQtoF(A) _IQ1toF(A) 722 #define _IQsat(A, Pos, Neg) (((A) > (Pos)) ? \ 724 (((A) < (Neg)) ? (Neg) : (A))) 726 #ifndef DOXYGEN_SHOULD_SKIP_THIS 733 #define _IQtoIQ30(A) ((_iq30)(A) << (30 - GLOBAL_IQ)) 734 #define _IQ30toIQ(A) ((_iq30)(A) >> (30 - GLOBAL_IQ)) 736 #if (GLOBAL_IQ >= 29) 737 #define _IQtoIQ29(A) ((_iq29)(A) >> (GLOBAL_IQ - 29)) 738 #define _IQ29toIQ(A) ((_iq29)(A) << (GLOBAL_IQ - 29)) 740 #define _IQtoIQ29(A) ((_iq29)(A) << (29 - GLOBAL_IQ)) 741 #define _IQ29toIQ(A) ((_iq29)(A) >> (29 - GLOBAL_IQ)) 744 #if (GLOBAL_IQ >= 28) 745 #define _IQtoIQ28(A) ((_iq28)(A) >> (GLOBAL_IQ - 28)) 746 #define _IQ28toIQ(A) ((_iq28)(A) << (GLOBAL_IQ - 28)) 748 #define _IQtoIQ28(A) ((_iq28)(A) << (28 - GLOBAL_IQ)) 749 #define _IQ28toIQ(A) ((_iq28)(A) >> (28 - GLOBAL_IQ)) 752 #if (GLOBAL_IQ >= 27) 753 #define _IQtoIQ27(A) ((_iq27)(A) >> (GLOBAL_IQ - 27)) 754 #define _IQ27toIQ(A) ((_iq27)(A) << (GLOBAL_IQ - 27)) 756 #define _IQtoIQ27(A) ((_iq27)(A) << (27 - GLOBAL_IQ)) 757 #define _IQ27toIQ(A) ((_iq27)(A) >> (27 - GLOBAL_IQ)) 760 #if (GLOBAL_IQ >= 26) 761 #define _IQtoIQ26(A) ((_iq26)(A) >> (GLOBAL_IQ - 26)) 762 #define _IQ26toIQ(A) ((_iq26)(A) << (GLOBAL_IQ - 26)) 764 #define _IQtoIQ26(A) ((_iq26)(A) << (26 - GLOBAL_IQ)) 765 #define _IQ26toIQ(A) ((_iq26)(A) >> (26 - GLOBAL_IQ)) 768 #if (GLOBAL_IQ >= 25) 769 #define _IQtoIQ25(A) ((_iq25)(A) >> (GLOBAL_IQ - 25)) 770 #define _IQ25toIQ(A) ((_iq25)(A) << (GLOBAL_IQ - 25)) 772 #define _IQtoIQ25(A) ((_iq25)(A) << (25 - GLOBAL_IQ)) 773 #define _IQ25toIQ(A) ((_iq25)(A) >> (25 - GLOBAL_IQ)) 776 #if (GLOBAL_IQ >= 24) 777 #define _IQtoIQ24(A) ((_iq24)(A) >> (GLOBAL_IQ - 24)) 778 #define _IQ24toIQ(A) ((_iq24)(A) << (GLOBAL_IQ - 24)) 780 #define _IQtoIQ24(A) ((_iq24)(A) << (24 - GLOBAL_IQ)) 781 #define _IQ24toIQ(A) ((_iq24)(A) >> (24 - GLOBAL_IQ)) 784 #if (GLOBAL_IQ >= 23) 785 #define _IQtoIQ23(A) ((_iq23)(A) >> (GLOBAL_IQ - 23)) 786 #define _IQ23toIQ(A) ((_iq23)(A) << (GLOBAL_IQ - 23)) 788 #define _IQtoIQ23(A) ((_iq23)(A) << (23 - GLOBAL_IQ)) 789 #define _IQ23toIQ(A) ((_iq23)(A) >> (23 - GLOBAL_IQ)) 792 #if (GLOBAL_IQ >= 22) 793 #define _IQtoIQ22(A) ((_iq22)(A) >> (GLOBAL_IQ - 22)) 794 #define _IQ22toIQ(A) ((_iq22)(A) << (GLOBAL_IQ - 22)) 796 #define _IQtoIQ22(A) ((_iq22)(A) << (22 - GLOBAL_IQ)) 797 #define _IQ22toIQ(A) ((_iq22)(A) >> (22 - GLOBAL_IQ)) 800 #if (GLOBAL_IQ >= 21) 801 #define _IQtoIQ21(A) ((_iq21)(A) >> (GLOBAL_IQ - 21)) 802 #define _IQ21toIQ(A) ((_iq21)(A) << (GLOBAL_IQ - 21)) 804 #define _IQtoIQ21(A) ((_iq21)(A) << (21 - GLOBAL_IQ)) 805 #define _IQ21toIQ(A) ((_iq21)(A) >> (21 - GLOBAL_IQ)) 808 #if (GLOBAL_IQ >= 20) 809 #define _IQtoIQ20(A) ((_iq20)(A) >> (GLOBAL_IQ - 20)) 810 #define _IQ20toIQ(A) ((_iq20)(A) << (GLOBAL_IQ - 20)) 812 #define _IQtoIQ20(A) ((_iq20)(A) << (20 - GLOBAL_IQ)) 813 #define _IQ20toIQ(A) ((_iq20)(A) >> (20 - GLOBAL_IQ)) 816 #if (GLOBAL_IQ >= 19) 817 #define _IQtoIQ19(A) ((_iq19)(A) >> (GLOBAL_IQ - 19)) 818 #define _IQ19toIQ(A) ((_iq19)(A) << (GLOBAL_IQ - 19)) 820 #define _IQtoIQ19(A) ((_iq19)(A) << (19 - GLOBAL_IQ)) 821 #define _IQ19toIQ(A) ((_iq19)(A) >> (19 - GLOBAL_IQ)) 824 #if (GLOBAL_IQ >= 18) 825 #define _IQtoIQ18(A) ((_iq18)(A) >> (GLOBAL_IQ - 18)) 826 #define _IQ18toIQ(A) ((_iq18)(A) << (GLOBAL_IQ - 18)) 828 #define _IQtoIQ18(A) ((_iq18)(A) << (18 - GLOBAL_IQ)) 829 #define _IQ18toIQ(A) ((_iq18)(A) >> (18 - GLOBAL_IQ)) 832 #if (GLOBAL_IQ >= 17) 833 #define _IQtoIQ17(A) ((_iq17)(A) >> (GLOBAL_IQ - 17)) 834 #define _IQ17toIQ(A) ((_iq17)(A) << (GLOBAL_IQ - 17)) 836 #define _IQtoIQ17(A) ((_iq17)(A) << (17 - GLOBAL_IQ)) 837 #define _IQ17toIQ(A) ((_iq17)(A) >> (17 - GLOBAL_IQ)) 840 #if (GLOBAL_IQ >= 16) 841 #define _IQtoIQ16(A) ((_iq16)(A) >> (GLOBAL_IQ - 16)) 842 #define _IQ16toIQ(A) ((_iq16)(A) << (GLOBAL_IQ - 16)) 844 #define _IQtoIQ16(A) ((_iq16)(A) << (16 - GLOBAL_IQ)) 845 #define _IQ16toIQ(A) ((_iq16)(A) >> (16 - GLOBAL_IQ)) 848 #if (GLOBAL_IQ >= 15) 849 #define _IQtoIQ15(A) ((_iq15)(A) >> (GLOBAL_IQ - 15)) 850 #define _IQ15toIQ(A) ((_iq15)(A) << (GLOBAL_IQ - 15)) 852 #define _IQtoIQ15(A) ((_iq15)(A) << (15 - GLOBAL_IQ)) 853 #define _IQ15toIQ(A) ((_iq15)(A) >> (15 - GLOBAL_IQ)) 856 #if (GLOBAL_IQ >= 14) 857 #define _IQtoIQ14(A) ((_iq14)(A) >> (GLOBAL_IQ - 14)) 858 #define _IQ14toIQ(A) ((_iq14)(A) << (GLOBAL_IQ - 14)) 860 #define _IQtoIQ14(A) ((_iq14)(A) << (14 - GLOBAL_IQ)) 861 #define _IQ14toIQ(A) ((_iq14)(A) >> (14 - GLOBAL_IQ)) 864 #if (GLOBAL_IQ >= 13) 865 #define _IQtoIQ13(A) ((_iq13)(A) >> (GLOBAL_IQ - 13)) 866 #define _IQ13toIQ(A) ((_iq13)(A) << (GLOBAL_IQ - 13)) 868 #define _IQtoIQ13(A) ((_iq13)(A) << (13 - GLOBAL_IQ)) 869 #define _IQ13toIQ(A) ((_iq13)(A) >> (13 - GLOBAL_IQ)) 872 #if (GLOBAL_IQ >= 12) 873 #define _IQtoIQ12(A) ((_iq12)(A) >> (GLOBAL_IQ - 12)) 874 #define _IQ12toIQ(A) ((_iq12)(A) << (GLOBAL_IQ - 12)) 876 #define _IQtoIQ12(A) ((_iq12)(A) << (12 - GLOBAL_IQ)) 877 #define _IQ12toIQ(A) ((_iq12)(A) >> (12 - GLOBAL_IQ)) 880 #if (GLOBAL_IQ >= 11) 881 #define _IQtoIQ11(A) ((_iq11)(A) >> (GLOBAL_IQ - 11)) 882 #define _IQ11toIQ(A) ((_iq11)(A) << (GLOBAL_IQ - 11)) 884 #define _IQtoIQ11(A) ((_iq11)(A) << (11 - GLOBAL_IQ)) 885 #define _IQ11toIQ(A) ((_iq11)(A) >> (11 - GLOBAL_IQ)) 888 #if (GLOBAL_IQ >= 10) 889 #define _IQtoIQ10(A) ((_iq10)(A) >> (GLOBAL_IQ - 10)) 890 #define _IQ10toIQ(A) ((_iq10)(A) << (GLOBAL_IQ - 10)) 892 #define _IQtoIQ10(A) ((_iq10)(A) << (10 - GLOBAL_IQ)) 893 #define _IQ10toIQ(A) ((_iq10)(A) >> (10 - GLOBAL_IQ)) 897 #define _IQtoIQ9(A) ((_iq9)(A) >> (GLOBAL_IQ - 9)) 898 #define _IQ9toIQ(A) ((_iq9)(A) << (GLOBAL_IQ - 9)) 900 #define _IQtoIQ9(A) ((_iq9)(A) << (9 - GLOBAL_IQ)) 901 #define _IQ9toIQ(A) ((_iq9)(A) >> (9 - GLOBAL_IQ)) 905 #define _IQtoIQ8(A) ((_iq8)(A) >> (GLOBAL_IQ - 8)) 906 #define _IQ8toIQ(A) ((_iq8)(A) << (GLOBAL_IQ - 8)) 908 #define _IQtoIQ8(A) ((_iq8)(A) << (8 - GLOBAL_IQ)) 909 #define _IQ8toIQ(A) ((_iq8)(A) >> (8 - GLOBAL_IQ)) 913 #define _IQtoIQ7(A) ((_iq7)(A) >> (GLOBAL_IQ - 7)) 914 #define _IQ7toIQ(A) ((_iq7)(A) << (GLOBAL_IQ - 7)) 916 #define _IQtoIQ7(A) ((_iq7)(A) << (7 - GLOBAL_IQ)) 917 #define _IQ7toIQ(A) ((_iq7)(A) >> (7 - GLOBAL_IQ)) 921 #define _IQtoIQ6(A) ((_iq6)(A) >> (GLOBAL_IQ - 6)) 922 #define _IQ6toIQ(A) ((_iq6)(A) << (GLOBAL_IQ - 6)) 924 #define _IQtoIQ6(A) ((_iq6)(A) << (6 - GLOBAL_IQ)) 925 #define _IQ6toIQ(A) ((_iq6)(A) >> (6 - GLOBAL_IQ)) 929 #define _IQtoIQ5(A) ((_iq5)(A) >> (GLOBAL_IQ - 5)) 930 #define _IQ5toIQ(A) ((_iq5)(A) << (GLOBAL_IQ - 5)) 932 #define _IQtoIQ5(A) ((_iq5)(A) << (5 - GLOBAL_IQ)) 933 #define _IQ5toIQ(A) ((_iq5)(A) >> (5 - GLOBAL_IQ)) 937 #define _IQtoIQ4(A) ((_iq4)(A) >> (GLOBAL_IQ - 4)) 938 #define _IQ4toIQ(A) ((_iq4)(A) << (GLOBAL_IQ - 4)) 940 #define _IQtoIQ4(A) ((_iq4)(A) << (4 - GLOBAL_IQ)) 941 #define _IQ4toIQ(A) ((_iq4)(A) >> (4 - GLOBAL_IQ)) 945 #define _IQtoIQ3(A) ((_iq3)(A) >> (GLOBAL_IQ - 3)) 946 #define _IQ3toIQ(A) ((_iq3)(A) << (GLOBAL_IQ - 3)) 948 #define _IQtoIQ3(A) ((_iq3)(A) << (3 - GLOBAL_IQ)) 949 #define _IQ3toIQ(A) ((_iq3)(A) >> (3 - GLOBAL_IQ)) 953 #define _IQtoIQ2(A) ((_iq2)(A) >> (GLOBAL_IQ - 2)) 954 #define _IQ2toIQ(A) ((_iq2)(A) << (GLOBAL_IQ - 2)) 956 #define _IQtoIQ2(A) ((_iq2)(A) << (2 - GLOBAL_IQ)) 957 #define _IQ2toIQ(A) ((_iq2)(A) >> (2 - GLOBAL_IQ)) 960 #define _IQtoIQ1(A) ((_iq1)(A) >> (GLOBAL_IQ - 1)) 961 #define _IQ1toIQ(A) ((_iq1)(A) << (GLOBAL_IQ - 1)) 964 #ifndef DOXYGEN_SHOULD_SKIP_THIS 982 #define _IQ1toIQ30(A) ((_iq30)(A) << (29)) 983 #define _IQ1toIQ29(A) ((_iq29)(A) << (28)) 984 #define _IQ1toIQ28(A) ((_iq28)(A) << (27)) 985 #define _IQ1toIQ27(A) ((_iq27)(A) << (26)) 986 #define _IQ1toIQ26(A) ((_iq26)(A) << (25)) 987 #define _IQ1toIQ25(A) ((_iq25)(A) << (24)) 988 #define _IQ1toIQ24(A) ((_iq24)(A) << (23)) 989 #define _IQ1toIQ23(A) ((_iq23)(A) << (22)) 990 #define _IQ1toIQ22(A) ((_iq22)(A) << (21)) 991 #define _IQ1toIQ21(A) ((_iq21)(A) << (20)) 992 #define _IQ1toIQ20(A) ((_iq20)(A) << (19)) 993 #define _IQ1toIQ19(A) ((_iq19)(A) << (18)) 994 #define _IQ1toIQ18(A) ((_iq18)(A) << (17)) 995 #define _IQ1toIQ17(A) ((_iq17)(A) << (16)) 996 #define _IQ1toIQ16(A) ((_iq16)(A) << (15)) 997 #define _IQ1toIQ15(A) ((_iq15)(A) << (14)) 998 #define _IQ1toIQ14(A) ((_iq14)(A) << (13)) 999 #define _IQ1toIQ13(A) ((_iq13)(A) << (12)) 1000 #define _IQ1toIQ12(A) ((_iq12)(A) << (11)) 1001 #define _IQ1toIQ11(A) ((_iq11)(A) << (10)) 1002 #define _IQ1toIQ10(A) ((_iq10)(A) << (9)) 1003 #define _IQ1toIQ9(A) ((_iq9 )(A) << (8)) 1004 #define _IQ1toIQ8(A) ((_iq8 )(A) << (7)) 1005 #define _IQ1toIQ7(A) ((_iq7 )(A) << (6)) 1006 #define _IQ1toIQ6(A) ((_iq6 )(A) << (5)) 1007 #define _IQ1toIQ5(A) ((_iq5 )(A) << (4)) 1008 #define _IQ1toIQ4(A) ((_iq4 )(A) << (3)) 1009 #define _IQ1toIQ3(A) ((_iq3 )(A) << (2)) 1010 #define _IQ1toIQ2(A) ((_iq2 )(A) << (1)) 1013 #define _IQ2toIQ30(A) ((_iq30)(A) << (28)) 1014 #define _IQ2toIQ29(A) ((_iq29)(A) << (27)) 1015 #define _IQ2toIQ28(A) ((_iq28)(A) << (26)) 1016 #define _IQ2toIQ27(A) ((_iq27)(A) << (25)) 1017 #define _IQ2toIQ26(A) ((_iq26)(A) << (24)) 1018 #define _IQ2toIQ25(A) ((_iq25)(A) << (23)) 1019 #define _IQ2toIQ24(A) ((_iq24)(A) << (22)) 1020 #define _IQ2toIQ23(A) ((_iq23)(A) << (21)) 1021 #define _IQ2toIQ22(A) ((_iq22)(A) << (20)) 1022 #define _IQ2toIQ21(A) ((_iq21)(A) << (19)) 1023 #define _IQ2toIQ20(A) ((_iq20)(A) << (18)) 1024 #define _IQ2toIQ19(A) ((_iq19)(A) << (17)) 1025 #define _IQ2toIQ18(A) ((_iq18)(A) << (16)) 1026 #define _IQ2toIQ17(A) ((_iq17)(A) << (15)) 1027 #define _IQ2toIQ16(A) ((_iq16)(A) << (14)) 1028 #define _IQ2toIQ15(A) ((_iq15)(A) << (13)) 1029 #define _IQ2toIQ14(A) ((_iq14)(A) << (12)) 1030 #define _IQ2toIQ13(A) ((_iq13)(A) << (11)) 1031 #define _IQ2toIQ12(A) ((_iq12)(A) << (10)) 1032 #define _IQ2toIQ11(A) ((_iq11)(A) << (9)) 1033 #define _IQ2toIQ10(A) ((_iq10)(A) << (8)) 1034 #define _IQ2toIQ9(A) ((_iq9 )(A) << (7)) 1035 #define _IQ2toIQ8(A) ((_iq8 )(A) << (6)) 1036 #define _IQ2toIQ7(A) ((_iq7 )(A) << (5)) 1037 #define _IQ2toIQ6(A) ((_iq6 )(A) << (4)) 1038 #define _IQ2toIQ5(A) ((_iq5 )(A) << (3)) 1039 #define _IQ2toIQ4(A) ((_iq4 )(A) << (2)) 1040 #define _IQ2toIQ3(A) ((_iq3 )(A) << (1)) 1041 #define _IQ2toIQ1(A) ((_iq1 )(A) >> (1)) 1044 #define _IQ3toIQ30(A) ((_iq30)(A) << (27)) 1045 #define _IQ3toIQ29(A) ((_iq29)(A) << (26)) 1046 #define _IQ3toIQ28(A) ((_iq28)(A) << (25)) 1047 #define _IQ3toIQ27(A) ((_iq27)(A) << (24)) 1048 #define _IQ3toIQ26(A) ((_iq26)(A) << (23)) 1049 #define _IQ3toIQ25(A) ((_iq25)(A) << (22)) 1050 #define _IQ3toIQ24(A) ((_iq24)(A) << (21)) 1051 #define _IQ3toIQ23(A) ((_iq23)(A) << (20)) 1052 #define _IQ3toIQ22(A) ((_iq22)(A) << (19)) 1053 #define _IQ3toIQ21(A) ((_iq21)(A) << (18)) 1054 #define _IQ3toIQ20(A) ((_iq20)(A) << (17)) 1055 #define _IQ3toIQ19(A) ((_iq19)(A) << (16)) 1056 #define _IQ3toIQ18(A) ((_iq18)(A) << (15)) 1057 #define _IQ3toIQ17(A) ((_iq17)(A) << (14)) 1058 #define _IQ3toIQ16(A) ((_iq16)(A) << (13)) 1059 #define _IQ3toIQ15(A) ((_iq15)(A) << (12)) 1060 #define _IQ3toIQ14(A) ((_iq14)(A) << (11)) 1061 #define _IQ3toIQ13(A) ((_iq13)(A) << (10)) 1062 #define _IQ3toIQ12(A) ((_iq12)(A) << (9)) 1063 #define _IQ3toIQ11(A) ((_iq11)(A) << (8)) 1064 #define _IQ3toIQ10(A) ((_iq10)(A) << (7)) 1065 #define _IQ3toIQ9(A) ((_iq9 )(A) << (6)) 1066 #define _IQ3toIQ8(A) ((_iq8 )(A) << (5)) 1067 #define _IQ3toIQ7(A) ((_iq7 )(A) << (4)) 1068 #define _IQ3toIQ6(A) ((_iq6 )(A) << (3)) 1069 #define _IQ3toIQ5(A) ((_iq5 )(A) << (2)) 1070 #define _IQ3toIQ4(A) ((_iq4 )(A) << (1)) 1071 #define _IQ3toIQ2(A) ((_iq2 )(A) >> (1)) 1072 #define _IQ3toIQ1(A) ((_iq1 )(A) >> (2)) 1075 #define _IQ4toIQ30(A) ((_iq30)(A) << (26)) 1076 #define _IQ4toIQ29(A) ((_iq29)(A) << (25)) 1077 #define _IQ4toIQ28(A) ((_iq28)(A) << (24)) 1078 #define _IQ4toIQ27(A) ((_iq27)(A) << (23)) 1079 #define _IQ4toIQ26(A) ((_iq26)(A) << (22)) 1080 #define _IQ4toIQ25(A) ((_iq25)(A) << (21)) 1081 #define _IQ4toIQ24(A) ((_iq24)(A) << (20)) 1082 #define _IQ4toIQ23(A) ((_iq23)(A) << (19)) 1083 #define _IQ4toIQ22(A) ((_iq22)(A) << (18)) 1084 #define _IQ4toIQ21(A) ((_iq21)(A) << (17)) 1085 #define _IQ4toIQ20(A) ((_iq20)(A) << (16)) 1086 #define _IQ4toIQ19(A) ((_iq19)(A) << (15)) 1087 #define _IQ4toIQ18(A) ((_iq18)(A) << (14)) 1088 #define _IQ4toIQ17(A) ((_iq17)(A) << (13)) 1089 #define _IQ4toIQ16(A) ((_iq16)(A) << (12)) 1090 #define _IQ4toIQ15(A) ((_iq15)(A) << (11)) 1091 #define _IQ4toIQ14(A) ((_iq14)(A) << (10)) 1092 #define _IQ4toIQ13(A) ((_iq13)(A) << (9)) 1093 #define _IQ4toIQ12(A) ((_iq12)(A) << (8)) 1094 #define _IQ4toIQ11(A) ((_iq11)(A) << (7)) 1095 #define _IQ4toIQ10(A) ((_iq10)(A) << (6)) 1096 #define _IQ4toIQ9(A) ((_iq9 )(A) << (5)) 1097 #define _IQ4toIQ8(A) ((_iq8 )(A) << (4)) 1098 #define _IQ4toIQ7(A) ((_iq7 )(A) << (3)) 1099 #define _IQ4toIQ6(A) ((_iq6 )(A) << (2)) 1100 #define _IQ4toIQ5(A) ((_iq5 )(A) << (1)) 1101 #define _IQ4toIQ3(A) ((_iq3 )(A) >> (1)) 1102 #define _IQ4toIQ2(A) ((_iq2 )(A) >> (2)) 1103 #define _IQ4toIQ1(A) ((_iq1 )(A) >> (3)) 1106 #define _IQ5toIQ30(A) ((_iq30)(A) << (25)) 1107 #define _IQ5toIQ29(A) ((_iq29)(A) << (24)) 1108 #define _IQ5toIQ28(A) ((_iq28)(A) << (23)) 1109 #define _IQ5toIQ27(A) ((_iq27)(A) << (22)) 1110 #define _IQ5toIQ26(A) ((_iq26)(A) << (21)) 1111 #define _IQ5toIQ25(A) ((_iq25)(A) << (20)) 1112 #define _IQ5toIQ24(A) ((_iq24)(A) << (19)) 1113 #define _IQ5toIQ23(A) ((_iq23)(A) << (18)) 1114 #define _IQ5toIQ22(A) ((_iq22)(A) << (17)) 1115 #define _IQ5toIQ21(A) ((_iq21)(A) << (16)) 1116 #define _IQ5toIQ20(A) ((_iq20)(A) << (15)) 1117 #define _IQ5toIQ19(A) ((_iq19)(A) << (14)) 1118 #define _IQ5toIQ18(A) ((_iq18)(A) << (13)) 1119 #define _IQ5toIQ17(A) ((_iq17)(A) << (12)) 1120 #define _IQ5toIQ16(A) ((_iq16)(A) << (11)) 1121 #define _IQ5toIQ15(A) ((_iq15)(A) << (10)) 1122 #define _IQ5toIQ14(A) ((_iq14)(A) << (9)) 1123 #define _IQ5toIQ13(A) ((_iq13)(A) << (8)) 1124 #define _IQ5toIQ12(A) ((_iq12)(A) << (7)) 1125 #define _IQ5toIQ11(A) ((_iq11)(A) << (6)) 1126 #define _IQ5toIQ10(A) ((_iq10)(A) << (5)) 1127 #define _IQ5toIQ9(A) ((_iq9 )(A) << (4)) 1128 #define _IQ5toIQ8(A) ((_iq8 )(A) << (3)) 1129 #define _IQ5toIQ7(A) ((_iq7 )(A) << (2)) 1130 #define _IQ5toIQ6(A) ((_iq6 )(A) << (1)) 1131 #define _IQ5toIQ4(A) ((_iq4 )(A) >> (1)) 1132 #define _IQ5toIQ3(A) ((_iq3 )(A) >> (2)) 1133 #define _IQ5toIQ2(A) ((_iq2 )(A) >> (3)) 1134 #define _IQ5toIQ1(A) ((_iq1 )(A) >> (4)) 1137 #define _IQ6toIQ30(A) ((_iq30)(A) << (24)) 1138 #define _IQ6toIQ29(A) ((_iq29)(A) << (23)) 1139 #define _IQ6toIQ28(A) ((_iq28)(A) << (22)) 1140 #define _IQ6toIQ27(A) ((_iq27)(A) << (21)) 1141 #define _IQ6toIQ26(A) ((_iq26)(A) << (20)) 1142 #define _IQ6toIQ25(A) ((_iq25)(A) << (19)) 1143 #define _IQ6toIQ24(A) ((_iq24)(A) << (18)) 1144 #define _IQ6toIQ23(A) ((_iq23)(A) << (17)) 1145 #define _IQ6toIQ22(A) ((_iq22)(A) << (16)) 1146 #define _IQ6toIQ21(A) ((_iq21)(A) << (15)) 1147 #define _IQ6toIQ20(A) ((_iq20)(A) << (14)) 1148 #define _IQ6toIQ19(A) ((_iq19)(A) << (13)) 1149 #define _IQ6toIQ18(A) ((_iq18)(A) << (12)) 1150 #define _IQ6toIQ17(A) ((_iq17)(A) << (11)) 1151 #define _IQ6toIQ16(A) ((_iq16)(A) << (10)) 1152 #define _IQ6toIQ15(A) ((_iq15)(A) << (9)) 1153 #define _IQ6toIQ14(A) ((_iq14)(A) << (8)) 1154 #define _IQ6toIQ13(A) ((_iq13)(A) << (7)) 1155 #define _IQ6toIQ12(A) ((_iq12)(A) << (6)) 1156 #define _IQ6toIQ11(A) ((_iq11)(A) << (5)) 1157 #define _IQ6toIQ10(A) ((_iq10)(A) << (4)) 1158 #define _IQ6toIQ9(A) ((_iq9 )(A) << (3)) 1159 #define _IQ6toIQ8(A) ((_iq8 )(A) << (2)) 1160 #define _IQ6toIQ7(A) ((_iq7 )(A) << (1)) 1161 #define _IQ6toIQ5(A) ((_iq5 )(A) >> (1)) 1162 #define _IQ6toIQ4(A) ((_iq4 )(A) >> (2)) 1163 #define _IQ6toIQ3(A) ((_iq3 )(A) >> (3)) 1164 #define _IQ6toIQ2(A) ((_iq2 )(A) >> (4)) 1165 #define _IQ6toIQ1(A) ((_iq1 )(A) >> (5)) 1168 #define _IQ7toIQ30(A) ((_iq30)(A) << (23)) 1169 #define _IQ7toIQ29(A) ((_iq29)(A) << (22)) 1170 #define _IQ7toIQ28(A) ((_iq28)(A) << (21)) 1171 #define _IQ7toIQ27(A) ((_iq27)(A) << (20)) 1172 #define _IQ7toIQ26(A) ((_iq26)(A) << (19)) 1173 #define _IQ7toIQ25(A) ((_iq25)(A) << (18)) 1174 #define _IQ7toIQ24(A) ((_iq24)(A) << (17)) 1175 #define _IQ7toIQ23(A) ((_iq23)(A) << (16)) 1176 #define _IQ7toIQ22(A) ((_iq22)(A) << (15)) 1177 #define _IQ7toIQ21(A) ((_iq21)(A) << (14)) 1178 #define _IQ7toIQ20(A) ((_iq20)(A) << (13)) 1179 #define _IQ7toIQ19(A) ((_iq19)(A) << (12)) 1180 #define _IQ7toIQ18(A) ((_iq18)(A) << (11)) 1181 #define _IQ7toIQ17(A) ((_iq17)(A) << (10)) 1182 #define _IQ7toIQ16(A) ((_iq16)(A) << (9)) 1183 #define _IQ7toIQ15(A) ((_iq15)(A) << (8)) 1184 #define _IQ7toIQ14(A) ((_iq14)(A) << (7)) 1185 #define _IQ7toIQ13(A) ((_iq13)(A) << (6)) 1186 #define _IQ7toIQ12(A) ((_iq12)(A) << (5)) 1187 #define _IQ7toIQ11(A) ((_iq11)(A) << (4)) 1188 #define _IQ7toIQ10(A) ((_iq10)(A) << (3)) 1189 #define _IQ7toIQ9(A) ((_iq9 )(A) << (2)) 1190 #define _IQ7toIQ8(A) ((_iq8 )(A) << (1)) 1191 #define _IQ7toIQ6(A) ((_iq6 )(A) >> (1)) 1192 #define _IQ7toIQ5(A) ((_iq5 )(A) >> (2)) 1193 #define _IQ7toIQ4(A) ((_iq4 )(A) >> (3)) 1194 #define _IQ7toIQ3(A) ((_iq3 )(A) >> (4)) 1195 #define _IQ7toIQ2(A) ((_iq2 )(A) >> (5)) 1196 #define _IQ7toIQ1(A) ((_iq1 )(A) >> (6)) 1199 #define _IQ8toIQ30(A) ((_iq30)(A) << (22)) 1200 #define _IQ8toIQ29(A) ((_iq29)(A) << (21)) 1201 #define _IQ8toIQ28(A) ((_iq28)(A) << (20)) 1202 #define _IQ8toIQ27(A) ((_iq27)(A) << (19)) 1203 #define _IQ8toIQ26(A) ((_iq26)(A) << (18)) 1204 #define _IQ8toIQ25(A) ((_iq25)(A) << (17)) 1205 #define _IQ8toIQ24(A) ((_iq24)(A) << (16)) 1206 #define _IQ8toIQ23(A) ((_iq23)(A) << (15)) 1207 #define _IQ8toIQ22(A) ((_iq22)(A) << (14)) 1208 #define _IQ8toIQ21(A) ((_iq21)(A) << (13)) 1209 #define _IQ8toIQ20(A) ((_iq20)(A) << (12)) 1210 #define _IQ8toIQ19(A) ((_iq19)(A) << (11)) 1211 #define _IQ8toIQ18(A) ((_iq18)(A) << (10)) 1212 #define _IQ8toIQ17(A) ((_iq17)(A) << (9)) 1213 #define _IQ8toIQ16(A) ((_iq16)(A) << (8)) 1214 #define _IQ8toIQ15(A) ((_iq15)(A) << (7)) 1215 #define _IQ8toIQ14(A) ((_iq14)(A) << (6)) 1216 #define _IQ8toIQ13(A) ((_iq13)(A) << (5)) 1217 #define _IQ8toIQ12(A) ((_iq12)(A) << (4)) 1218 #define _IQ8toIQ11(A) ((_iq11)(A) << (3)) 1219 #define _IQ8toIQ10(A) ((_iq10)(A) << (2)) 1220 #define _IQ8toIQ9(A) ((_iq9 )(A) << (1)) 1221 #define _IQ8toIQ7(A) ((_iq7 )(A) >> (1)) 1222 #define _IQ8toIQ6(A) ((_iq6 )(A) >> (2)) 1223 #define _IQ8toIQ5(A) ((_iq5 )(A) >> (3)) 1224 #define _IQ8toIQ4(A) ((_iq4 )(A) >> (4)) 1225 #define _IQ8toIQ3(A) ((_iq3 )(A) >> (5)) 1226 #define _IQ8toIQ2(A) ((_iq2 )(A) >> (6)) 1227 #define _IQ8toIQ1(A) ((_iq1 )(A) >> (7)) 1230 #define _IQ9toIQ30(A) ((_iq30)(A) << (21)) 1231 #define _IQ9toIQ29(A) ((_iq29)(A) << (20)) 1232 #define _IQ9toIQ28(A) ((_iq28)(A) << (19)) 1233 #define _IQ9toIQ27(A) ((_iq27)(A) << (18)) 1234 #define _IQ9toIQ26(A) ((_iq26)(A) << (17)) 1235 #define _IQ9toIQ25(A) ((_iq25)(A) << (16)) 1236 #define _IQ9toIQ24(A) ((_iq24)(A) << (15)) 1237 #define _IQ9toIQ23(A) ((_iq23)(A) << (14)) 1238 #define _IQ9toIQ22(A) ((_iq22)(A) << (13)) 1239 #define _IQ9toIQ21(A) ((_iq21)(A) << (12)) 1240 #define _IQ9toIQ20(A) ((_iq20)(A) << (11)) 1241 #define _IQ9toIQ19(A) ((_iq19)(A) << (10)) 1242 #define _IQ9toIQ18(A) ((_iq18)(A) << (9)) 1243 #define _IQ9toIQ17(A) ((_iq17)(A) << (8)) 1244 #define _IQ9toIQ16(A) ((_iq16)(A) << (7)) 1245 #define _IQ9toIQ15(A) ((_iq15)(A) << (6)) 1246 #define _IQ9toIQ14(A) ((_iq14)(A) << (5)) 1247 #define _IQ9toIQ13(A) ((_iq13)(A) << (4)) 1248 #define _IQ9toIQ12(A) ((_iq12)(A) << (3)) 1249 #define _IQ9toIQ11(A) ((_iq11)(A) << (2)) 1250 #define _IQ9toIQ10(A) ((_iq10)(A) << (1)) 1251 #define _IQ9toIQ8(A) ((_iq8 )(A) >> (1)) 1252 #define _IQ9toIQ7(A) ((_iq7 )(A) >> (2)) 1253 #define _IQ9toIQ6(A) ((_iq6 )(A) >> (3)) 1254 #define _IQ9toIQ5(A) ((_iq5 )(A) >> (4)) 1255 #define _IQ9toIQ4(A) ((_iq4 )(A) >> (5)) 1256 #define _IQ9toIQ3(A) ((_iq3 )(A) >> (6)) 1257 #define _IQ9toIQ2(A) ((_iq2 )(A) >> (7)) 1258 #define _IQ9toIQ1(A) ((_iq1 )(A) >> (8)) 1261 #define _IQ10toIQ30(A) ((_iq30)(A) << (20)) 1262 #define _IQ10toIQ29(A) ((_iq29)(A) << (19)) 1263 #define _IQ10toIQ28(A) ((_iq28)(A) << (18)) 1264 #define _IQ10toIQ27(A) ((_iq27)(A) << (17)) 1265 #define _IQ10toIQ26(A) ((_iq26)(A) << (16)) 1266 #define _IQ10toIQ25(A) ((_iq25)(A) << (15)) 1267 #define _IQ10toIQ24(A) ((_iq24)(A) << (14)) 1268 #define _IQ10toIQ23(A) ((_iq23)(A) << (13)) 1269 #define _IQ10toIQ22(A) ((_iq22)(A) << (12)) 1270 #define _IQ10toIQ21(A) ((_iq21)(A) << (11)) 1271 #define _IQ10toIQ20(A) ((_iq20)(A) << (10)) 1272 #define _IQ10toIQ19(A) ((_iq19)(A) << (9)) 1273 #define _IQ10toIQ18(A) ((_iq18)(A) << (8)) 1274 #define _IQ10toIQ17(A) ((_iq17)(A) << (7)) 1275 #define _IQ10toIQ16(A) ((_iq16)(A) << (6)) 1276 #define _IQ10toIQ15(A) ((_iq15)(A) << (5)) 1277 #define _IQ10toIQ14(A) ((_iq14)(A) << (4)) 1278 #define _IQ10toIQ13(A) ((_iq13)(A) << (3)) 1279 #define _IQ10toIQ12(A) ((_iq12)(A) << (2)) 1280 #define _IQ10toIQ11(A) ((_iq11)(A) << (1)) 1281 #define _IQ10toIQ9(A) ((_iq9 )(A) >> (1)) 1282 #define _IQ10toIQ8(A) ((_iq8 )(A) >> (2)) 1283 #define _IQ10toIQ7(A) ((_iq7 )(A) >> (3)) 1284 #define _IQ10toIQ6(A) ((_iq6 )(A) >> (4)) 1285 #define _IQ10toIQ5(A) ((_iq5 )(A) >> (5)) 1286 #define _IQ10toIQ4(A) ((_iq4 )(A) >> (6)) 1287 #define _IQ10toIQ3(A) ((_iq3 )(A) >> (7)) 1288 #define _IQ10toIQ2(A) ((_iq2 )(A) >> (8)) 1289 #define _IQ10toIQ1(A) ((_iq1 )(A) >> (9)) 1292 #define _IQ11toIQ30(A) ((_iq30)(A) << (19)) 1293 #define _IQ11toIQ29(A) ((_iq29)(A) << (18)) 1294 #define _IQ11toIQ28(A) ((_iq28)(A) << (17)) 1295 #define _IQ11toIQ27(A) ((_iq27)(A) << (16)) 1296 #define _IQ11toIQ26(A) ((_iq26)(A) << (15)) 1297 #define _IQ11toIQ25(A) ((_iq25)(A) << (14)) 1298 #define _IQ11toIQ24(A) ((_iq24)(A) << (13)) 1299 #define _IQ11toIQ23(A) ((_iq23)(A) << (12)) 1300 #define _IQ11toIQ22(A) ((_iq22)(A) << (11)) 1301 #define _IQ11toIQ21(A) ((_iq21)(A) << (10)) 1302 #define _IQ11toIQ20(A) ((_iq20)(A) << (9)) 1303 #define _IQ11toIQ19(A) ((_iq19)(A) << (8)) 1304 #define _IQ11toIQ18(A) ((_iq18)(A) << (7)) 1305 #define _IQ11toIQ17(A) ((_iq17)(A) << (6)) 1306 #define _IQ11toIQ16(A) ((_iq16)(A) << (5)) 1307 #define _IQ11toIQ15(A) ((_iq15)(A) << (4)) 1308 #define _IQ11toIQ14(A) ((_iq14)(A) << (3)) 1309 #define _IQ11toIQ13(A) ((_iq13)(A) << (2)) 1310 #define _IQ11toIQ12(A) ((_iq12)(A) << (1)) 1311 #define _IQ11toIQ10(A) ((_iq10)(A) >> (1)) 1312 #define _IQ11toIQ9(A) ((_iq9 )(A) >> (2)) 1313 #define _IQ11toIQ8(A) ((_iq8 )(A) >> (3)) 1314 #define _IQ11toIQ7(A) ((_iq7 )(A) >> (4)) 1315 #define _IQ11toIQ6(A) ((_iq6 )(A) >> (5)) 1316 #define _IQ11toIQ5(A) ((_iq5 )(A) >> (6)) 1317 #define _IQ11toIQ4(A) ((_iq4 )(A) >> (7)) 1318 #define _IQ11toIQ3(A) ((_iq3 )(A) >> (8)) 1319 #define _IQ11toIQ2(A) ((_iq2 )(A) >> (9)) 1320 #define _IQ11toIQ1(A) ((_iq1 )(A) >> (10)) 1323 #define _IQ12toIQ30(A) ((_iq30)(A) << (18)) 1324 #define _IQ12toIQ29(A) ((_iq29)(A) << (17)) 1325 #define _IQ12toIQ28(A) ((_iq28)(A) << (16)) 1326 #define _IQ12toIQ27(A) ((_iq27)(A) << (15)) 1327 #define _IQ12toIQ26(A) ((_iq26)(A) << (14)) 1328 #define _IQ12toIQ25(A) ((_iq25)(A) << (13)) 1329 #define _IQ12toIQ24(A) ((_iq24)(A) << (12)) 1330 #define _IQ12toIQ23(A) ((_iq23)(A) << (11)) 1331 #define _IQ12toIQ22(A) ((_iq22)(A) << (10)) 1332 #define _IQ12toIQ21(A) ((_iq21)(A) << (9)) 1333 #define _IQ12toIQ20(A) ((_iq20)(A) << (8)) 1334 #define _IQ12toIQ19(A) ((_iq19)(A) << (7)) 1335 #define _IQ12toIQ18(A) ((_iq18)(A) << (6)) 1336 #define _IQ12toIQ17(A) ((_iq17)(A) << (5)) 1337 #define _IQ12toIQ16(A) ((_iq16)(A) << (4)) 1338 #define _IQ12toIQ15(A) ((_iq15)(A) << (3)) 1339 #define _IQ12toIQ14(A) ((_iq14)(A) << (2)) 1340 #define _IQ12toIQ13(A) ((_iq13)(A) << (1)) 1341 #define _IQ12toIQ11(A) ((_iq11)(A) >> (1)) 1342 #define _IQ12toIQ10(A) ((_iq10)(A) >> (2)) 1343 #define _IQ12toIQ9(A) ((_iq9 )(A) >> (3)) 1344 #define _IQ12toIQ8(A) ((_iq8 )(A) >> (4)) 1345 #define _IQ12toIQ7(A) ((_iq7 )(A) >> (5)) 1346 #define _IQ12toIQ6(A) ((_iq6 )(A) >> (6)) 1347 #define _IQ12toIQ5(A) ((_iq5 )(A) >> (7)) 1348 #define _IQ12toIQ4(A) ((_iq4 )(A) >> (8)) 1349 #define _IQ12toIQ3(A) ((_iq3 )(A) >> (9)) 1350 #define _IQ12toIQ2(A) ((_iq2 )(A) >> (10)) 1351 #define _IQ12toIQ1(A) ((_iq1 )(A) >> (11)) 1354 #define _IQ13toIQ30(A) ((_iq30)(A) << (17)) 1355 #define _IQ13toIQ29(A) ((_iq29)(A) << (16)) 1356 #define _IQ13toIQ28(A) ((_iq28)(A) << (15)) 1357 #define _IQ13toIQ27(A) ((_iq27)(A) << (14)) 1358 #define _IQ13toIQ26(A) ((_iq26)(A) << (13)) 1359 #define _IQ13toIQ25(A) ((_iq25)(A) << (12)) 1360 #define _IQ13toIQ24(A) ((_iq24)(A) << (11)) 1361 #define _IQ13toIQ23(A) ((_iq23)(A) << (10)) 1362 #define _IQ13toIQ22(A) ((_iq22)(A) << (9)) 1363 #define _IQ13toIQ21(A) ((_iq21)(A) << (8)) 1364 #define _IQ13toIQ20(A) ((_iq20)(A) << (7)) 1365 #define _IQ13toIQ19(A) ((_iq19)(A) << (6)) 1366 #define _IQ13toIQ18(A) ((_iq18)(A) << (5)) 1367 #define _IQ13toIQ17(A) ((_iq17)(A) << (4)) 1368 #define _IQ13toIQ16(A) ((_iq16)(A) << (3)) 1369 #define _IQ13toIQ15(A) ((_iq15)(A) << (2)) 1370 #define _IQ13toIQ14(A) ((_iq14)(A) << (1)) 1371 #define _IQ13toIQ12(A) ((_iq12)(A) >> (1)) 1372 #define _IQ13toIQ11(A) ((_iq11)(A) >> (2)) 1373 #define _IQ13toIQ10(A) ((_iq10)(A) >> (3)) 1374 #define _IQ13toIQ9(A) ((_iq9 )(A) >> (4)) 1375 #define _IQ13toIQ8(A) ((_iq8 )(A) >> (5)) 1376 #define _IQ13toIQ7(A) ((_iq7 )(A) >> (6)) 1377 #define _IQ13toIQ6(A) ((_iq6 )(A) >> (7)) 1378 #define _IQ13toIQ5(A) ((_iq5 )(A) >> (8)) 1379 #define _IQ13toIQ4(A) ((_iq4 )(A) >> (9)) 1380 #define _IQ13toIQ3(A) ((_iq3 )(A) >> (10)) 1381 #define _IQ13toIQ2(A) ((_iq2 )(A) >> (11)) 1382 #define _IQ13toIQ1(A) ((_iq1 )(A) >> (12)) 1385 #define _IQ14toIQ30(A) ((_iq30)(A) << (16)) 1386 #define _IQ14toIQ29(A) ((_iq29)(A) << (15)) 1387 #define _IQ14toIQ28(A) ((_iq28)(A) << (14)) 1388 #define _IQ14toIQ27(A) ((_iq27)(A) << (13)) 1389 #define _IQ14toIQ26(A) ((_iq26)(A) << (12)) 1390 #define _IQ14toIQ25(A) ((_iq25)(A) << (11)) 1391 #define _IQ14toIQ24(A) ((_iq24)(A) << (10)) 1392 #define _IQ14toIQ23(A) ((_iq23)(A) << (9)) 1393 #define _IQ14toIQ22(A) ((_iq22)(A) << (8)) 1394 #define _IQ14toIQ21(A) ((_iq21)(A) << (7)) 1395 #define _IQ14toIQ20(A) ((_iq20)(A) << (6)) 1396 #define _IQ14toIQ19(A) ((_iq19)(A) << (5)) 1397 #define _IQ14toIQ18(A) ((_iq18)(A) << (4)) 1398 #define _IQ14toIQ17(A) ((_iq17)(A) << (3)) 1399 #define _IQ14toIQ16(A) ((_iq16)(A) << (2)) 1400 #define _IQ14toIQ15(A) ((_iq15)(A) << (1)) 1401 #define _IQ14toIQ13(A) ((_iq13)(A) >> (1)) 1402 #define _IQ14toIQ12(A) ((_iq12)(A) >> (2)) 1403 #define _IQ14toIQ11(A) ((_iq11)(A) >> (3)) 1404 #define _IQ14toIQ10(A) ((_iq10)(A) >> (4)) 1405 #define _IQ14toIQ9(A) ((_iq9 )(A) >> (5)) 1406 #define _IQ14toIQ8(A) ((_iq8 )(A) >> (6)) 1407 #define _IQ14toIQ7(A) ((_iq7 )(A) >> (7)) 1408 #define _IQ14toIQ6(A) ((_iq6 )(A) >> (8)) 1409 #define _IQ14toIQ5(A) ((_iq5 )(A) >> (9)) 1410 #define _IQ14toIQ4(A) ((_iq4 )(A) >> (10)) 1411 #define _IQ14toIQ3(A) ((_iq3 )(A) >> (11)) 1412 #define _IQ14toIQ2(A) ((_iq2 )(A) >> (12)) 1413 #define _IQ14toIQ1(A) ((_iq1 )(A) >> (13)) 1416 #define _IQ15toIQ30(A) ((_iq30)(A) << (15)) 1417 #define _IQ15toIQ29(A) ((_iq29)(A) << (14)) 1418 #define _IQ15toIQ28(A) ((_iq28)(A) << (13)) 1419 #define _IQ15toIQ27(A) ((_iq27)(A) << (12)) 1420 #define _IQ15toIQ26(A) ((_iq26)(A) << (11)) 1421 #define _IQ15toIQ25(A) ((_iq25)(A) << (10)) 1422 #define _IQ15toIQ24(A) ((_iq24)(A) << (9)) 1423 #define _IQ15toIQ23(A) ((_iq23)(A) << (8)) 1424 #define _IQ15toIQ22(A) ((_iq22)(A) << (7)) 1425 #define _IQ15toIQ21(A) ((_iq21)(A) << (6)) 1426 #define _IQ15toIQ20(A) ((_iq20)(A) << (5)) 1427 #define _IQ15toIQ19(A) ((_iq19)(A) << (4)) 1428 #define _IQ15toIQ18(A) ((_iq18)(A) << (3)) 1429 #define _IQ15toIQ17(A) ((_iq17)(A) << (2)) 1430 #define _IQ15toIQ16(A) ((_iq16)(A) << (1)) 1431 #define _IQ15toIQ14(A) ((_iq14)(A) >> (1)) 1432 #define _IQ15toIQ13(A) ((_iq13)(A) >> (2)) 1433 #define _IQ15toIQ12(A) ((_iq12)(A) >> (3)) 1434 #define _IQ15toIQ11(A) ((_iq11)(A) >> (4)) 1435 #define _IQ15toIQ10(A) ((_iq10)(A) >> (5)) 1436 #define _IQ15toIQ9(A) ((_iq9 )(A) >> (6)) 1437 #define _IQ15toIQ8(A) ((_iq8 )(A) >> (7)) 1438 #define _IQ15toIQ7(A) ((_iq7 )(A) >> (8)) 1439 #define _IQ15toIQ6(A) ((_iq6 )(A) >> (9)) 1440 #define _IQ15toIQ5(A) ((_iq5 )(A) >> (10)) 1441 #define _IQ15toIQ4(A) ((_iq4 )(A) >> (11)) 1442 #define _IQ15toIQ3(A) ((_iq3 )(A) >> (12)) 1443 #define _IQ15toIQ2(A) ((_iq2 )(A) >> (13)) 1444 #define _IQ15toIQ1(A) ((_iq1 )(A) >> (14)) 1447 #define _IQ16toIQ30(A) ((_iq30)(A) << (14)) 1448 #define _IQ16toIQ29(A) ((_iq29)(A) << (13)) 1449 #define _IQ16toIQ28(A) ((_iq28)(A) << (12)) 1450 #define _IQ16toIQ27(A) ((_iq27)(A) << (11)) 1451 #define _IQ16toIQ26(A) ((_iq26)(A) << (10)) 1452 #define _IQ16toIQ25(A) ((_iq25)(A) << (9)) 1453 #define _IQ16toIQ24(A) ((_iq24)(A) << (8)) 1454 #define _IQ16toIQ23(A) ((_iq23)(A) << (7)) 1455 #define _IQ16toIQ22(A) ((_iq22)(A) << (6)) 1456 #define _IQ16toIQ21(A) ((_iq21)(A) << (5)) 1457 #define _IQ16toIQ20(A) ((_iq20)(A) << (4)) 1458 #define _IQ16toIQ19(A) ((_iq19)(A) << (3)) 1459 #define _IQ16toIQ18(A) ((_iq18)(A) << (2)) 1460 #define _IQ16toIQ17(A) ((_iq17)(A) << (1)) 1461 #define _IQ16toIQ15(A) ((_iq15)(A) >> (1)) 1462 #define _IQ16toIQ14(A) ((_iq14)(A) >> (2)) 1463 #define _IQ16toIQ13(A) ((_iq13)(A) >> (3)) 1464 #define _IQ16toIQ12(A) ((_iq12)(A) >> (4)) 1465 #define _IQ16toIQ11(A) ((_iq11)(A) >> (5)) 1466 #define _IQ16toIQ10(A) ((_iq10)(A) >> (6)) 1467 #define _IQ16toIQ9(A) ((_iq9 )(A) >> (7)) 1468 #define _IQ16toIQ8(A) ((_iq8 )(A) >> (8)) 1469 #define _IQ16toIQ7(A) ((_iq7 )(A) >> (9)) 1470 #define _IQ16toIQ6(A) ((_iq6 )(A) >> (10)) 1471 #define _IQ16toIQ5(A) ((_iq5 )(A) >> (11)) 1472 #define _IQ16toIQ4(A) ((_iq4 )(A) >> (12)) 1473 #define _IQ16toIQ3(A) ((_iq3 )(A) >> (13)) 1474 #define _IQ16toIQ2(A) ((_iq2 )(A) >> (14)) 1475 #define _IQ16toIQ1(A) ((_iq1 )(A) >> (15)) 1478 #define _IQ17toIQ30(A) ((_iq30)(A) << (13)) 1479 #define _IQ17toIQ29(A) ((_iq29)(A) << (12)) 1480 #define _IQ17toIQ28(A) ((_iq28)(A) << (11)) 1481 #define _IQ17toIQ27(A) ((_iq27)(A) << (10)) 1482 #define _IQ17toIQ26(A) ((_iq26)(A) << (9)) 1483 #define _IQ17toIQ25(A) ((_iq25)(A) << (8)) 1484 #define _IQ17toIQ24(A) ((_iq24)(A) << (7)) 1485 #define _IQ17toIQ23(A) ((_iq23)(A) << (6)) 1486 #define _IQ17toIQ22(A) ((_iq22)(A) << (5)) 1487 #define _IQ17toIQ21(A) ((_iq21)(A) << (4)) 1488 #define _IQ17toIQ20(A) ((_iq20)(A) << (3)) 1489 #define _IQ17toIQ19(A) ((_iq19)(A) << (2)) 1490 #define _IQ17toIQ18(A) ((_iq18)(A) << (1)) 1491 #define _IQ17toIQ16(A) ((_iq16)(A) >> (1)) 1492 #define _IQ17toIQ15(A) ((_iq15)(A) >> (2)) 1493 #define _IQ17toIQ14(A) ((_iq14)(A) >> (3)) 1494 #define _IQ17toIQ13(A) ((_iq13)(A) >> (4)) 1495 #define _IQ17toIQ12(A) ((_iq12)(A) >> (5)) 1496 #define _IQ17toIQ11(A) ((_iq11)(A) >> (6)) 1497 #define _IQ17toIQ10(A) ((_iq10)(A) >> (7)) 1498 #define _IQ17toIQ9(A) ((_iq9 )(A) >> (8)) 1499 #define _IQ17toIQ8(A) ((_iq8 )(A) >> (9)) 1500 #define _IQ17toIQ7(A) ((_iq7 )(A) >> (10)) 1501 #define _IQ17toIQ6(A) ((_iq6 )(A) >> (11)) 1502 #define _IQ17toIQ5(A) ((_iq5 )(A) >> (12)) 1503 #define _IQ17toIQ4(A) ((_iq4 )(A) >> (13)) 1504 #define _IQ17toIQ3(A) ((_iq3 )(A) >> (14)) 1505 #define _IQ17toIQ2(A) ((_iq2 )(A) >> (15)) 1506 #define _IQ17toIQ1(A) ((_iq1 )(A) >> (16)) 1509 #define _IQ18toIQ30(A) ((_iq30)(A) << (12)) 1510 #define _IQ18toIQ29(A) ((_iq29)(A) << (11)) 1511 #define _IQ18toIQ28(A) ((_iq28)(A) << (10)) 1512 #define _IQ18toIQ27(A) ((_iq27)(A) << (9)) 1513 #define _IQ18toIQ26(A) ((_iq26)(A) << (8)) 1514 #define _IQ18toIQ25(A) ((_iq25)(A) << (7)) 1515 #define _IQ18toIQ24(A) ((_iq24)(A) << (6)) 1516 #define _IQ18toIQ23(A) ((_iq23)(A) << (5)) 1517 #define _IQ18toIQ22(A) ((_iq22)(A) << (4)) 1518 #define _IQ18toIQ21(A) ((_iq21)(A) << (3)) 1519 #define _IQ18toIQ20(A) ((_iq20)(A) << (2)) 1520 #define _IQ18toIQ19(A) ((_iq19)(A) << (1)) 1521 #define _IQ18toIQ17(A) ((_iq17)(A) >> (1)) 1522 #define _IQ18toIQ16(A) ((_iq16)(A) >> (2)) 1523 #define _IQ18toIQ15(A) ((_iq15)(A) >> (3)) 1524 #define _IQ18toIQ14(A) ((_iq14)(A) >> (4)) 1525 #define _IQ18toIQ13(A) ((_iq13)(A) >> (5)) 1526 #define _IQ18toIQ12(A) ((_iq12)(A) >> (6)) 1527 #define _IQ18toIQ11(A) ((_iq11)(A) >> (7)) 1528 #define _IQ18toIQ10(A) ((_iq10)(A) >> (8)) 1529 #define _IQ18toIQ9(A) ((_iq9 )(A) >> (9)) 1530 #define _IQ18toIQ8(A) ((_iq8 )(A) >> (10)) 1531 #define _IQ18toIQ7(A) ((_iq7 )(A) >> (11)) 1532 #define _IQ18toIQ6(A) ((_iq6 )(A) >> (12)) 1533 #define _IQ18toIQ5(A) ((_iq5 )(A) >> (13)) 1534 #define _IQ18toIQ4(A) ((_iq4 )(A) >> (14)) 1535 #define _IQ18toIQ3(A) ((_iq3 )(A) >> (15)) 1536 #define _IQ18toIQ2(A) ((_iq2 )(A) >> (16)) 1537 #define _IQ18toIQ1(A) ((_iq1 )(A) >> (17)) 1540 #define _IQ19toIQ30(A) ((_iq30)(A) << (11)) 1541 #define _IQ19toIQ29(A) ((_iq29)(A) << (10)) 1542 #define _IQ19toIQ28(A) ((_iq28)(A) << (9)) 1543 #define _IQ19toIQ27(A) ((_iq27)(A) << (8)) 1544 #define _IQ19toIQ26(A) ((_iq26)(A) << (7)) 1545 #define _IQ19toIQ25(A) ((_iq25)(A) << (6)) 1546 #define _IQ19toIQ24(A) ((_iq24)(A) << (5)) 1547 #define _IQ19toIQ23(A) ((_iq23)(A) << (4)) 1548 #define _IQ19toIQ22(A) ((_iq22)(A) << (3)) 1549 #define _IQ19toIQ21(A) ((_iq21)(A) << (2)) 1550 #define _IQ19toIQ20(A) ((_iq20)(A) << (1)) 1551 #define _IQ19toIQ18(A) ((_iq18)(A) >> (1)) 1552 #define _IQ19toIQ17(A) ((_iq17)(A) >> (2)) 1553 #define _IQ19toIQ16(A) ((_iq16)(A) >> (3)) 1554 #define _IQ19toIQ15(A) ((_iq15)(A) >> (4)) 1555 #define _IQ19toIQ14(A) ((_iq14)(A) >> (5)) 1556 #define _IQ19toIQ13(A) ((_iq13)(A) >> (6)) 1557 #define _IQ19toIQ12(A) ((_iq12)(A) >> (7)) 1558 #define _IQ19toIQ11(A) ((_iq11)(A) >> (8)) 1559 #define _IQ19toIQ10(A) ((_iq10)(A) >> (9)) 1560 #define _IQ19toIQ9(A) ((_iq9 )(A) >> (10)) 1561 #define _IQ19toIQ8(A) ((_iq8 )(A) >> (11)) 1562 #define _IQ19toIQ7(A) ((_iq7 )(A) >> (12)) 1563 #define _IQ19toIQ6(A) ((_iq6 )(A) >> (13)) 1564 #define _IQ19toIQ5(A) ((_iq5 )(A) >> (14)) 1565 #define _IQ19toIQ4(A) ((_iq4 )(A) >> (15)) 1566 #define _IQ19toIQ3(A) ((_iq3 )(A) >> (16)) 1567 #define _IQ19toIQ2(A) ((_iq2 )(A) >> (17)) 1568 #define _IQ19toIQ1(A) ((_iq1 )(A) >> (18)) 1571 #define _IQ20toIQ30(A) ((_iq30)(A) << (10)) 1572 #define _IQ20toIQ29(A) ((_iq29)(A) << (9)) 1573 #define _IQ20toIQ28(A) ((_iq28)(A) << (8)) 1574 #define _IQ20toIQ27(A) ((_iq27)(A) << (7)) 1575 #define _IQ20toIQ26(A) ((_iq26)(A) << (6)) 1576 #define _IQ20toIQ25(A) ((_iq25)(A) << (5)) 1577 #define _IQ20toIQ24(A) ((_iq24)(A) << (4)) 1578 #define _IQ20toIQ23(A) ((_iq23)(A) << (3)) 1579 #define _IQ20toIQ22(A) ((_iq22)(A) << (2)) 1580 #define _IQ20toIQ21(A) ((_iq21)(A) << (1)) 1581 #define _IQ20toIQ19(A) ((_iq19)(A) >> (1)) 1582 #define _IQ20toIQ18(A) ((_iq18)(A) >> (2)) 1583 #define _IQ20toIQ17(A) ((_iq17)(A) >> (3)) 1584 #define _IQ20toIQ16(A) ((_iq16)(A) >> (4)) 1585 #define _IQ20toIQ15(A) ((_iq15)(A) >> (5)) 1586 #define _IQ20toIQ14(A) ((_iq14)(A) >> (6)) 1587 #define _IQ20toIQ13(A) ((_iq13)(A) >> (7)) 1588 #define _IQ20toIQ12(A) ((_iq12)(A) >> (8)) 1589 #define _IQ20toIQ11(A) ((_iq11)(A) >> (9)) 1590 #define _IQ20toIQ10(A) ((_iq10)(A) >> (10)) 1591 #define _IQ20toIQ9(A) ((_iq9 )(A) >> (11)) 1592 #define _IQ20toIQ8(A) ((_iq8 )(A) >> (12)) 1593 #define _IQ20toIQ7(A) ((_iq7 )(A) >> (13)) 1594 #define _IQ20toIQ6(A) ((_iq6 )(A) >> (14)) 1595 #define _IQ20toIQ5(A) ((_iq5 )(A) >> (15)) 1596 #define _IQ20toIQ4(A) ((_iq4 )(A) >> (16)) 1597 #define _IQ20toIQ3(A) ((_iq3 )(A) >> (17)) 1598 #define _IQ20toIQ2(A) ((_iq2 )(A) >> (18)) 1599 #define _IQ20toIQ1(A) ((_iq1 )(A) >> (19)) 1602 #define _IQ21toIQ30(A) ((_iq30)(A) << (9)) 1603 #define _IQ21toIQ29(A) ((_iq29)(A) << (8)) 1604 #define _IQ21toIQ28(A) ((_iq28)(A) << (7)) 1605 #define _IQ21toIQ27(A) ((_iq27)(A) << (6)) 1606 #define _IQ21toIQ26(A) ((_iq26)(A) << (5)) 1607 #define _IQ21toIQ25(A) ((_iq25)(A) << (4)) 1608 #define _IQ21toIQ24(A) ((_iq24)(A) << (3)) 1609 #define _IQ21toIQ23(A) ((_iq23)(A) << (2)) 1610 #define _IQ21toIQ22(A) ((_iq22)(A) << (1)) 1611 #define _IQ21toIQ20(A) ((_iq20)(A) >> (1)) 1612 #define _IQ21toIQ19(A) ((_iq19)(A) >> (2)) 1613 #define _IQ21toIQ18(A) ((_iq18)(A) >> (3)) 1614 #define _IQ21toIQ17(A) ((_iq17)(A) >> (4)) 1615 #define _IQ21toIQ16(A) ((_iq16)(A) >> (5)) 1616 #define _IQ21toIQ15(A) ((_iq15)(A) >> (6)) 1617 #define _IQ21toIQ14(A) ((_iq14)(A) >> (7)) 1618 #define _IQ21toIQ13(A) ((_iq13)(A) >> (8)) 1619 #define _IQ21toIQ12(A) ((_iq12)(A) >> (9)) 1620 #define _IQ21toIQ11(A) ((_iq11)(A) >> (10)) 1621 #define _IQ21toIQ10(A) ((_iq10)(A) >> (11)) 1622 #define _IQ21toIQ9(A) ((_iq9 )(A) >> (12)) 1623 #define _IQ21toIQ8(A) ((_iq8 )(A) >> (13)) 1624 #define _IQ21toIQ7(A) ((_iq7 )(A) >> (14)) 1625 #define _IQ21toIQ6(A) ((_iq6 )(A) >> (15)) 1626 #define _IQ21toIQ5(A) ((_iq5 )(A) >> (16)) 1627 #define _IQ21toIQ4(A) ((_iq4 )(A) >> (17)) 1628 #define _IQ21toIQ3(A) ((_iq3 )(A) >> (18)) 1629 #define _IQ21toIQ2(A) ((_iq2 )(A) >> (19)) 1630 #define _IQ21toIQ1(A) ((_iq1 )(A) >> (20)) 1633 #define _IQ22toIQ30(A) ((_iq30)(A) << (8)) 1634 #define _IQ22toIQ29(A) ((_iq29)(A) << (7)) 1635 #define _IQ22toIQ28(A) ((_iq28)(A) << (6)) 1636 #define _IQ22toIQ27(A) ((_iq27)(A) << (5)) 1637 #define _IQ22toIQ26(A) ((_iq26)(A) << (4)) 1638 #define _IQ22toIQ25(A) ((_iq25)(A) << (3)) 1639 #define _IQ22toIQ24(A) ((_iq24)(A) << (2)) 1640 #define _IQ22toIQ23(A) ((_iq23)(A) << (1)) 1641 #define _IQ22toIQ21(A) ((_iq21)(A) >> (1)) 1642 #define _IQ22toIQ20(A) ((_iq20)(A) >> (2)) 1643 #define _IQ22toIQ19(A) ((_iq19)(A) >> (3)) 1644 #define _IQ22toIQ18(A) ((_iq18)(A) >> (4)) 1645 #define _IQ22toIQ17(A) ((_iq17)(A) >> (5)) 1646 #define _IQ22toIQ16(A) ((_iq16)(A) >> (6)) 1647 #define _IQ22toIQ15(A) ((_iq15)(A) >> (7)) 1648 #define _IQ22toIQ14(A) ((_iq14)(A) >> (8)) 1649 #define _IQ22toIQ13(A) ((_iq13)(A) >> (9)) 1650 #define _IQ22toIQ12(A) ((_iq12)(A) >> (10)) 1651 #define _IQ22toIQ11(A) ((_iq11)(A) >> (11)) 1652 #define _IQ22toIQ10(A) ((_iq10)(A) >> (12)) 1653 #define _IQ22toIQ9(A) ((_iq9 )(A) >> (13)) 1654 #define _IQ22toIQ8(A) ((_iq8 )(A) >> (14)) 1655 #define _IQ22toIQ7(A) ((_iq7 )(A) >> (15)) 1656 #define _IQ22toIQ6(A) ((_iq6 )(A) >> (16)) 1657 #define _IQ22toIQ5(A) ((_iq5 )(A) >> (17)) 1658 #define _IQ22toIQ4(A) ((_iq4 )(A) >> (18)) 1659 #define _IQ22toIQ3(A) ((_iq3 )(A) >> (19)) 1660 #define _IQ22toIQ2(A) ((_iq2 )(A) >> (20)) 1661 #define _IQ22toIQ1(A) ((_iq1 )(A) >> (21)) 1664 #define _IQ23toIQ30(A) ((_iq30)(A) << (7)) 1665 #define _IQ23toIQ29(A) ((_iq29)(A) << (6)) 1666 #define _IQ23toIQ28(A) ((_iq28)(A) << (5)) 1667 #define _IQ23toIQ27(A) ((_iq27)(A) << (4)) 1668 #define _IQ23toIQ26(A) ((_iq26)(A) << (3)) 1669 #define _IQ23toIQ25(A) ((_iq25)(A) << (2)) 1670 #define _IQ23toIQ24(A) ((_iq24)(A) << (1)) 1671 #define _IQ23toIQ22(A) ((_iq22)(A) >> (1)) 1672 #define _IQ23toIQ21(A) ((_iq21)(A) >> (2)) 1673 #define _IQ23toIQ20(A) ((_iq20)(A) >> (3)) 1674 #define _IQ23toIQ19(A) ((_iq19)(A) >> (4)) 1675 #define _IQ23toIQ18(A) ((_iq18)(A) >> (5)) 1676 #define _IQ23toIQ17(A) ((_iq17)(A) >> (6)) 1677 #define _IQ23toIQ16(A) ((_iq16)(A) >> (7)) 1678 #define _IQ23toIQ15(A) ((_iq15)(A) >> (8)) 1679 #define _IQ23toIQ14(A) ((_iq14)(A) >> (9)) 1680 #define _IQ23toIQ13(A) ((_iq13)(A) >> (10)) 1681 #define _IQ23toIQ12(A) ((_iq12)(A) >> (11)) 1682 #define _IQ23toIQ11(A) ((_iq11)(A) >> (12)) 1683 #define _IQ23toIQ10(A) ((_iq10)(A) >> (13)) 1684 #define _IQ23toIQ9(A) ((_iq9 )(A) >> (14)) 1685 #define _IQ23toIQ8(A) ((_iq8 )(A) >> (15)) 1686 #define _IQ23toIQ7(A) ((_iq7 )(A) >> (16)) 1687 #define _IQ23toIQ6(A) ((_iq6 )(A) >> (17)) 1688 #define _IQ23toIQ5(A) ((_iq5 )(A) >> (18)) 1689 #define _IQ23toIQ4(A) ((_iq4 )(A) >> (19)) 1690 #define _IQ23toIQ3(A) ((_iq3 )(A) >> (20)) 1691 #define _IQ23toIQ2(A) ((_iq2 )(A) >> (21)) 1692 #define _IQ23toIQ1(A) ((_iq1 )(A) >> (22)) 1695 #define _IQ24toIQ30(A) ((_iq30)(A) << (6)) 1696 #define _IQ24toIQ29(A) ((_iq29)(A) << (5)) 1697 #define _IQ24toIQ28(A) ((_iq28)(A) << (4)) 1698 #define _IQ24toIQ27(A) ((_iq27)(A) << (3)) 1699 #define _IQ24toIQ26(A) ((_iq26)(A) << (2)) 1700 #define _IQ24toIQ25(A) ((_iq25)(A) << (1)) 1701 #define _IQ24toIQ23(A) ((_iq23)(A) >> (1)) 1702 #define _IQ24toIQ22(A) ((_iq22)(A) >> (2)) 1703 #define _IQ24toIQ21(A) ((_iq21)(A) >> (3)) 1704 #define _IQ24toIQ20(A) ((_iq20)(A) >> (4)) 1705 #define _IQ24toIQ19(A) ((_iq19)(A) >> (5)) 1706 #define _IQ24toIQ18(A) ((_iq18)(A) >> (6)) 1707 #define _IQ24toIQ17(A) ((_iq17)(A) >> (7)) 1708 #define _IQ24toIQ16(A) ((_iq16)(A) >> (8)) 1709 #define _IQ24toIQ15(A) ((_iq15)(A) >> (9)) 1710 #define _IQ24toIQ14(A) ((_iq14)(A) >> (10)) 1711 #define _IQ24toIQ13(A) ((_iq13)(A) >> (11)) 1712 #define _IQ24toIQ12(A) ((_iq12)(A) >> (12)) 1713 #define _IQ24toIQ11(A) ((_iq11)(A) >> (13)) 1714 #define _IQ24toIQ10(A) ((_iq10)(A) >> (14)) 1715 #define _IQ24toIQ9(A) ((_iq9 )(A) >> (15)) 1716 #define _IQ24toIQ8(A) ((_iq8 )(A) >> (16)) 1717 #define _IQ24toIQ7(A) ((_iq7 )(A) >> (17)) 1718 #define _IQ24toIQ6(A) ((_iq6 )(A) >> (18)) 1719 #define _IQ24toIQ5(A) ((_iq5 )(A) >> (19)) 1720 #define _IQ24toIQ4(A) ((_iq4 )(A) >> (20)) 1721 #define _IQ24toIQ3(A) ((_iq3 )(A) >> (21)) 1722 #define _IQ24toIQ2(A) ((_iq2 )(A) >> (22)) 1723 #define _IQ24toIQ1(A) ((_iq1 )(A) >> (23)) 1726 #define _IQ25toIQ30(A) ((_iq30)(A) << (5)) 1727 #define _IQ25toIQ29(A) ((_iq29)(A) << (4)) 1728 #define _IQ25toIQ28(A) ((_iq28)(A) << (3)) 1729 #define _IQ25toIQ27(A) ((_iq27)(A) << (2)) 1730 #define _IQ25toIQ26(A) ((_iq26)(A) << (1)) 1731 #define _IQ25toIQ24(A) ((_iq24)(A) >> (1)) 1732 #define _IQ25toIQ23(A) ((_iq23)(A) >> (2)) 1733 #define _IQ25toIQ22(A) ((_iq22)(A) >> (3)) 1734 #define _IQ25toIQ21(A) ((_iq21)(A) >> (4)) 1735 #define _IQ25toIQ20(A) ((_iq20)(A) >> (5)) 1736 #define _IQ25toIQ19(A) ((_iq19)(A) >> (6)) 1737 #define _IQ25toIQ18(A) ((_iq18)(A) >> (7)) 1738 #define _IQ25toIQ17(A) ((_iq17)(A) >> (8)) 1739 #define _IQ25toIQ16(A) ((_iq16)(A) >> (9)) 1740 #define _IQ25toIQ15(A) ((_iq15)(A) >> (10)) 1741 #define _IQ25toIQ14(A) ((_iq14)(A) >> (11)) 1742 #define _IQ25toIQ13(A) ((_iq13)(A) >> (12)) 1743 #define _IQ25toIQ12(A) ((_iq12)(A) >> (13)) 1744 #define _IQ25toIQ11(A) ((_iq11)(A) >> (14)) 1745 #define _IQ25toIQ10(A) ((_iq10)(A) >> (15)) 1746 #define _IQ25toIQ9(A) ((_iq9 )(A) >> (16)) 1747 #define _IQ25toIQ8(A) ((_iq8 )(A) >> (17)) 1748 #define _IQ25toIQ7(A) ((_iq7 )(A) >> (18)) 1749 #define _IQ25toIQ6(A) ((_iq6 )(A) >> (19)) 1750 #define _IQ25toIQ5(A) ((_iq5 )(A) >> (20)) 1751 #define _IQ25toIQ4(A) ((_iq4 )(A) >> (21)) 1752 #define _IQ25toIQ3(A) ((_iq3 )(A) >> (22)) 1753 #define _IQ25toIQ2(A) ((_iq2 )(A) >> (23)) 1754 #define _IQ25toIQ1(A) ((_iq1 )(A) >> (24)) 1757 #define _IQ26toIQ30(A) ((_iq30)(A) << (4)) 1758 #define _IQ26toIQ29(A) ((_iq29)(A) << (3)) 1759 #define _IQ26toIQ28(A) ((_iq28)(A) << (2)) 1760 #define _IQ26toIQ27(A) ((_iq27)(A) << (1)) 1761 #define _IQ26toIQ25(A) ((_iq25)(A) >> (1)) 1762 #define _IQ26toIQ24(A) ((_iq24)(A) >> (2)) 1763 #define _IQ26toIQ23(A) ((_iq23)(A) >> (3)) 1764 #define _IQ26toIQ22(A) ((_iq22)(A) >> (4)) 1765 #define _IQ26toIQ21(A) ((_iq21)(A) >> (5)) 1766 #define _IQ26toIQ20(A) ((_iq20)(A) >> (6)) 1767 #define _IQ26toIQ19(A) ((_iq19)(A) >> (7)) 1768 #define _IQ26toIQ18(A) ((_iq18)(A) >> (8)) 1769 #define _IQ26toIQ17(A) ((_iq17)(A) >> (9)) 1770 #define _IQ26toIQ16(A) ((_iq16)(A) >> (10)) 1771 #define _IQ26toIQ15(A) ((_iq15)(A) >> (11)) 1772 #define _IQ26toIQ14(A) ((_iq14)(A) >> (12)) 1773 #define _IQ26toIQ13(A) ((_iq13)(A) >> (13)) 1774 #define _IQ26toIQ12(A) ((_iq12)(A) >> (14)) 1775 #define _IQ26toIQ11(A) ((_iq11)(A) >> (15)) 1776 #define _IQ26toIQ10(A) ((_iq10)(A) >> (16)) 1777 #define _IQ26toIQ9(A) ((_iq9 )(A) >> (17)) 1778 #define _IQ26toIQ8(A) ((_iq8 )(A) >> (18)) 1779 #define _IQ26toIQ7(A) ((_iq7 )(A) >> (19)) 1780 #define _IQ26toIQ6(A) ((_iq6 )(A) >> (20)) 1781 #define _IQ26toIQ5(A) ((_iq5 )(A) >> (21)) 1782 #define _IQ26toIQ4(A) ((_iq4 )(A) >> (22)) 1783 #define _IQ26toIQ3(A) ((_iq3 )(A) >> (23)) 1784 #define _IQ26toIQ2(A) ((_iq2 )(A) >> (24)) 1785 #define _IQ26toIQ1(A) ((_iq1 )(A) >> (25)) 1788 #define _IQ27toIQ30(A) ((_iq30)(A) << (3)) 1789 #define _IQ27toIQ29(A) ((_iq29)(A) << (2)) 1790 #define _IQ27toIQ28(A) ((_iq28)(A) << (1)) 1791 #define _IQ27toIQ26(A) ((_iq26)(A) >> (1)) 1792 #define _IQ27toIQ25(A) ((_iq25)(A) >> (2)) 1793 #define _IQ27toIQ24(A) ((_iq24)(A) >> (3)) 1794 #define _IQ27toIQ23(A) ((_iq23)(A) >> (4)) 1795 #define _IQ27toIQ22(A) ((_iq22)(A) >> (5)) 1796 #define _IQ27toIQ21(A) ((_iq21)(A) >> (6)) 1797 #define _IQ27toIQ20(A) ((_iq20)(A) >> (7)) 1798 #define _IQ27toIQ19(A) ((_iq19)(A) >> (8)) 1799 #define _IQ27toIQ18(A) ((_iq18)(A) >> (9)) 1800 #define _IQ27toIQ17(A) ((_iq17)(A) >> (10)) 1801 #define _IQ27toIQ16(A) ((_iq16)(A) >> (11)) 1802 #define _IQ27toIQ15(A) ((_iq15)(A) >> (12)) 1803 #define _IQ27toIQ14(A) ((_iq14)(A) >> (13)) 1804 #define _IQ27toIQ13(A) ((_iq13)(A) >> (14)) 1805 #define _IQ27toIQ12(A) ((_iq12)(A) >> (15)) 1806 #define _IQ27toIQ11(A) ((_iq11)(A) >> (16)) 1807 #define _IQ27toIQ10(A) ((_iq10)(A) >> (17)) 1808 #define _IQ27toIQ9(A) ((_iq9 )(A) >> (18)) 1809 #define _IQ27toIQ8(A) ((_iq8 )(A) >> (19)) 1810 #define _IQ27toIQ7(A) ((_iq7 )(A) >> (20)) 1811 #define _IQ27toIQ6(A) ((_iq6 )(A) >> (21)) 1812 #define _IQ27toIQ5(A) ((_iq5 )(A) >> (22)) 1813 #define _IQ27toIQ4(A) ((_iq4 )(A) >> (23)) 1814 #define _IQ27toIQ3(A) ((_iq3 )(A) >> (24)) 1815 #define _IQ27toIQ2(A) ((_iq2 )(A) >> (25)) 1816 #define _IQ27toIQ1(A) ((_iq1 )(A) >> (26)) 1819 #define _IQ28toIQ30(A) ((_iq30)(A) << (2)) 1820 #define _IQ28toIQ29(A) ((_iq29)(A) << (1)) 1821 #define _IQ28toIQ27(A) ((_iq27)(A) >> (1)) 1822 #define _IQ28toIQ26(A) ((_iq26)(A) >> (2)) 1823 #define _IQ28toIQ25(A) ((_iq25)(A) >> (3)) 1824 #define _IQ28toIQ24(A) ((_iq24)(A) >> (4)) 1825 #define _IQ28toIQ23(A) ((_iq23)(A) >> (5)) 1826 #define _IQ28toIQ22(A) ((_iq22)(A) >> (6)) 1827 #define _IQ28toIQ21(A) ((_iq21)(A) >> (7)) 1828 #define _IQ28toIQ20(A) ((_iq20)(A) >> (8)) 1829 #define _IQ28toIQ19(A) ((_iq19)(A) >> (9)) 1830 #define _IQ28toIQ18(A) ((_iq18)(A) >> (10)) 1831 #define _IQ28toIQ17(A) ((_iq17)(A) >> (11)) 1832 #define _IQ28toIQ16(A) ((_iq16)(A) >> (12)) 1833 #define _IQ28toIQ15(A) ((_iq15)(A) >> (13)) 1834 #define _IQ28toIQ14(A) ((_iq14)(A) >> (14)) 1835 #define _IQ28toIQ13(A) ((_iq13)(A) >> (15)) 1836 #define _IQ28toIQ12(A) ((_iq12)(A) >> (16)) 1837 #define _IQ28toIQ11(A) ((_iq11)(A) >> (17)) 1838 #define _IQ28toIQ10(A) ((_iq10)(A) >> (18)) 1839 #define _IQ28toIQ9(A) ((_iq9 )(A) >> (19)) 1840 #define _IQ28toIQ8(A) ((_iq8 )(A) >> (20)) 1841 #define _IQ28toIQ7(A) ((_iq7 )(A) >> (21)) 1842 #define _IQ28toIQ6(A) ((_iq6 )(A) >> (22)) 1843 #define _IQ28toIQ5(A) ((_iq5 )(A) >> (23)) 1844 #define _IQ28toIQ4(A) ((_iq4 )(A) >> (24)) 1845 #define _IQ28toIQ3(A) ((_iq3 )(A) >> (25)) 1846 #define _IQ28toIQ2(A) ((_iq2 )(A) >> (26)) 1847 #define _IQ28toIQ1(A) ((_iq1 )(A) >> (27)) 1850 #define _IQ29toIQ30(A) ((_iq30)(A) << (1)) 1851 #define _IQ29toIQ28(A) ((_iq28)(A) >> (1)) 1852 #define _IQ29toIQ27(A) ((_iq27)(A) >> (2)) 1853 #define _IQ29toIQ26(A) ((_iq26)(A) >> (3)) 1854 #define _IQ29toIQ25(A) ((_iq25)(A) >> (4)) 1855 #define _IQ29toIQ24(A) ((_iq24)(A) >> (5)) 1856 #define _IQ29toIQ23(A) ((_iq23)(A) >> (6)) 1857 #define _IQ29toIQ22(A) ((_iq22)(A) >> (7)) 1858 #define _IQ29toIQ21(A) ((_iq21)(A) >> (8)) 1859 #define _IQ29toIQ20(A) ((_iq20)(A) >> (9)) 1860 #define _IQ29toIQ19(A) ((_iq19)(A) >> (10)) 1861 #define _IQ29toIQ18(A) ((_iq18)(A) >> (11)) 1862 #define _IQ29toIQ17(A) ((_iq17)(A) >> (12)) 1863 #define _IQ29toIQ16(A) ((_iq16)(A) >> (13)) 1864 #define _IQ29toIQ15(A) ((_iq15)(A) >> (14)) 1865 #define _IQ29toIQ14(A) ((_iq14)(A) >> (15)) 1866 #define _IQ29toIQ13(A) ((_iq13)(A) >> (16)) 1867 #define _IQ29toIQ12(A) ((_iq12)(A) >> (17)) 1868 #define _IQ29toIQ11(A) ((_iq11)(A) >> (18)) 1869 #define _IQ29toIQ10(A) ((_iq10)(A) >> (19)) 1870 #define _IQ29toIQ9(A) ((_iq9 )(A) >> (20)) 1871 #define _IQ29toIQ8(A) ((_iq8 )(A) >> (21)) 1872 #define _IQ29toIQ7(A) ((_iq7 )(A) >> (22)) 1873 #define _IQ29toIQ6(A) ((_iq6 )(A) >> (23)) 1874 #define _IQ29toIQ5(A) ((_iq5 )(A) >> (24)) 1875 #define _IQ29toIQ4(A) ((_iq4 )(A) >> (25)) 1876 #define _IQ29toIQ3(A) ((_iq3 )(A) >> (26)) 1877 #define _IQ29toIQ2(A) ((_iq2 )(A) >> (27)) 1878 #define _IQ29toIQ1(A) ((_iq1 )(A) >> (28)) 1881 #define _IQ30toIQ29(A) ((_iq29)(A) >> (1)) 1882 #define _IQ30toIQ28(A) ((_iq28)(A) >> (2)) 1883 #define _IQ30toIQ27(A) ((_iq27)(A) >> (3)) 1884 #define _IQ30toIQ26(A) ((_iq26)(A) >> (4)) 1885 #define _IQ30toIQ25(A) ((_iq25)(A) >> (5)) 1886 #define _IQ30toIQ24(A) ((_iq24)(A) >> (6)) 1887 #define _IQ30toIQ23(A) ((_iq23)(A) >> (7)) 1888 #define _IQ30toIQ22(A) ((_iq22)(A) >> (8)) 1889 #define _IQ30toIQ21(A) ((_iq21)(A) >> (9)) 1890 #define _IQ30toIQ20(A) ((_iq20)(A) >> (10)) 1891 #define _IQ30toIQ19(A) ((_iq19)(A) >> (11)) 1892 #define _IQ30toIQ18(A) ((_iq18)(A) >> (12)) 1893 #define _IQ30toIQ17(A) ((_iq17)(A) >> (13)) 1894 #define _IQ30toIQ16(A) ((_iq16)(A) >> (14)) 1895 #define _IQ30toIQ15(A) ((_iq15)(A) >> (15)) 1896 #define _IQ30toIQ14(A) ((_iq14)(A) >> (16)) 1897 #define _IQ30toIQ13(A) ((_iq13)(A) >> (17)) 1898 #define _IQ30toIQ12(A) ((_iq12)(A) >> (18)) 1899 #define _IQ30toIQ11(A) ((_iq11)(A) >> (19)) 1900 #define _IQ30toIQ10(A) ((_iq10)(A) >> (20)) 1901 #define _IQ30toIQ9(A) ((_iq9 )(A) >> (21)) 1902 #define _IQ30toIQ8(A) ((_iq8 )(A) >> (22)) 1903 #define _IQ30toIQ7(A) ((_iq7 )(A) >> (23)) 1904 #define _IQ30toIQ6(A) ((_iq6 )(A) >> (24)) 1905 #define _IQ30toIQ5(A) ((_iq5 )(A) >> (25)) 1906 #define _IQ30toIQ4(A) ((_iq4 )(A) >> (26)) 1907 #define _IQ30toIQ3(A) ((_iq3 )(A) >> (27)) 1908 #define _IQ30toIQ2(A) ((_iq2 )(A) >> (28)) 1909 #define _IQ30toIQ1(A) ((_iq1 )(A) >> (29)) 1913 #ifndef DOXYGEN_SHOULD_SKIP_THIS 1919 #if (GLOBAL_IQ >= 15) 1920 #define _IQtoQ15(A) ((int32_t)(A) >> (GLOBAL_IQ - 15)) 1921 #define _Q15toIQ(A) ((_iq15)(A) << (GLOBAL_IQ - 15)) 1923 #define _IQtoQ15(A) ((int32_t)(A) << (15 - GLOBAL_IQ)) 1924 #define _Q15toIQ(A) ((_iq15)(A) >> (15 - GLOBAL_IQ)) 1927 #if (GLOBAL_IQ >= 14) 1928 #define _IQtoQ14(A) ((int32_t)(A) >> (GLOBAL_IQ - 14)) 1929 #define _Q14toIQ(A) ((_iq14)(A) << (GLOBAL_IQ - 14)) 1931 #define _IQtoQ14(A) ((int32_t)(A) << (14 - GLOBAL_IQ)) 1932 #define _Q14toIQ(A) ((_iq14)(A) >> (14 - GLOBAL_IQ)) 1935 #if (GLOBAL_IQ >= 13) 1936 #define _IQtoQ13(A) ((int32_t)(A) >> (GLOBAL_IQ - 13)) 1937 #define _Q13toIQ(A) ((_iq13)(A) << (GLOBAL_IQ - 13)) 1939 #define _IQtoQ13(A) ((int32_t)(A) << (13 - GLOBAL_IQ)) 1940 #define _Q13toIQ(A) ((_iq13)(A) >> (13 - GLOBAL_IQ)) 1943 #if (GLOBAL_IQ >= 12) 1944 #define _IQtoQ12(A) ((int32_t)(A) >> (GLOBAL_IQ - 12)) 1945 #define _Q12toIQ(A) ((_iq12)(A) << (GLOBAL_IQ - 12)) 1947 #define _IQtoQ12(A) ((int32_t)(A) << (12 - GLOBAL_IQ)) 1948 #define _Q12toIQ(A) ((_iq12)(A) >> (12 - GLOBAL_IQ)) 1951 #if (GLOBAL_IQ >= 11) 1952 #define _IQtoQ11(A) ((int32_t)(A) >> (GLOBAL_IQ - 11)) 1953 #define _Q11toIQ(A) ((_iq11)(A) << (GLOBAL_IQ - 11)) 1955 #define _IQtoQ11(A) ((int32_t)(A) << (11 - GLOBAL_IQ)) 1956 #define _Q11toIQ(A) ((_iq11)(A) >> (11 - GLOBAL_IQ)) 1959 #if (GLOBAL_IQ >= 10) 1960 #define _IQtoQ10(A) ((int32_t)(A) >> (GLOBAL_IQ - 10)) 1961 #define _Q10toIQ(A) ((_iq10)(A) << (GLOBAL_IQ - 10)) 1963 #define _IQtoQ10(A) ((int32_t)(A) << (10 - GLOBAL_IQ)) 1964 #define _Q10toIQ(A) ((_iq10)(A) >> (10 - GLOBAL_IQ)) 1967 #if (GLOBAL_IQ >= 9) 1968 #define _IQtoQ9(A) ((int32_t)(A) >> (GLOBAL_IQ - 9)) 1969 #define _Q9toIQ(A) ((_iq9)(A) << (GLOBAL_IQ - 9)) 1971 #define _IQtoQ9(A) ((int32_t)(A) << (9 - GLOBAL_IQ)) 1972 #define _Q9toIQ(A) ((_iq9)(A) >> (9 - GLOBAL_IQ)) 1975 #if (GLOBAL_IQ >= 8) 1976 #define _IQtoQ8(A) ((int32_t)(A) >> (GLOBAL_IQ - 8)) 1977 #define _Q8toIQ(A) ((_iq8)(A) << (GLOBAL_IQ - 8)) 1979 #define _IQtoQ8(A) ((int32_t)(A) << (8 - GLOBAL_IQ)) 1980 #define _Q8toIQ(A) ((_iq8)(A) >> (8 - GLOBAL_IQ)) 1983 #if (GLOBAL_IQ >= 7) 1984 #define _IQtoQ7(A) ((int32_t)(A) >> (GLOBAL_IQ - 7)) 1985 #define _Q7toIQ(A) ((_iq7)(A) << (GLOBAL_IQ - 7)) 1987 #define _IQtoQ7(A) ((int32_t)(A) << (7 - GLOBAL_IQ)) 1988 #define _Q7toIQ(A) ((_iq7)(A) >> (7 - GLOBAL_IQ)) 1991 #if (GLOBAL_IQ >= 6) 1992 #define _IQtoQ6(A) ((int32_t)(A) >> (GLOBAL_IQ - 6)) 1993 #define _Q6toIQ(A) ((_iq6)(A) << (GLOBAL_IQ - 6)) 1995 #define _IQtoQ6(A) ((int32_t)(A) << (6 - GLOBAL_IQ)) 1996 #define _Q6toIQ(A) ((_iq6)(A) >> (6 - GLOBAL_IQ)) 1999 #if (GLOBAL_IQ >= 5) 2000 #define _IQtoQ5(A) ((int32_t)(A) >> (GLOBAL_IQ - 5)) 2001 #define _Q5toIQ(A) ((_iq5)(A) << (GLOBAL_IQ - 5)) 2003 #define _IQtoQ5(A) ((int32_t)(A) << (5 - GLOBAL_IQ)) 2004 #define _Q5toIQ(A) ((_iq5)(A) >> (5 - GLOBAL_IQ)) 2007 #if (GLOBAL_IQ >= 4) 2008 #define _IQtoQ4(A) ((int32_t)(A) >> (GLOBAL_IQ - 4)) 2009 #define _Q4toIQ(A) ((_iq4)(A) << (GLOBAL_IQ - 4)) 2011 #define _IQtoQ4(A) ((int32_t)(A) << (4 - GLOBAL_IQ)) 2012 #define _Q4toIQ(A) ((_iq4)(A) >> (4 - GLOBAL_IQ)) 2015 #if (GLOBAL_IQ >= 3) 2016 #define _IQtoQ3(A) ((int32_t)(A) >> (GLOBAL_IQ - 3)) 2017 #define _Q3toIQ(A) ((_iq3)(A) << (GLOBAL_IQ - 3)) 2019 #define _IQtoQ3(A) ((int32_t)(A) << (3 - GLOBAL_IQ)) 2020 #define _Q3toIQ(A) ((_iq3)(A) >> (3 - GLOBAL_IQ)) 2023 #if (GLOBAL_IQ >= 2) 2024 #define _IQtoQ2(A) ((int32_t)(A) >> (GLOBAL_IQ - 2)) 2025 #define _Q2toIQ(A) ((_iq2)(A) << (GLOBAL_IQ - 2)) 2027 #define _IQtoQ2(A) ((int32_t)(A) << (2 - GLOBAL_IQ)) 2028 #define _Q2toIQ(A) ((_iq2)(A) >> (2 - GLOBAL_IQ)) 2031 #define _IQtoQ1(A) ((int32_t)(A) >> (GLOBAL_IQ - 1)) 2032 #define _Q1toIQ(A) ((_iq1)(A) << (GLOBAL_IQ - 1)) 2041 #ifndef DOXYGEN_SHOULD_SKIP_THIS 2042 extern _iq30
_IQ30mpy(_iq30 A, _iq30 B);
2043 extern _iq29
_IQ29mpy(_iq29 A, _iq29 B);
2044 extern _iq28
_IQ28mpy(_iq28 A, _iq28 B);
2045 extern _iq27
_IQ27mpy(_iq27 A, _iq27 B);
2046 extern _iq26
_IQ26mpy(_iq26 A, _iq26 B);
2047 extern _iq25
_IQ25mpy(_iq25 A, _iq25 B);
2048 extern _iq24
_IQ24mpy(_iq24 A, _iq24 B);
2049 extern _iq23
_IQ23mpy(_iq23 A, _iq23 B);
2050 extern _iq22
_IQ22mpy(_iq22 A, _iq22 B);
2051 extern _iq21
_IQ21mpy(_iq21 A, _iq21 B);
2052 extern _iq20
_IQ20mpy(_iq20 A, _iq20 B);
2053 extern _iq19
_IQ19mpy(_iq19 A, _iq19 B);
2054 extern _iq18
_IQ18mpy(_iq18 A, _iq18 B);
2055 extern _iq17
_IQ17mpy(_iq17 A, _iq17 B);
2056 extern _iq16
_IQ16mpy(_iq16 A, _iq16 B);
2057 extern _iq15
_IQ15mpy(_iq15 A, _iq15 B);
2058 extern _iq14
_IQ14mpy(_iq14 A, _iq14 B);
2059 extern _iq13
_IQ13mpy(_iq13 A, _iq13 B);
2060 extern _iq12
_IQ12mpy(_iq12 A, _iq12 B);
2061 extern _iq11
_IQ11mpy(_iq11 A, _iq11 B);
2062 extern _iq10
_IQ10mpy(_iq10 A, _iq10 B);
2063 extern _iq9
_IQ9mpy(_iq9 A, _iq9 B);
2064 extern _iq8
_IQ8mpy(_iq8 A, _iq8 B);
2065 extern _iq7
_IQ7mpy(_iq7 A, _iq7 B);
2066 extern _iq6
_IQ6mpy(_iq6 A, _iq6 B);
2067 extern _iq5
_IQ5mpy(_iq5 A, _iq5 B);
2068 extern _iq4
_IQ4mpy(_iq4 A, _iq4 B);
2069 extern _iq3
_IQ3mpy(_iq3 A, _iq3 B);
2070 extern _iq2
_IQ2mpy(_iq2 A, _iq2 B);
2071 extern _iq1
_IQ1mpy(_iq1 A, _iq1 B);
2079 #if ((defined (__IQMATH_USE_MATHACL__)) && (defined (__MSPM0_HAS_MATHACL__))) 2080 extern int32_t _IQrepeat(int32_t A, int32_t B);
2095 #define _IQmpy(A, B) _IQ30mpy(A, B) 2098 #define _IQmpy(A, B) _IQ29mpy(A, B) 2101 #define _IQmpy(A, B) _IQ28mpy(A, B) 2104 #define _IQmpy(A, B) _IQ27mpy(A, B) 2107 #define _IQmpy(A, B) _IQ26mpy(A, B) 2110 #define _IQmpy(A, B) _IQ25mpy(A, B) 2113 #define _IQmpy(A, B) _IQ24mpy(A, B) 2116 #define _IQmpy(A, B) _IQ23mpy(A, B) 2119 #define _IQmpy(A, B) _IQ22mpy(A, B) 2122 #define _IQmpy(A, B) _IQ21mpy(A, B) 2125 #define _IQmpy(A, B) _IQ20mpy(A, B) 2128 #define _IQmpy(A, B) _IQ19mpy(A, B) 2131 #define _IQmpy(A, B) _IQ18mpy(A, B) 2134 #define _IQmpy(A, B) _IQ17mpy(A, B) 2137 #define _IQmpy(A, B) _IQ16mpy(A, B) 2140 #define _IQmpy(A, B) _IQ15mpy(A, B) 2143 #define _IQmpy(A, B) _IQ14mpy(A, B) 2146 #define _IQmpy(A, B) _IQ13mpy(A, B) 2149 #define _IQmpy(A, B) _IQ12mpy(A, B) 2152 #define _IQmpy(A, B) _IQ11mpy(A, B) 2155 #define _IQmpy(A, B) _IQ10mpy(A, B) 2158 #define _IQmpy(A, B) _IQ9mpy(A, B) 2161 #define _IQmpy(A, B) _IQ8mpy(A, B) 2164 #define _IQmpy(A, B) _IQ7mpy(A, B) 2167 #define _IQmpy(A, B) _IQ6mpy(A, B) 2170 #define _IQmpy(A, B) _IQ5mpy(A, B) 2173 #define _IQmpy(A, B) _IQ4mpy(A, B) 2176 #define _IQmpy(A, B) _IQ3mpy(A, B) 2179 #define _IQmpy(A, B) _IQ2mpy(A, B) 2182 #define _IQmpy(A, B) _IQ1mpy(A, B) 2190 #ifndef DOXYGEN_SHOULD_SKIP_THIS 2191 extern _iq30
_IQ30rmpy(_iq30 A, _iq30 B);
2192 extern _iq29
_IQ29rmpy(_iq29 A, _iq29 B);
2193 extern _iq28
_IQ28rmpy(_iq28 A, _iq28 B);
2194 extern _iq27
_IQ27rmpy(_iq27 A, _iq27 B);
2195 extern _iq26
_IQ26rmpy(_iq26 A, _iq26 B);
2196 extern _iq25
_IQ25rmpy(_iq25 A, _iq25 B);
2197 extern _iq24
_IQ24rmpy(_iq24 A, _iq24 B);
2198 extern _iq23
_IQ23rmpy(_iq23 A, _iq23 B);
2199 extern _iq22
_IQ22rmpy(_iq22 A, _iq22 B);
2200 extern _iq21
_IQ21rmpy(_iq21 A, _iq21 B);
2201 extern _iq20
_IQ20rmpy(_iq20 A, _iq20 B);
2202 extern _iq19
_IQ19rmpy(_iq19 A, _iq19 B);
2203 extern _iq18
_IQ18rmpy(_iq18 A, _iq18 B);
2204 extern _iq17
_IQ17rmpy(_iq17 A, _iq17 B);
2205 extern _iq16
_IQ16rmpy(_iq16 A, _iq16 B);
2206 extern _iq15
_IQ15rmpy(_iq15 A, _iq15 B);
2207 extern _iq14
_IQ14rmpy(_iq14 A, _iq14 B);
2208 extern _iq13
_IQ13rmpy(_iq13 A, _iq13 B);
2209 extern _iq12
_IQ12rmpy(_iq12 A, _iq12 B);
2210 extern _iq11
_IQ11rmpy(_iq11 A, _iq11 B);
2211 extern _iq10
_IQ10rmpy(_iq10 A, _iq10 B);
2212 extern _iq9
_IQ9rmpy(_iq9 A, _iq9 B);
2213 extern _iq8
_IQ8rmpy(_iq8 A, _iq8 B);
2214 extern _iq7
_IQ7rmpy(_iq7 A, _iq7 B);
2215 extern _iq6
_IQ6rmpy(_iq6 A, _iq6 B);
2216 extern _iq5
_IQ5rmpy(_iq5 A, _iq5 B);
2217 extern _iq4
_IQ4rmpy(_iq4 A, _iq4 B);
2218 extern _iq3
_IQ3rmpy(_iq3 A, _iq3 B);
2219 extern _iq2
_IQ2rmpy(_iq2 A, _iq2 B);
2220 extern _iq1
_IQ1rmpy(_iq1 A, _iq1 B);
2232 #define _IQrmpy(A, B) _IQ30rmpy(A, B) 2235 #define _IQrmpy(A, B) _IQ29rmpy(A, B) 2238 #define _IQrmpy(A, B) _IQ28rmpy(A, B) 2241 #define _IQrmpy(A, B) _IQ27rmpy(A, B) 2244 #define _IQrmpy(A, B) _IQ26rmpy(A, B) 2247 #define _IQrmpy(A, B) _IQ25rmpy(A, B) 2250 #define _IQrmpy(A, B) _IQ24rmpy(A, B) 2253 #define _IQrmpy(A, B) _IQ23rmpy(A, B) 2256 #define _IQrmpy(A, B) _IQ22rmpy(A, B) 2259 #define _IQrmpy(A, B) _IQ21rmpy(A, B) 2262 #define _IQrmpy(A, B) _IQ20rmpy(A, B) 2265 #define _IQrmpy(A, B) _IQ19rmpy(A, B) 2268 #define _IQrmpy(A, B) _IQ18rmpy(A, B) 2271 #define _IQrmpy(A, B) _IQ17rmpy(A, B) 2274 #define _IQrmpy(A, B) _IQ16rmpy(A, B) 2277 #define _IQrmpy(A, B) _IQ15rmpy(A, B) 2280 #define _IQrmpy(A, B) _IQ14rmpy(A, B) 2283 #define _IQrmpy(A, B) _IQ13rmpy(A, B) 2286 #define _IQrmpy(A, B) _IQ12rmpy(A, B) 2289 #define _IQrmpy(A, B) _IQ11rmpy(A, B) 2292 #define _IQrmpy(A, B) _IQ10rmpy(A, B) 2295 #define _IQrmpy(A, B) _IQ9rmpy(A, B) 2298 #define _IQrmpy(A, B) _IQ8rmpy(A, B) 2301 #define _IQrmpy(A, B) _IQ7rmpy(A, B) 2304 #define _IQrmpy(A, B) _IQ6rmpy(A, B) 2307 #define _IQrmpy(A, B) _IQ5rmpy(A, B) 2310 #define _IQrmpy(A, B) _IQ4rmpy(A, B) 2313 #define _IQrmpy(A, B) _IQ3rmpy(A, B) 2316 #define _IQrmpy(A, B) _IQ2rmpy(A, B) 2319 #define _IQrmpy(A, B) _IQ1rmpy(A, B) 2327 #ifndef DOXYGEN_SHOULD_SKIP_THIS 2369 #define _IQrsmpy(A, B) _IQ30rsmpy(A, B) 2372 #define _IQrsmpy(A, B) _IQ29rsmpy(A, B) 2375 #define _IQrsmpy(A, B) _IQ28rsmpy(A, B) 2378 #define _IQrsmpy(A, B) _IQ27rsmpy(A, B) 2381 #define _IQrsmpy(A, B) _IQ26rsmpy(A, B) 2384 #define _IQrsmpy(A, B) _IQ25rsmpy(A, B) 2387 #define _IQrsmpy(A, B) _IQ24rsmpy(A, B) 2390 #define _IQrsmpy(A, B) _IQ23rsmpy(A, B) 2393 #define _IQrsmpy(A, B) _IQ22rsmpy(A, B) 2396 #define _IQrsmpy(A, B) _IQ21rsmpy(A, B) 2399 #define _IQrsmpy(A, B) _IQ20rsmpy(A, B) 2402 #define _IQrsmpy(A, B) _IQ19rsmpy(A, B) 2405 #define _IQrsmpy(A, B) _IQ18rsmpy(A, B) 2408 #define _IQrsmpy(A, B) _IQ17rsmpy(A, B) 2411 #define _IQrsmpy(A, B) _IQ16rsmpy(A, B) 2414 #define _IQrsmpy(A, B) _IQ15rsmpy(A, B) 2417 #define _IQrsmpy(A, B) _IQ14rsmpy(A, B) 2420 #define _IQrsmpy(A, B) _IQ13rsmpy(A, B) 2423 #define _IQrsmpy(A, B) _IQ12rsmpy(A, B) 2426 #define _IQrsmpy(A, B) _IQ11rsmpy(A, B) 2429 #define _IQrsmpy(A, B) _IQ10rsmpy(A, B) 2432 #define _IQrsmpy(A, B) _IQ9rsmpy(A, B) 2435 #define _IQrsmpy(A, B) _IQ8rsmpy(A, B) 2438 #define _IQrsmpy(A, B) _IQ7rsmpy(A, B) 2441 #define _IQrsmpy(A, B) _IQ6rsmpy(A, B) 2444 #define _IQrsmpy(A, B) _IQ5rsmpy(A, B) 2447 #define _IQrsmpy(A, B) _IQ4rsmpy(A, B) 2450 #define _IQrsmpy(A, B) _IQ3rsmpy(A, B) 2453 #define _IQrsmpy(A, B) _IQ2rsmpy(A, B) 2456 #define _IQrsmpy(A, B) _IQ1rsmpy(A, B) 2464 #ifndef DOXYGEN_SHOULD_SKIP_THIS 2465 extern _iq30
_IQ30div(_iq30 A, _iq30 B);
2466 extern _iq29
_IQ29div(_iq29 A, _iq29 B);
2467 extern _iq28
_IQ28div(_iq28 A, _iq28 B);
2468 extern _iq27
_IQ27div(_iq27 A, _iq27 B);
2469 extern _iq26
_IQ26div(_iq26 A, _iq26 B);
2470 extern _iq25
_IQ25div(_iq25 A, _iq25 B);
2471 extern _iq24
_IQ24div(_iq24 A, _iq24 B);
2472 extern _iq23
_IQ23div(_iq23 A, _iq23 B);
2473 extern _iq22
_IQ22div(_iq22 A, _iq22 B);
2474 extern _iq21
_IQ21div(_iq21 A, _iq21 B);
2475 extern _iq20
_IQ20div(_iq20 A, _iq20 B);
2476 extern _iq19
_IQ19div(_iq19 A, _iq19 B);
2477 extern _iq18
_IQ18div(_iq18 A, _iq18 B);
2478 extern _iq17
_IQ17div(_iq17 A, _iq17 B);
2479 extern _iq16
_IQ16div(_iq16 A, _iq16 B);
2480 extern _iq15
_IQ15div(_iq15 A, _iq15 B);
2481 extern _iq14
_IQ14div(_iq14 A, _iq14 B);
2482 extern _iq13
_IQ13div(_iq13 A, _iq13 B);
2483 extern _iq12
_IQ12div(_iq12 A, _iq12 B);
2484 extern _iq11
_IQ11div(_iq11 A, _iq11 B);
2485 extern _iq10
_IQ10div(_iq10 A, _iq10 B);
2486 extern _iq9
_IQ9div(_iq9 A, _iq9 B);
2487 extern _iq8
_IQ8div(_iq8 A, _iq8 B);
2488 extern _iq7
_IQ7div(_iq7 A, _iq7 B);
2489 extern _iq6
_IQ6div(_iq6 A, _iq6 B);
2490 extern _iq5
_IQ5div(_iq5 A, _iq5 B);
2491 extern _iq4
_IQ4div(_iq4 A, _iq4 B);
2492 extern _iq3
_IQ3div(_iq3 A, _iq3 B);
2493 extern _iq2
_IQ2div(_iq2 A, _iq2 B);
2494 extern _iq1
_IQ1div(_iq1 A, _iq1 B);
2506 #define _IQdiv(A, B) _IQ30div(A, B) 2509 #define _IQdiv(A, B) _IQ29div(A, B) 2512 #define _IQdiv(A, B) _IQ28div(A, B) 2515 #define _IQdiv(A, B) _IQ27div(A, B) 2518 #define _IQdiv(A, B) _IQ26div(A, B) 2521 #define _IQdiv(A, B) _IQ25div(A, B) 2524 #define _IQdiv(A, B) _IQ24div(A, B) 2527 #define _IQdiv(A, B) _IQ23div(A, B) 2530 #define _IQdiv(A, B) _IQ22div(A, B) 2533 #define _IQdiv(A, B) _IQ21div(A, B) 2536 #define _IQdiv(A, B) _IQ20div(A, B) 2539 #define _IQdiv(A, B) _IQ19div(A, B) 2542 #define _IQdiv(A, B) _IQ18div(A, B) 2545 #define _IQdiv(A, B) _IQ17div(A, B) 2548 #define _IQdiv(A, B) _IQ16div(A, B) 2551 #define _IQdiv(A, B) _IQ15div(A, B) 2554 #define _IQdiv(A, B) _IQ14div(A, B) 2557 #define _IQdiv(A, B) _IQ13div(A, B) 2560 #define _IQdiv(A, B) _IQ12div(A, B) 2563 #define _IQdiv(A, B) _IQ11div(A, B) 2566 #define _IQdiv(A, B) _IQ10div(A, B) 2569 #define _IQdiv(A, B) _IQ9div(A, B) 2572 #define _IQdiv(A, B) _IQ8div(A, B) 2575 #define _IQdiv(A, B) _IQ7div(A, B) 2578 #define _IQdiv(A, B) _IQ6div(A, B) 2581 #define _IQdiv(A, B) _IQ5div(A, B) 2584 #define _IQdiv(A, B) _IQ4div(A, B) 2587 #define _IQdiv(A, B) _IQ3div(A, B) 2590 #define _IQdiv(A, B) _IQ2div(A, B) 2593 #define _IQdiv(A, B) _IQ1div(A, B) 2601 #ifndef DOXYGEN_SHOULD_SKIP_THIS 2641 #define _IQsin(A) _IQ29sin(A) 2644 #define _IQsin(A) _IQ28sin(A) 2647 #define _IQsin(A) _IQ27sin(A) 2650 #define _IQsin(A) _IQ26sin(A) 2653 #define _IQsin(A) _IQ25sin(A) 2656 #define _IQsin(A) _IQ24sin(A) 2659 #define _IQsin(A) _IQ23sin(A) 2662 #define _IQsin(A) _IQ22sin(A) 2665 #define _IQsin(A) _IQ21sin(A) 2668 #define _IQsin(A) _IQ20sin(A) 2671 #define _IQsin(A) _IQ19sin(A) 2674 #define _IQsin(A) _IQ18sin(A) 2677 #define _IQsin(A) _IQ17sin(A) 2680 #define _IQsin(A) _IQ16sin(A) 2683 #define _IQsin(A) _IQ15sin(A) 2686 #define _IQsin(A) _IQ14sin(A) 2689 #define _IQsin(A) _IQ13sin(A) 2692 #define _IQsin(A) _IQ12sin(A) 2695 #define _IQsin(A) _IQ11sin(A) 2698 #define _IQsin(A) _IQ10sin(A) 2701 #define _IQsin(A) _IQ9sin(A) 2704 #define _IQsin(A) _IQ8sin(A) 2707 #define _IQsin(A) _IQ7sin(A) 2710 #define _IQsin(A) _IQ6sin(A) 2713 #define _IQsin(A) _IQ5sin(A) 2716 #define _IQsin(A) _IQ4sin(A) 2719 #define _IQsin(A) _IQ3sin(A) 2722 #define _IQsin(A) _IQ2sin(A) 2725 #define _IQsin(A) _IQ1sin(A) 2733 #ifndef DOXYGEN_SHOULD_SKIP_THIS 2774 #define _IQsinPU(A) _IQ30sinPU(A) 2777 #define _IQsinPU(A) _IQ29sinPU(A) 2780 #define _IQsinPU(A) _IQ28sinPU(A) 2783 #define _IQsinPU(A) _IQ27sinPU(A) 2786 #define _IQsinPU(A) _IQ26sinPU(A) 2789 #define _IQsinPU(A) _IQ25sinPU(A) 2792 #define _IQsinPU(A) _IQ24sinPU(A) 2795 #define _IQsinPU(A) _IQ23sinPU(A) 2798 #define _IQsinPU(A) _IQ22sinPU(A) 2801 #define _IQsinPU(A) _IQ21sinPU(A) 2804 #define _IQsinPU(A) _IQ20sinPU(A) 2807 #define _IQsinPU(A) _IQ19sinPU(A) 2810 #define _IQsinPU(A) _IQ18sinPU(A) 2813 #define _IQsinPU(A) _IQ17sinPU(A) 2816 #define _IQsinPU(A) _IQ16sinPU(A) 2819 #define _IQsinPU(A) _IQ15sinPU(A) 2822 #define _IQsinPU(A) _IQ14sinPU(A) 2825 #define _IQsinPU(A) _IQ13sinPU(A) 2828 #define _IQsinPU(A) _IQ12sinPU(A) 2831 #define _IQsinPU(A) _IQ11sinPU(A) 2834 #define _IQsinPU(A) _IQ10sinPU(A) 2837 #define _IQsinPU(A) _IQ9sinPU(A) 2840 #define _IQsinPU(A) _IQ8sinPU(A) 2843 #define _IQsinPU(A) _IQ7sinPU(A) 2846 #define _IQsinPU(A) _IQ6sinPU(A) 2849 #define _IQsinPU(A) _IQ5sinPU(A) 2852 #define _IQsinPU(A) _IQ4sinPU(A) 2855 #define _IQsinPU(A) _IQ3sinPU(A) 2858 #define _IQsinPU(A) _IQ2sinPU(A) 2861 #define _IQsinPU(A) _IQ1sinPU(A) 2869 #ifndef DOXYGEN_SHOULD_SKIP_THIS 2909 #define _IQasin(A) _IQ29asin(A) 2912 #define _IQasin(A) _IQ28asin(A) 2915 #define _IQasin(A) _IQ27asin(A) 2918 #define _IQasin(A) _IQ26asin(A) 2921 #define _IQasin(A) _IQ25asin(A) 2924 #define _IQasin(A) _IQ24asin(A) 2927 #define _IQasin(A) _IQ23asin(A) 2930 #define _IQasin(A) _IQ22asin(A) 2933 #define _IQasin(A) _IQ21asin(A) 2936 #define _IQasin(A) _IQ20asin(A) 2939 #define _IQasin(A) _IQ19asin(A) 2942 #define _IQasin(A) _IQ18asin(A) 2945 #define _IQasin(A) _IQ17asin(A) 2948 #define _IQasin(A) _IQ16asin(A) 2951 #define _IQasin(A) _IQ15asin(A) 2954 #define _IQasin(A) _IQ14asin(A) 2957 #define _IQasin(A) _IQ13asin(A) 2960 #define _IQasin(A) _IQ12asin(A) 2963 #define _IQasin(A) _IQ11asin(A) 2966 #define _IQasin(A) _IQ10asin(A) 2969 #define _IQasin(A) _IQ9asin(A) 2972 #define _IQasin(A) _IQ8asin(A) 2975 #define _IQasin(A) _IQ7asin(A) 2978 #define _IQasin(A) _IQ6asin(A) 2981 #define _IQasin(A) _IQ5asin(A) 2984 #define _IQasin(A) _IQ4asin(A) 2987 #define _IQasin(A) _IQ3asin(A) 2990 #define _IQasin(A) _IQ2asin(A) 2993 #define _IQasin(A) _IQ1asin(A) 3001 #ifndef DOXYGEN_SHOULD_SKIP_THIS 3041 #define _IQcos(A) _IQ29cos(A) 3044 #define _IQcos(A) _IQ28cos(A) 3047 #define _IQcos(A) _IQ27cos(A) 3050 #define _IQcos(A) _IQ26cos(A) 3053 #define _IQcos(A) _IQ25cos(A) 3056 #define _IQcos(A) _IQ24cos(A) 3059 #define _IQcos(A) _IQ23cos(A) 3062 #define _IQcos(A) _IQ22cos(A) 3065 #define _IQcos(A) _IQ21cos(A) 3068 #define _IQcos(A) _IQ20cos(A) 3071 #define _IQcos(A) _IQ19cos(A) 3074 #define _IQcos(A) _IQ18cos(A) 3077 #define _IQcos(A) _IQ17cos(A) 3080 #define _IQcos(A) _IQ16cos(A) 3083 #define _IQcos(A) _IQ15cos(A) 3086 #define _IQcos(A) _IQ14cos(A) 3089 #define _IQcos(A) _IQ13cos(A) 3092 #define _IQcos(A) _IQ12cos(A) 3095 #define _IQcos(A) _IQ11cos(A) 3098 #define _IQcos(A) _IQ10cos(A) 3101 #define _IQcos(A) _IQ9cos(A) 3104 #define _IQcos(A) _IQ8cos(A) 3107 #define _IQcos(A) _IQ7cos(A) 3110 #define _IQcos(A) _IQ6cos(A) 3113 #define _IQcos(A) _IQ5cos(A) 3116 #define _IQcos(A) _IQ4cos(A) 3119 #define _IQcos(A) _IQ3cos(A) 3122 #define _IQcos(A) _IQ2cos(A) 3125 #define _IQcos(A) _IQ1cos(A) 3133 #ifndef DOXYGEN_SHOULD_SKIP_THIS 3174 #define _IQcosPU(A) _IQ30cosPU(A) 3177 #define _IQcosPU(A) _IQ29cosPU(A) 3180 #define _IQcosPU(A) _IQ28cosPU(A) 3183 #define _IQcosPU(A) _IQ27cosPU(A) 3186 #define _IQcosPU(A) _IQ26cosPU(A) 3189 #define _IQcosPU(A) _IQ25cosPU(A) 3192 #define _IQcosPU(A) _IQ24cosPU(A) 3195 #define _IQcosPU(A) _IQ23cosPU(A) 3198 #define _IQcosPU(A) _IQ22cosPU(A) 3201 #define _IQcosPU(A) _IQ21cosPU(A) 3204 #define _IQcosPU(A) _IQ20cosPU(A) 3207 #define _IQcosPU(A) _IQ19cosPU(A) 3210 #define _IQcosPU(A) _IQ18cosPU(A) 3213 #define _IQcosPU(A) _IQ17cosPU(A) 3216 #define _IQcosPU(A) _IQ16cosPU(A) 3219 #define _IQcosPU(A) _IQ15cosPU(A) 3222 #define _IQcosPU(A) _IQ14cosPU(A) 3225 #define _IQcosPU(A) _IQ13cosPU(A) 3228 #define _IQcosPU(A) _IQ12cosPU(A) 3231 #define _IQcosPU(A) _IQ11cosPU(A) 3234 #define _IQcosPU(A) _IQ10cosPU(A) 3237 #define _IQcosPU(A) _IQ9cosPU(A) 3240 #define _IQcosPU(A) _IQ8cosPU(A) 3243 #define _IQcosPU(A) _IQ7cosPU(A) 3246 #define _IQcosPU(A) _IQ6cosPU(A) 3249 #define _IQcosPU(A) _IQ5cosPU(A) 3252 #define _IQcosPU(A) _IQ4cosPU(A) 3255 #define _IQcosPU(A) _IQ3cosPU(A) 3258 #define _IQcosPU(A) _IQ2cosPU(A) 3261 #define _IQcosPU(A) _IQ1cosPU(A) 3276 #define _IQ29acos(A) (_IQ29(1.570796327) - _IQ29asin(A)) 3284 #define _IQ28acos(A) (_IQ28(1.570796327) - _IQ28asin(A)) 3292 #define _IQ27acos(A) (_IQ27(1.570796327) - _IQ27asin(A)) 3300 #define _IQ26acos(A) (_IQ26(1.570796327) - _IQ26asin(A)) 3308 #define _IQ25acos(A) (_IQ25(1.570796327) - _IQ25asin(A)) 3316 #define _IQ24acos(A) (_IQ24(1.570796327) - _IQ24asin(A)) 3324 #define _IQ23acos(A) (_IQ23(1.570796327) - _IQ23asin(A)) 3332 #define _IQ22acos(A) (_IQ22(1.570796327) - _IQ22asin(A)) 3340 #define _IQ21acos(A) (_IQ21(1.570796327) - _IQ21asin(A)) 3348 #define _IQ20acos(A) (_IQ20(1.570796327) - _IQ20asin(A)) 3356 #define _IQ19acos(A) (_IQ19(1.570796327) - _IQ19asin(A)) 3364 #define _IQ18acos(A) (_IQ18(1.570796327) - _IQ18asin(A)) 3372 #define _IQ17acos(A) (_IQ17(1.570796327) - _IQ17asin(A)) 3380 #define _IQ16acos(A) (_IQ16(1.570796327) - _IQ16asin(A)) 3388 #define _IQ15acos(A) (_IQ15(1.570796327) - _IQ15asin(A)) 3396 #define _IQ14acos(A) (_IQ14(1.570796327) - _IQ14asin(A)) 3404 #define _IQ13acos(A) (_IQ13(1.570796327) - _IQ13asin(A)) 3412 #define _IQ12acos(A) (_IQ12(1.570796327) - _IQ12asin(A)) 3420 #define _IQ11acos(A) (_IQ11(1.570796327) - _IQ11asin(A)) 3428 #define _IQ10acos(A) (_IQ10(1.570796327) - _IQ10asin(A)) 3436 #define _IQ9acos(A) (_IQ9(1.570796327) - _IQ9asin(A)) 3444 #define _IQ8acos(A) (_IQ8(1.570796327) - _IQ8asin(A)) 3452 #define _IQ7acos(A) (_IQ7(1.570796327) - _IQ7asin(A)) 3460 #define _IQ6acos(A) (_IQ6(1.570796327) - _IQ6asin(A)) 3468 #define _IQ5acos(A) (_IQ5(1.570796327) - _IQ5asin(A)) 3476 #define _IQ4acos(A) (_IQ4(1.570796327) - _IQ4asin(A)) 3484 #define _IQ3acos(A) (_IQ3(1.570796327) - _IQ3asin(A)) 3492 #define _IQ2acos(A) (_IQ2(1.570796327) - _IQ2asin(A)) 3500 #define _IQ1acos(A) (_IQ1(1.570796327) - _IQ1asin(A)) 3510 #define _IQacos(A) _IQ29acos(A) 3513 #define _IQacos(A) _IQ28acos(A) 3516 #define _IQacos(A) _IQ27acos(A) 3519 #define _IQacos(A) _IQ26acos(A) 3522 #define _IQacos(A) _IQ25acos(A) 3525 #define _IQacos(A) _IQ24acos(A) 3528 #define _IQacos(A) _IQ23acos(A) 3531 #define _IQacos(A) _IQ22acos(A) 3534 #define _IQacos(A) _IQ21acos(A) 3537 #define _IQacos(A) _IQ20acos(A) 3540 #define _IQacos(A) _IQ19acos(A) 3543 #define _IQacos(A) _IQ18acos(A) 3546 #define _IQacos(A) _IQ17acos(A) 3549 #define _IQacos(A) _IQ16acos(A) 3552 #define _IQacos(A) _IQ15acos(A) 3555 #define _IQacos(A) _IQ14acos(A) 3558 #define _IQacos(A) _IQ13acos(A) 3561 #define _IQacos(A) _IQ12acos(A) 3564 #define _IQacos(A) _IQ11acos(A) 3567 #define _IQacos(A) _IQ10acos(A) 3570 #define _IQacos(A) _IQ9acos(A) 3573 #define _IQacos(A) _IQ8acos(A) 3576 #define _IQacos(A) _IQ7acos(A) 3579 #define _IQacos(A) _IQ6acos(A) 3582 #define _IQacos(A) _IQ5acos(A) 3585 #define _IQacos(A) _IQ4acos(A) 3588 #define _IQacos(A) _IQ3acos(A) 3591 #define _IQacos(A) _IQ2acos(A) 3594 #define _IQacos(A) _IQ1acos(A) 3602 #ifndef DOXYGEN_SHOULD_SKIP_THIS 3645 #define _IQatan2(A, B) _IQ29atan2(A, B) 3648 #define _IQatan2(A, B) _IQ28atan2(A, B) 3651 #define _IQatan2(A, B) _IQ27atan2(A, B) 3654 #define _IQatan2(A, B) _IQ26atan2(A, B) 3657 #define _IQatan2(A, B) _IQ25atan2(A, B) 3660 #define _IQatan2(A, B) _IQ24atan2(A, B) 3663 #define _IQatan2(A, B) _IQ23atan2(A, B) 3666 #define _IQatan2(A, B) _IQ22atan2(A, B) 3669 #define _IQatan2(A, B) _IQ21atan2(A, B) 3672 #define _IQatan2(A, B) _IQ20atan2(A, B) 3675 #define _IQatan2(A, B) _IQ19atan2(A, B) 3678 #define _IQatan2(A, B) _IQ18atan2(A, B) 3681 #define _IQatan2(A, B) _IQ17atan2(A, B) 3684 #define _IQatan2(A, B) _IQ16atan2(A, B) 3687 #define _IQatan2(A, B) _IQ15atan2(A, B) 3690 #define _IQatan2(A, B) _IQ14atan2(A, B) 3693 #define _IQatan2(A, B) _IQ13atan2(A, B) 3696 #define _IQatan2(A, B) _IQ12atan2(A, B) 3699 #define _IQatan2(A, B) _IQ11atan2(A, B) 3702 #define _IQatan2(A, B) _IQ10atan2(A, B) 3705 #define _IQatan2(A, B) _IQ9atan2(A, B) 3708 #define _IQatan2(A, B) _IQ8atan2(A, B) 3711 #define _IQatan2(A, B) _IQ7atan2(A, B) 3714 #define _IQatan2(A, B) _IQ6atan2(A, B) 3717 #define _IQatan2(A, B) _IQ5atan2(A, B) 3720 #define _IQatan2(A, B) _IQ4atan2(A, B) 3723 #define _IQatan2(A, B) _IQ3atan2(A, B) 3726 #define _IQatan2(A, B) _IQ2atan2(A, B) 3729 #define _IQatan2(A, B) _IQ1atan2(A, B) 3738 #ifndef DOXYGEN_SHOULD_SKIP_THIS 3782 #define _IQatan2PU(A, B) _IQ30atan2PU(A, B) 3785 #define _IQatan2PU(A, B) _IQ29atan2PU(A, B) 3788 #define _IQatan2PU(A, B) _IQ28atan2PU(A, B) 3791 #define _IQatan2PU(A, B) _IQ27atan2PU(A, B) 3794 #define _IQatan2PU(A, B) _IQ26atan2PU(A, B) 3797 #define _IQatan2PU(A, B) _IQ25atan2PU(A, B) 3800 #define _IQatan2PU(A, B) _IQ24atan2PU(A, B) 3803 #define _IQatan2PU(A, B) _IQ23atan2PU(A, B) 3806 #define _IQatan2PU(A, B) _IQ22atan2PU(A, B) 3809 #define _IQatan2PU(A, B) _IQ21atan2PU(A, B) 3812 #define _IQatan2PU(A, B) _IQ20atan2PU(A, B) 3815 #define _IQatan2PU(A, B) _IQ19atan2PU(A, B) 3818 #define _IQatan2PU(A, B) _IQ18atan2PU(A, B) 3821 #define _IQatan2PU(A, B) _IQ17atan2PU(A, B) 3824 #define _IQatan2PU(A, B) _IQ16atan2PU(A, B) 3827 #define _IQatan2PU(A, B) _IQ15atan2PU(A, B) 3830 #define _IQatan2PU(A, B) _IQ14atan2PU(A, B) 3833 #define _IQatan2PU(A, B) _IQ13atan2PU(A, B) 3836 #define _IQatan2PU(A, B) _IQ12atan2PU(A, B) 3839 #define _IQatan2PU(A, B) _IQ11atan2PU(A, B) 3842 #define _IQatan2PU(A, B) _IQ10atan2PU(A, B) 3845 #define _IQatan2PU(A, B) _IQ9atan2PU(A, B) 3848 #define _IQatan2PU(A, B) _IQ8atan2PU(A, B) 3851 #define _IQatan2PU(A, B) _IQ7atan2PU(A, B) 3854 #define _IQatan2PU(A, B) _IQ6atan2PU(A, B) 3857 #define _IQatan2PU(A, B) _IQ5atan2PU(A, B) 3860 #define _IQatan2PU(A, B) _IQ4atan2PU(A, B) 3863 #define _IQatan2PU(A, B) _IQ3atan2PU(A, B) 3866 #define _IQatan2PU(A, B) _IQ2atan2PU(A, B) 3869 #define _IQatan2PU(A, B) _IQ1atan2PU(A, B) 3884 #define _IQ29atan(A) _IQ29atan2(A, _IQ29(1.0)) 3892 #define _IQ28atan(A) _IQ28atan2(A, _IQ28(1.0)) 3900 #define _IQ27atan(A) _IQ27atan2(A, _IQ27(1.0)) 3908 #define _IQ26atan(A) _IQ26atan2(A, _IQ26(1.0)) 3916 #define _IQ25atan(A) _IQ25atan2(A, _IQ25(1.0)) 3924 #define _IQ24atan(A) _IQ24atan2(A, _IQ24(1.0)) 3932 #define _IQ23atan(A) _IQ23atan2(A, _IQ23(1.0)) 3940 #define _IQ22atan(A) _IQ22atan2(A, _IQ22(1.0)) 3948 #define _IQ21atan(A) _IQ21atan2(A, _IQ21(1.0)) 3956 #define _IQ20atan(A) _IQ20atan2(A, _IQ20(1.0)) 3964 #define _IQ19atan(A) _IQ19atan2(A, _IQ19(1.0)) 3972 #define _IQ18atan(A) _IQ18atan2(A, _IQ18(1.0)) 3980 #define _IQ17atan(A) _IQ17atan2(A, _IQ17(1.0)) 3988 #define _IQ16atan(A) _IQ16atan2(A, _IQ16(1.0)) 3996 #define _IQ15atan(A) _IQ15atan2(A, _IQ15(1.0)) 4004 #define _IQ14atan(A) _IQ14atan2(A, _IQ14(1.0)) 4012 #define _IQ13atan(A) _IQ13atan2(A, _IQ13(1.0)) 4020 #define _IQ12atan(A) _IQ12atan2(A, _IQ12(1.0)) 4028 #define _IQ11atan(A) _IQ11atan2(A, _IQ11(1.0)) 4036 #define _IQ10atan(A) _IQ10atan2(A, _IQ10(1.0)) 4044 #define _IQ9atan(A) _IQ9atan2(A, _IQ9(1.0)) 4052 #define _IQ8atan(A) _IQ8atan2(A, _IQ8(1.0)) 4060 #define _IQ7atan(A) _IQ7atan2(A, _IQ7(1.0)) 4068 #define _IQ6atan(A) _IQ6atan2(A, _IQ6(1.0)) 4076 #define _IQ5atan(A) _IQ5atan2(A, _IQ5(1.0)) 4084 #define _IQ4atan(A) _IQ4atan2(A, _IQ4(1.0)) 4092 #define _IQ3atan(A) _IQ3atan2(A, _IQ3(1.0)) 4100 #define _IQ2atan(A) _IQ2atan2(A, _IQ2(1.0)) 4108 #define _IQ1atan(A) _IQ1atan2(A, _IQ1(1.0)) 4118 #define _IQatan(A) _IQ29atan2(A, _IQ29(1.0)) 4121 #define _IQatan(A) _IQ28atan2(A, _IQ28(1.0)) 4124 #define _IQatan(A) _IQ27atan2(A, _IQ27(1.0)) 4127 #define _IQatan(A) _IQ26atan2(A, _IQ26(1.0)) 4130 #define _IQatan(A) _IQ25atan2(A, _IQ25(1.0)) 4133 #define _IQatan(A) _IQ24atan2(A, _IQ24(1.0)) 4136 #define _IQatan(A) _IQ23atan2(A, _IQ23(1.0)) 4139 #define _IQatan(A) _IQ22atan2(A, _IQ22(1.0)) 4142 #define _IQatan(A) _IQ21atan2(A, _IQ21(1.0)) 4145 #define _IQatan(A) _IQ20atan2(A, _IQ20(1.0)) 4148 #define _IQatan(A) _IQ19atan2(A, _IQ19(1.0)) 4151 #define _IQatan(A) _IQ18atan2(A, _IQ18(1.0)) 4154 #define _IQatan(A) _IQ17atan2(A, _IQ17(1.0)) 4157 #define _IQatan(A) _IQ16atan2(A, _IQ16(1.0)) 4160 #define _IQatan(A) _IQ15atan2(A, _IQ15(1.0)) 4163 #define _IQatan(A) _IQ14atan2(A, _IQ14(1.0)) 4166 #define _IQatan(A) _IQ13atan2(A, _IQ13(1.0)) 4169 #define _IQatan(A) _IQ12atan2(A, _IQ12(1.0)) 4172 #define _IQatan(A) _IQ11atan2(A, _IQ11(1.0)) 4175 #define _IQatan(A) _IQ10atan2(A, _IQ10(1.0)) 4178 #define _IQatan(A) _IQ9atan2(A, _IQ9(1.0)) 4181 #define _IQatan(A) _IQ8atan2(A, _IQ8(1.0)) 4184 #define _IQatan(A) _IQ7atan2(A, _IQ7(1.0)) 4187 #define _IQatan(A) _IQ6atan2(A, _IQ6(1.0)) 4190 #define _IQatan(A) _IQ5atan2(A, _IQ5(1.0)) 4193 #define _IQatan(A) _IQ4atan2(A, _IQ4(1.0)) 4196 #define _IQatan(A) _IQ3atan2(A, _IQ3(1.0)) 4199 #define _IQatan(A) _IQ2atan2(A, _IQ2(1.0)) 4202 #define _IQatan(A) _IQ1atan2(A, _IQ1(1.0)) 4210 #ifndef DOXYGEN_SHOULD_SKIP_THIS 4251 #define _IQsqrt(A) _IQ30sqrt(A) 4254 #define _IQsqrt(A) _IQ29sqrt(A) 4257 #define _IQsqrt(A) _IQ28sqrt(A) 4260 #define _IQsqrt(A) _IQ27sqrt(A) 4263 #define _IQsqrt(A) _IQ26sqrt(A) 4266 #define _IQsqrt(A) _IQ25sqrt(A) 4269 #define _IQsqrt(A) _IQ24sqrt(A) 4272 #define _IQsqrt(A) _IQ23sqrt(A) 4275 #define _IQsqrt(A) _IQ22sqrt(A) 4278 #define _IQsqrt(A) _IQ21sqrt(A) 4281 #define _IQsqrt(A) _IQ20sqrt(A) 4284 #define _IQsqrt(A) _IQ19sqrt(A) 4287 #define _IQsqrt(A) _IQ18sqrt(A) 4290 #define _IQsqrt(A) _IQ17sqrt(A) 4293 #define _IQsqrt(A) _IQ16sqrt(A) 4296 #define _IQsqrt(A) _IQ15sqrt(A) 4299 #define _IQsqrt(A) _IQ14sqrt(A) 4302 #define _IQsqrt(A) _IQ13sqrt(A) 4305 #define _IQsqrt(A) _IQ12sqrt(A) 4308 #define _IQsqrt(A) _IQ11sqrt(A) 4311 #define _IQsqrt(A) _IQ10sqrt(A) 4314 #define _IQsqrt(A) _IQ9sqrt(A) 4317 #define _IQsqrt(A) _IQ8sqrt(A) 4320 #define _IQsqrt(A) _IQ7sqrt(A) 4323 #define _IQsqrt(A) _IQ6sqrt(A) 4326 #define _IQsqrt(A) _IQ5sqrt(A) 4329 #define _IQsqrt(A) _IQ4sqrt(A) 4332 #define _IQsqrt(A) _IQ3sqrt(A) 4335 #define _IQsqrt(A) _IQ2sqrt(A) 4338 #define _IQsqrt(A) _IQ1sqrt(A) 4346 #ifndef DOXYGEN_SHOULD_SKIP_THIS 4387 #define _IQisqrt(A) _IQ30isqrt(A) 4390 #define _IQisqrt(A) _IQ29isqrt(A) 4393 #define _IQisqrt(A) _IQ28isqrt(A) 4396 #define _IQisqrt(A) _IQ27isqrt(A) 4399 #define _IQisqrt(A) _IQ26isqrt(A) 4402 #define _IQisqrt(A) _IQ25isqrt(A) 4405 #define _IQisqrt(A) _IQ24isqrt(A) 4408 #define _IQisqrt(A) _IQ23isqrt(A) 4411 #define _IQisqrt(A) _IQ22isqrt(A) 4414 #define _IQisqrt(A) _IQ21isqrt(A) 4417 #define _IQisqrt(A) _IQ20isqrt(A) 4420 #define _IQisqrt(A) _IQ19isqrt(A) 4423 #define _IQisqrt(A) _IQ18isqrt(A) 4426 #define _IQisqrt(A) _IQ17isqrt(A) 4429 #define _IQisqrt(A) _IQ16isqrt(A) 4432 #define _IQisqrt(A) _IQ15isqrt(A) 4435 #define _IQisqrt(A) _IQ14isqrt(A) 4438 #define _IQisqrt(A) _IQ13isqrt(A) 4441 #define _IQisqrt(A) _IQ12isqrt(A) 4444 #define _IQisqrt(A) _IQ11isqrt(A) 4447 #define _IQisqrt(A) _IQ10isqrt(A) 4450 #define _IQisqrt(A) _IQ9isqrt(A) 4453 #define _IQisqrt(A) _IQ8isqrt(A) 4456 #define _IQisqrt(A) _IQ7isqrt(A) 4459 #define _IQisqrt(A) _IQ6isqrt(A) 4462 #define _IQisqrt(A) _IQ5isqrt(A) 4465 #define _IQisqrt(A) _IQ4isqrt(A) 4468 #define _IQisqrt(A) _IQ3isqrt(A) 4471 #define _IQisqrt(A) _IQ2isqrt(A) 4474 #define _IQisqrt(A) _IQ1isqrt(A) 4482 #ifndef DOXYGEN_SHOULD_SKIP_THIS 4523 #define _IQexp(A) _IQ30exp(A) 4526 #define _IQexp(A) _IQ29exp(A) 4529 #define _IQexp(A) _IQ28exp(A) 4532 #define _IQexp(A) _IQ27exp(A) 4535 #define _IQexp(A) _IQ26exp(A) 4538 #define _IQexp(A) _IQ25exp(A) 4541 #define _IQexp(A) _IQ24exp(A) 4544 #define _IQexp(A) _IQ23exp(A) 4547 #define _IQexp(A) _IQ22exp(A) 4550 #define _IQexp(A) _IQ21exp(A) 4553 #define _IQexp(A) _IQ20exp(A) 4556 #define _IQexp(A) _IQ19exp(A) 4559 #define _IQexp(A) _IQ18exp(A) 4562 #define _IQexp(A) _IQ17exp(A) 4565 #define _IQexp(A) _IQ16exp(A) 4568 #define _IQexp(A) _IQ15exp(A) 4571 #define _IQexp(A) _IQ14exp(A) 4574 #define _IQexp(A) _IQ13exp(A) 4577 #define _IQexp(A) _IQ12exp(A) 4580 #define _IQexp(A) _IQ11exp(A) 4583 #define _IQexp(A) _IQ10exp(A) 4586 #define _IQexp(A) _IQ9exp(A) 4589 #define _IQexp(A) _IQ8exp(A) 4592 #define _IQexp(A) _IQ7exp(A) 4595 #define _IQexp(A) _IQ6exp(A) 4598 #define _IQexp(A) _IQ5exp(A) 4601 #define _IQexp(A) _IQ4exp(A) 4604 #define _IQexp(A) _IQ3exp(A) 4607 #define _IQexp(A) _IQ2exp(A) 4610 #define _IQexp(A) _IQ1exp(A) 4618 #ifndef DOXYGEN_SHOULD_SKIP_THIS 4659 #define _IQlog(A) _IQ30log(A) 4662 #define _IQlog(A) _IQ29log(A) 4665 #define _IQlog(A) _IQ28log(A) 4668 #define _IQlog(A) _IQ27log(A) 4671 #define _IQlog(A) _IQ26log(A) 4674 #define _IQlog(A) _IQ25log(A) 4677 #define _IQlog(A) _IQ24log(A) 4680 #define _IQlog(A) _IQ23log(A) 4683 #define _IQlog(A) _IQ22log(A) 4686 #define _IQlog(A) _IQ21log(A) 4689 #define _IQlog(A) _IQ20log(A) 4692 #define _IQlog(A) _IQ19log(A) 4695 #define _IQlog(A) _IQ18log(A) 4698 #define _IQlog(A) _IQ17log(A) 4701 #define _IQlog(A) _IQ16log(A) 4704 #define _IQlog(A) _IQ15log(A) 4707 #define _IQlog(A) _IQ14log(A) 4710 #define _IQlog(A) _IQ13log(A) 4713 #define _IQlog(A) _IQ12log(A) 4716 #define _IQlog(A) _IQ11log(A) 4719 #define _IQlog(A) _IQ10log(A) 4722 #define _IQlog(A) _IQ9log(A) 4725 #define _IQlog(A) _IQ8log(A) 4728 #define _IQlog(A) _IQ7log(A) 4731 #define _IQlog(A) _IQ6log(A) 4734 #define _IQlog(A) _IQ5log(A) 4737 #define _IQlog(A) _IQ4log(A) 4740 #define _IQlog(A) _IQ3log(A) 4743 #define _IQlog(A) _IQ2log(A) 4746 #define _IQlog(A) _IQ1log(A) 4761 #define _IQ30int(A) ((A) >> 30) 4769 #define _IQ29int(A) ((A) >> 29) 4777 #define _IQ28int(A) ((A) >> 28) 4785 #define _IQ27int(A) ((A) >> 27) 4793 #define _IQ26int(A) ((A) >> 26) 4801 #define _IQ25int(A) ((A) >> 25) 4809 #define _IQ24int(A) ((A) >> 24) 4817 #define _IQ23int(A) ((A) >> 23) 4825 #define _IQ22int(A) ((A) >> 22) 4833 #define _IQ21int(A) ((A) >> 21) 4841 #define _IQ20int(A) ((A) >> 20) 4849 #define _IQ19int(A) ((A) >> 19) 4857 #define _IQ18int(A) ((A) >> 18) 4865 #define _IQ17int(A) ((A) >> 17) 4873 #define _IQ16int(A) ((A) >> 16) 4881 #define _IQ15int(A) ((A) >> 15) 4889 #define _IQ14int(A) ((A) >> 14) 4897 #define _IQ13int(A) ((A) >> 13) 4905 #define _IQ12int(A) ((A) >> 12) 4913 #define _IQ11int(A) ((A) >> 11) 4921 #define _IQ10int(A) ((A) >> 10) 4929 #define _IQ9int(A) ((A) >> 9) 4937 #define _IQ8int(A) ((A) >> 8) 4945 #define _IQ7int(A) ((A) >> 7) 4953 #define _IQ6int(A) ((A) >> 6) 4961 #define _IQ5int(A) ((A) >> 5) 4969 #define _IQ4int(A) ((A) >> 4) 4977 #define _IQ3int(A) ((A) >> 3) 4985 #define _IQ2int(A) ((A) >> 2) 4993 #define _IQ1int(A) ((A) >> 1) 5001 #define _IQint(A) ((A) >> GLOBAL_IQ) 5008 #ifndef DOXYGEN_SHOULD_SKIP_THIS 5049 #define _IQfrac(A) _IQ30frac(A) 5052 #define _IQfrac(A) _IQ29frac(A) 5055 #define _IQfrac(A) _IQ28frac(A) 5058 #define _IQfrac(A) _IQ27frac(A) 5061 #define _IQfrac(A) _IQ26frac(A) 5064 #define _IQfrac(A) _IQ25frac(A) 5067 #define _IQfrac(A) _IQ24frac(A) 5070 #define _IQfrac(A) _IQ23frac(A) 5073 #define _IQfrac(A) _IQ22frac(A) 5076 #define _IQfrac(A) _IQ21frac(A) 5079 #define _IQfrac(A) _IQ20frac(A) 5082 #define _IQfrac(A) _IQ19frac(A) 5085 #define _IQfrac(A) _IQ18frac(A) 5088 #define _IQfrac(A) _IQ17frac(A) 5091 #define _IQfrac(A) _IQ16frac(A) 5094 #define _IQfrac(A) _IQ15frac(A) 5097 #define _IQfrac(A) _IQ14frac(A) 5100 #define _IQfrac(A) _IQ13frac(A) 5103 #define _IQfrac(A) _IQ12frac(A) 5106 #define _IQfrac(A) _IQ11frac(A) 5109 #define _IQfrac(A) _IQ10frac(A) 5112 #define _IQfrac(A) _IQ9frac(A) 5115 #define _IQfrac(A) _IQ8frac(A) 5118 #define _IQfrac(A) _IQ7frac(A) 5121 #define _IQfrac(A) _IQ6frac(A) 5124 #define _IQfrac(A) _IQ5frac(A) 5127 #define _IQfrac(A) _IQ4frac(A) 5130 #define _IQfrac(A) _IQ3frac(A) 5133 #define _IQfrac(A) _IQ2frac(A) 5136 #define _IQfrac(A) _IQ1frac(A) 5145 #ifndef DOXYGEN_SHOULD_SKIP_THIS 5146 extern int32_t
_IQ30mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5147 extern int32_t
_IQ29mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5148 extern int32_t
_IQ28mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5149 extern int32_t
_IQ27mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5150 extern int32_t
_IQ26mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5151 extern int32_t
_IQ25mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5152 extern int32_t
_IQ24mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5153 extern int32_t
_IQ23mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5154 extern int32_t
_IQ22mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5155 extern int32_t
_IQ21mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5156 extern int32_t
_IQ20mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5157 extern int32_t
_IQ19mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5158 extern int32_t
_IQ18mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5159 extern int32_t
_IQ17mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5160 extern int32_t
_IQ16mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5161 extern int32_t
_IQ15mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5162 extern int32_t
_IQ14mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5163 extern int32_t
_IQ13mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5164 extern int32_t
_IQ12mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5165 extern int32_t
_IQ11mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5166 extern int32_t
_IQ10mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5167 extern int32_t
_IQ9mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5168 extern int32_t
_IQ8mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5169 extern int32_t
_IQ7mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5170 extern int32_t
_IQ6mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5171 extern int32_t
_IQ5mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5172 extern int32_t
_IQ4mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5173 extern int32_t
_IQ3mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5174 extern int32_t
_IQ2mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5175 extern int32_t
_IQ1mpyIQX(int32_t A,
int n1, int32_t B,
int n2);
5191 #define _IQmpyIQX(A, n1, B, n2) _IQ30mpyIQX(A, n1, B, n2) 5194 #define _IQmpyIQX(A, n1, B, n2) _IQ29mpyIQX(A, n1, B, n2) 5197 #define _IQmpyIQX(A, n1, B, n2) _IQ28mpyIQX(A, n1, B, n2) 5200 #define _IQmpyIQX(A, n1, B, n2) _IQ27mpyIQX(A, n1, B, n2) 5203 #define _IQmpyIQX(A, n1, B, n2) _IQ26mpyIQX(A, n1, B, n2) 5206 #define _IQmpyIQX(A, n1, B, n2) _IQ25mpyIQX(A, n1, B, n2) 5209 #define _IQmpyIQX(A, n1, B, n2) _IQ24mpyIQX(A, n1, B, n2) 5212 #define _IQmpyIQX(A, n1, B, n2) _IQ23mpyIQX(A, n1, B, n2) 5215 #define _IQmpyIQX(A, n1, B, n2) _IQ22mpyIQX(A, n1, B, n2) 5218 #define _IQmpyIQX(A, n1, B, n2) _IQ21mpyIQX(A, n1, B, n2) 5221 #define _IQmpyIQX(A, n1, B, n2) _IQ20mpyIQX(A, n1, B, n2) 5224 #define _IQmpyIQX(A, n1, B, n2) _IQ19mpyIQX(A, n1, B, n2) 5227 #define _IQmpyIQX(A, n1, B, n2) _IQ18mpyIQX(A, n1, B, n2) 5230 #define _IQmpyIQX(A, n1, B, n2) _IQ17mpyIQX(A, n1, B, n2) 5233 #define _IQmpyIQX(A, n1, B, n2) _IQ16mpyIQX(A, n1, B, n2) 5236 #define _IQmpyIQX(A, n1, B, n2) _IQ15mpyIQX(A, n1, B, n2) 5239 #define _IQmpyIQX(A, n1, B, n2) _IQ14mpyIQX(A, n1, B, n2) 5242 #define _IQmpyIQX(A, n1, B, n2) _IQ13mpyIQX(A, n1, B, n2) 5245 #define _IQmpyIQX(A, n1, B, n2) _IQ12mpyIQX(A, n1, B, n2) 5248 #define _IQmpyIQX(A, n1, B, n2) _IQ11mpyIQX(A, n1, B, n2) 5251 #define _IQmpyIQX(A, n1, B, n2) _IQ10mpyIQX(A, n1, B, n2) 5254 #define _IQmpyIQX(A, n1, B, n2) _IQ9mpyIQX(A, n1, B, n2) 5257 #define _IQmpyIQX(A, n1, B, n2) _IQ8mpyIQX(A, n1, B, n2) 5260 #define _IQmpyIQX(A, n1, B, n2) _IQ7mpyIQX(A, n1, B, n2) 5263 #define _IQmpyIQX(A, n1, B, n2) _IQ6mpyIQX(A, n1, B, n2) 5266 #define _IQmpyIQX(A, n1, B, n2) _IQ5mpyIQX(A, n1, B, n2) 5269 #define _IQmpyIQX(A, n1, B, n2) _IQ4mpyIQX(A, n1, B, n2) 5272 #define _IQmpyIQX(A, n1, B, n2) _IQ3mpyIQX(A, n1, B, n2) 5275 #define _IQmpyIQX(A, n1, B, n2) _IQ2mpyIQX(A, n1, B, n2) 5278 #define _IQmpyIQX(A, n1, B, n2) _IQ1mpyIQX(A, n1, B, n2) 5281 #ifndef DOXYGEN_SHOULD_SKIP_THIS 5287 #define _IQ30mpyI32(A, B) ((A) * (B)) 5288 #define _IQ29mpyI32(A, B) ((A) * (B)) 5289 #define _IQ28mpyI32(A, B) ((A) * (B)) 5290 #define _IQ27mpyI32(A, B) ((A) * (B)) 5291 #define _IQ26mpyI32(A, B) ((A) * (B)) 5292 #define _IQ25mpyI32(A, B) ((A) * (B)) 5293 #define _IQ24mpyI32(A, B) ((A) * (B)) 5294 #define _IQ23mpyI32(A, B) ((A) * (B)) 5295 #define _IQ22mpyI32(A, B) ((A) * (B)) 5296 #define _IQ21mpyI32(A, B) ((A) * (B)) 5297 #define _IQ20mpyI32(A, B) ((A) * (B)) 5298 #define _IQ19mpyI32(A, B) ((A) * (B)) 5299 #define _IQ18mpyI32(A, B) ((A) * (B)) 5300 #define _IQ17mpyI32(A, B) ((A) * (B)) 5301 #define _IQ16mpyI32(A, B) ((A) * (B)) 5302 #define _IQ15mpyI32(A, B) ((A) * (B)) 5303 #define _IQ14mpyI32(A, B) ((A) * (B)) 5304 #define _IQ13mpyI32(A, B) ((A) * (B)) 5305 #define _IQ12mpyI32(A, B) ((A) * (B)) 5306 #define _IQ11mpyI32(A, B) ((A) * (B)) 5307 #define _IQ10mpyI32(A, B) ((A) * (B)) 5308 #define _IQ9mpyI32(A, B) ((A) * (B)) 5309 #define _IQ8mpyI32(A, B) ((A) * (B)) 5310 #define _IQ7mpyI32(A, B) ((A) * (B)) 5311 #define _IQ6mpyI32(A, B) ((A) * (B)) 5312 #define _IQ5mpyI32(A, B) ((A) * (B)) 5313 #define _IQ4mpyI32(A, B) ((A) * (B)) 5314 #define _IQ3mpyI32(A, B) ((A) * (B)) 5315 #define _IQ2mpyI32(A, B) ((A) * (B)) 5316 #define _IQ1mpyI32(A, B) ((A) * (B)) 5317 #define _IQmpyI32(A, B) ((A) * (B)) 5324 #define _IQ30mpyI32int(A, B) _IQ30int(_IQ30mpyI32(A, B)) 5325 #define _IQ29mpyI32int(A, B) _IQ29int(_IQ29mpyI32(A, B)) 5326 #define _IQ28mpyI32int(A, B) _IQ28int(_IQ28mpyI32(A, B)) 5327 #define _IQ27mpyI32int(A, B) _IQ27int(_IQ27mpyI32(A, B)) 5328 #define _IQ26mpyI32int(A, B) _IQ26int(_IQ26mpyI32(A, B)) 5329 #define _IQ25mpyI32int(A, B) _IQ25int(_IQ25mpyI32(A, B)) 5330 #define _IQ24mpyI32int(A, B) _IQ24int(_IQ24mpyI32(A, B)) 5331 #define _IQ23mpyI32int(A, B) _IQ23int(_IQ23mpyI32(A, B)) 5332 #define _IQ22mpyI32int(A, B) _IQ22int(_IQ22mpyI32(A, B)) 5333 #define _IQ21mpyI32int(A, B) _IQ21int(_IQ21mpyI32(A, B)) 5334 #define _IQ20mpyI32int(A, B) _IQ20int(_IQ20mpyI32(A, B)) 5335 #define _IQ19mpyI32int(A, B) _IQ19int(_IQ19mpyI32(A, B)) 5336 #define _IQ18mpyI32int(A, B) _IQ18int(_IQ18mpyI32(A, B)) 5337 #define _IQ17mpyI32int(A, B) _IQ17int(_IQ17mpyI32(A, B)) 5338 #define _IQ16mpyI32int(A, B) _IQ16int(_IQ16mpyI32(A, B)) 5339 #define _IQ15mpyI32int(A, B) _IQ15int(_IQ15mpyI32(A, B)) 5340 #define _IQ14mpyI32int(A, B) _IQ14int(_IQ14mpyI32(A, B)) 5341 #define _IQ13mpyI32int(A, B) _IQ13int(_IQ13mpyI32(A, B)) 5342 #define _IQ12mpyI32int(A, B) _IQ12int(_IQ12mpyI32(A, B)) 5343 #define _IQ11mpyI32int(A, B) _IQ11int(_IQ11mpyI32(A, B)) 5344 #define _IQ10mpyI32int(A, B) _IQ10int(_IQ10mpyI32(A, B)) 5345 #define _IQ9mpyI32int(A, B) _IQ9int(_IQ9mpyI32(A, B)) 5346 #define _IQ8mpyI32int(A, B) _IQ8int(_IQ8mpyI32(A, B)) 5347 #define _IQ7mpyI32int(A, B) _IQ7int(_IQ7mpyI32(A, B)) 5348 #define _IQ6mpyI32int(A, B) _IQ6int(_IQ6mpyI32(A, B)) 5349 #define _IQ5mpyI32int(A, B) _IQ5int(_IQ5mpyI32(A, B)) 5350 #define _IQ4mpyI32int(A, B) _IQ4int(_IQ4mpyI32(A, B)) 5351 #define _IQ3mpyI32int(A, B) _IQ3int(_IQ3mpyI32(A, B)) 5352 #define _IQ2mpyI32int(A, B) _IQ2int(_IQ2mpyI32(A, B)) 5353 #define _IQ1mpyI32int(A, B) _IQ1int(_IQ1mpyI32(A, B)) 5356 #define _IQmpyI32int(A, B) _IQ30mpyI32int(A, B) 5359 #define _IQmpyI32int(A, B) _IQ29mpyI32int(A, B) 5362 #define _IQmpyI32int(A, B) _IQ28mpyI32int(A, B) 5365 #define _IQmpyI32int(A, B) _IQ27mpyI32int(A, B) 5368 #define _IQmpyI32int(A, B) _IQ26mpyI32int(A, B) 5371 #define _IQmpyI32int(A, B) _IQ25mpyI32int(A, B) 5374 #define _IQmpyI32int(A, B) _IQ24mpyI32int(A, B) 5377 #define _IQmpyI32int(A, B) _IQ23mpyI32int(A, B) 5380 #define _IQmpyI32int(A, B) _IQ22mpyI32int(A, B) 5383 #define _IQmpyI32int(A, B) _IQ21mpyI32int(A, B) 5386 #define _IQmpyI32int(A, B) _IQ20mpyI32int(A, B) 5389 #define _IQmpyI32int(A, B) _IQ19mpyI32int(A, B) 5392 #define _IQmpyI32int(A, B) _IQ18mpyI32int(A, B) 5395 #define _IQmpyI32int(A, B) _IQ17mpyI32int(A, B) 5398 #define _IQmpyI32int(A, B) _IQ16mpyI32int(A, B) 5401 #define _IQmpyI32int(A, B) _IQ15mpyI32int(A, B) 5404 #define _IQmpyI32int(A, B) _IQ14mpyI32int(A, B) 5407 #define _IQmpyI32int(A, B) _IQ13mpyI32int(A, B) 5410 #define _IQmpyI32int(A, B) _IQ12mpyI32int(A, B) 5413 #define _IQmpyI32int(A, B) _IQ11mpyI32int(A, B) 5416 #define _IQmpyI32int(A, B) _IQ10mpyI32int(A, B) 5419 #define _IQmpyI32int(A, B) _IQ9mpyI32int(A, B) 5422 #define _IQmpyI32int(A, B) _IQ8mpyI32int(A, B) 5425 #define _IQmpyI32int(A, B) _IQ7mpyI32int(A, B) 5428 #define _IQmpyI32int(A, B) _IQ6mpyI32int(A, B) 5431 #define _IQmpyI32int(A, B) _IQ5mpyI32int(A, B) 5434 #define _IQmpyI32int(A, B) _IQ4mpyI32int(A, B) 5437 #define _IQmpyI32int(A, B) _IQ3mpyI32int(A, B) 5440 #define _IQmpyI32int(A, B) _IQ2mpyI32int(A, B) 5443 #define _IQmpyI32int(A, B) _IQ1mpyI32int(A, B) 5451 #define _IQ30mpyI32frac(A, B) _IQ30frac(_IQ30mpyI32(A, B)) 5452 #define _IQ29mpyI32frac(A, B) _IQ29frac(_IQ29mpyI32(A, B)) 5453 #define _IQ28mpyI32frac(A, B) _IQ28frac(_IQ28mpyI32(A, B)) 5454 #define _IQ27mpyI32frac(A, B) _IQ27frac(_IQ27mpyI32(A, B)) 5455 #define _IQ26mpyI32frac(A, B) _IQ26frac(_IQ26mpyI32(A, B)) 5456 #define _IQ25mpyI32frac(A, B) _IQ25frac(_IQ25mpyI32(A, B)) 5457 #define _IQ24mpyI32frac(A, B) _IQ24frac(_IQ24mpyI32(A, B)) 5458 #define _IQ23mpyI32frac(A, B) _IQ23frac(_IQ23mpyI32(A, B)) 5459 #define _IQ22mpyI32frac(A, B) _IQ22frac(_IQ22mpyI32(A, B)) 5460 #define _IQ21mpyI32frac(A, B) _IQ21frac(_IQ21mpyI32(A, B)) 5461 #define _IQ20mpyI32frac(A, B) _IQ20frac(_IQ20mpyI32(A, B)) 5462 #define _IQ19mpyI32frac(A, B) _IQ19frac(_IQ19mpyI32(A, B)) 5463 #define _IQ18mpyI32frac(A, B) _IQ18frac(_IQ18mpyI32(A, B)) 5464 #define _IQ17mpyI32frac(A, B) _IQ17frac(_IQ17mpyI32(A, B)) 5465 #define _IQ16mpyI32frac(A, B) _IQ16frac(_IQ16mpyI32(A, B)) 5466 #define _IQ15mpyI32frac(A, B) _IQ15frac(_IQ15mpyI32(A, B)) 5467 #define _IQ14mpyI32frac(A, B) _IQ14frac(_IQ14mpyI32(A, B)) 5468 #define _IQ13mpyI32frac(A, B) _IQ13frac(_IQ13mpyI32(A, B)) 5469 #define _IQ12mpyI32frac(A, B) _IQ12frac(_IQ12mpyI32(A, B)) 5470 #define _IQ11mpyI32frac(A, B) _IQ11frac(_IQ11mpyI32(A, B)) 5471 #define _IQ10mpyI32frac(A, B) _IQ10frac(_IQ10mpyI32(A, B)) 5472 #define _IQ9mpyI32frac(A, B) _IQ9frac(_IQ9mpyI32(A, B)) 5473 #define _IQ8mpyI32frac(A, B) _IQ8frac(_IQ8mpyI32(A, B)) 5474 #define _IQ7mpyI32frac(A, B) _IQ7frac(_IQ7mpyI32(A, B)) 5475 #define _IQ6mpyI32frac(A, B) _IQ6frac(_IQ6mpyI32(A, B)) 5476 #define _IQ5mpyI32frac(A, B) _IQ5frac(_IQ5mpyI32(A, B)) 5477 #define _IQ4mpyI32frac(A, B) _IQ4frac(_IQ4mpyI32(A, B)) 5478 #define _IQ3mpyI32frac(A, B) _IQ3frac(_IQ3mpyI32(A, B)) 5479 #define _IQ2mpyI32frac(A, B) _IQ2frac(_IQ2mpyI32(A, B)) 5480 #define _IQ1mpyI32frac(A, B) _IQ1frac(_IQ1mpyI32(A, B)) 5483 #define _IQmpyI32frac(A, B) _IQ30mpyI32frac(A, B) 5486 #define _IQmpyI32frac(A, B) _IQ29mpyI32frac(A, B) 5489 #define _IQmpyI32frac(A, B) _IQ28mpyI32frac(A, B) 5492 #define _IQmpyI32frac(A, B) _IQ27mpyI32frac(A, B) 5495 #define _IQmpyI32frac(A, B) _IQ26mpyI32frac(A, B) 5498 #define _IQmpyI32frac(A, B) _IQ25mpyI32frac(A, B) 5501 #define _IQmpyI32frac(A, B) _IQ24mpyI32frac(A, B) 5504 #define _IQmpyI32frac(A, B) _IQ23mpyI32frac(A, B) 5507 #define _IQmpyI32frac(A, B) _IQ22mpyI32frac(A, B) 5510 #define _IQmpyI32frac(A, B) _IQ21mpyI32frac(A, B) 5513 #define _IQmpyI32frac(A, B) _IQ20mpyI32frac(A, B) 5516 #define _IQmpyI32frac(A, B) _IQ19mpyI32frac(A, B) 5519 #define _IQmpyI32frac(A, B) _IQ18mpyI32frac(A, B) 5522 #define _IQmpyI32frac(A, B) _IQ17mpyI32frac(A, B) 5525 #define _IQmpyI32frac(A, B) _IQ16mpyI32frac(A, B) 5528 #define _IQmpyI32frac(A, B) _IQ15mpyI32frac(A, B) 5531 #define _IQmpyI32frac(A, B) _IQ14mpyI32frac(A, B) 5534 #define _IQmpyI32frac(A, B) _IQ13mpyI32frac(A, B) 5537 #define _IQmpyI32frac(A, B) _IQ12mpyI32frac(A, B) 5540 #define _IQmpyI32frac(A, B) _IQ11mpyI32frac(A, B) 5543 #define _IQmpyI32frac(A, B) _IQ10mpyI32frac(A, B) 5546 #define _IQmpyI32frac(A, B) _IQ9mpyI32frac(A, B) 5549 #define _IQmpyI32frac(A, B) _IQ8mpyI32frac(A, B) 5552 #define _IQmpyI32frac(A, B) _IQ7mpyI32frac(A, B) 5555 #define _IQmpyI32frac(A, B) _IQ6mpyI32frac(A, B) 5558 #define _IQmpyI32frac(A, B) _IQ5mpyI32frac(A, B) 5561 #define _IQmpyI32frac(A, B) _IQ4mpyI32frac(A, B) 5564 #define _IQmpyI32frac(A, B) _IQ3mpyI32frac(A, B) 5567 #define _IQmpyI32frac(A, B) _IQ2mpyI32frac(A, B) 5570 #define _IQmpyI32frac(A, B) _IQ1mpyI32frac(A, B) 5580 extern int32_t
_IQmag(int32_t A, int32_t B);
5589 #define _IQ30mag(A, B) _IQmag(A, B) 5598 #define _IQ29mag(A, B) _IQmag(A, B) 5607 #define _IQ28mag(A, B) _IQmag(A, B) 5616 #define _IQ27mag(A, B) _IQmag(A, B) 5625 #define _IQ26mag(A, B) _IQmag(A, B) 5634 #define _IQ25mag(A, B) _IQmag(A, B) 5643 #define _IQ24mag(A, B) _IQmag(A, B) 5652 #define _IQ23mag(A, B) _IQmag(A, B) 5661 #define _IQ22mag(A, B) _IQmag(A, B) 5670 #define _IQ21mag(A, B) _IQmag(A, B) 5679 #define _IQ20mag(A, B) _IQmag(A, B) 5688 #define _IQ19mag(A, B) _IQmag(A, B) 5697 #define _IQ18mag(A, B) _IQmag(A, B) 5706 #define _IQ17mag(A, B) _IQmag(A, B) 5715 #define _IQ16mag(A, B) _IQmag(A, B) 5724 #define _IQ15mag(A, B) _IQmag(A, B) 5733 #define _IQ14mag(A, B) _IQmag(A, B) 5742 #define _IQ13mag(A, B) _IQmag(A, B) 5751 #define _IQ12mag(A, B) _IQmag(A, B) 5760 #define _IQ11mag(A, B) _IQmag(A, B) 5769 #define _IQ10mag(A, B) _IQmag(A, B) 5778 #define _IQ9mag(A, B) _IQmag(A, B) 5787 #define _IQ8mag(A, B) _IQmag(A, B) 5796 #define _IQ7mag(A, B) _IQmag(A, B) 5805 #define _IQ6mag(A, B) _IQmag(A, B) 5814 #define _IQ5mag(A, B) _IQmag(A, B) 5823 #define _IQ4mag(A, B) _IQmag(A, B) 5832 #define _IQ3mag(A, B) _IQmag(A, B) 5841 #define _IQ2mag(A, B) _IQmag(A, B) 5850 #define _IQ1mag(A, B) _IQmag(A, B) 5857 #ifndef DOXYGEN_SHOULD_SKIP_THIS 5858 extern _iq29
_IQ30imag(_iq30 A, _iq30 B);
5859 extern _iq29
_IQ29imag(_iq29 A, _iq29 B);
5860 extern _iq28
_IQ28imag(_iq28 A, _iq28 B);
5861 extern _iq27
_IQ27imag(_iq27 A, _iq27 B);
5862 extern _iq26
_IQ26imag(_iq26 A, _iq26 B);
5863 extern _iq25
_IQ25imag(_iq25 A, _iq25 B);
5864 extern _iq24
_IQ24imag(_iq24 A, _iq24 B);
5865 extern _iq23
_IQ23imag(_iq23 A, _iq23 B);
5866 extern _iq22
_IQ22imag(_iq22 A, _iq22 B);
5867 extern _iq21
_IQ21imag(_iq21 A, _iq21 B);
5868 extern _iq20
_IQ20imag(_iq20 A, _iq20 B);
5869 extern _iq19
_IQ19imag(_iq19 A, _iq19 B);
5870 extern _iq18
_IQ18imag(_iq18 A, _iq18 B);
5871 extern _iq17
_IQ17imag(_iq17 A, _iq17 B);
5872 extern _iq16
_IQ16imag(_iq16 A, _iq16 B);
5873 extern _iq15
_IQ15imag(_iq15 A, _iq15 B);
5874 extern _iq14
_IQ14imag(_iq14 A, _iq14 B);
5875 extern _iq13
_IQ13imag(_iq13 A, _iq13 B);
5876 extern _iq12
_IQ12imag(_iq12 A, _iq12 B);
5877 extern _iq11
_IQ11imag(_iq11 A, _iq11 B);
5878 extern _iq10
_IQ10imag(_iq10 A, _iq10 B);
5879 extern _iq9
_IQ9imag(_iq9 A, _iq9 B);
5880 extern _iq8
_IQ8imag(_iq8 A, _iq8 B);
5881 extern _iq7
_IQ7imag(_iq7 A, _iq7 B);
5882 extern _iq6
_IQ6imag(_iq6 A, _iq6 B);
5883 extern _iq5
_IQ5imag(_iq5 A, _iq5 B);
5884 extern _iq4
_IQ4imag(_iq4 A, _iq4 B);
5885 extern _iq3
_IQ3imag(_iq3 A, _iq3 B);
5886 extern _iq2
_IQ2imag(_iq2 A, _iq2 B);
5887 extern _iq1
_IQ1imag(_iq1 A, _iq1 B);
5900 #define _IQimag(A, B) _IQ30imag(A, B) 5903 #define _IQimag(A, B) _IQ29imag(A, B) 5906 #define _IQimag(A, B) _IQ28imag(A, B) 5909 #define _IQimag(A, B) _IQ27imag(A, B) 5912 #define _IQimag(A, B) _IQ26imag(A, B) 5915 #define _IQimag(A, B) _IQ25imag(A, B) 5918 #define _IQimag(A, B) _IQ24imag(A, B) 5921 #define _IQimag(A, B) _IQ23imag(A, B) 5924 #define _IQimag(A, B) _IQ22imag(A, B) 5927 #define _IQimag(A, B) _IQ21imag(A, B) 5930 #define _IQimag(A, B) _IQ20imag(A, B) 5933 #define _IQimag(A, B) _IQ19imag(A, B) 5936 #define _IQimag(A, B) _IQ18imag(A, B) 5939 #define _IQimag(A, B) _IQ17imag(A, B) 5942 #define _IQimag(A, B) _IQ16imag(A, B) 5945 #define _IQimag(A, B) _IQ15imag(A, B) 5948 #define _IQimag(A, B) _IQ14imag(A, B) 5951 #define _IQimag(A, B) _IQ13imag(A, B) 5954 #define _IQimag(A, B) _IQ12imag(A, B) 5957 #define _IQimag(A, B) _IQ11imag(A, B) 5960 #define _IQimag(A, B) _IQ10imag(A, B) 5963 #define _IQimag(A, B) _IQ9imag(A, B) 5966 #define _IQimag(A, B) _IQ8imag(A, B) 5969 #define _IQimag(A, B) _IQ7imag(A, B) 5972 #define _IQimag(A, B) _IQ6imag(A, B) 5975 #define _IQimag(A, B) _IQ5imag(A, B) 5978 #define _IQimag(A, B) _IQ4imag(A, B) 5981 #define _IQimag(A, B) _IQ3imag(A, B) 5984 #define _IQimag(A, B) _IQ2imag(A, B) 5987 #define _IQimag(A, B) _IQ1imag(A, B) 5995 #ifndef DOXYGEN_SHOULD_SKIP_THIS 5996 extern _iq30
_atoIQ30(
const char *A);
5997 extern _iq29
_atoIQ29(
const char *A);
5998 extern _iq28
_atoIQ28(
const char *A);
5999 extern _iq27
_atoIQ27(
const char *A);
6000 extern _iq26
_atoIQ26(
const char *A);
6001 extern _iq25
_atoIQ25(
const char *A);
6002 extern _iq24
_atoIQ24(
const char *A);
6003 extern _iq23
_atoIQ23(
const char *A);
6004 extern _iq22
_atoIQ22(
const char *A);
6005 extern _iq21
_atoIQ21(
const char *A);
6006 extern _iq20
_atoIQ20(
const char *A);
6007 extern _iq19
_atoIQ19(
const char *A);
6008 extern _iq18
_atoIQ18(
const char *A);
6009 extern _iq17
_atoIQ17(
const char *A);
6010 extern _iq16
_atoIQ16(
const char *A);
6011 extern _iq15
_atoIQ15(
const char *A);
6012 extern _iq14
_atoIQ14(
const char *A);
6013 extern _iq13
_atoIQ13(
const char *A);
6014 extern _iq12
_atoIQ12(
const char *A);
6015 extern _iq11
_atoIQ11(
const char *A);
6016 extern _iq10
_atoIQ10(
const char *A);
6017 extern _iq9
_atoIQ9(
const char *A);
6018 extern _iq8
_atoIQ8(
const char *A);
6019 extern _iq7
_atoIQ7(
const char *A);
6020 extern _iq6
_atoIQ6(
const char *A);
6021 extern _iq5
_atoIQ5(
const char *A);
6022 extern _iq4
_atoIQ4(
const char *A);
6023 extern _iq3
_atoIQ3(
const char *A);
6024 extern _iq2
_atoIQ2(
const char *A);
6025 extern _iq1
_atoIQ1(
const char *A);
6036 #define _atoIQ(A) _atoIQ30(A) 6039 #define _atoIQ(A) _atoIQ29(A) 6042 #define _atoIQ(A) _atoIQ28(A) 6045 #define _atoIQ(A) _atoIQ27(A) 6048 #define _atoIQ(A) _atoIQ26(A) 6051 #define _atoIQ(A) _atoIQ25(A) 6054 #define _atoIQ(A) _atoIQ24(A) 6057 #define _atoIQ(A) _atoIQ23(A) 6060 #define _atoIQ(A) _atoIQ22(A) 6063 #define _atoIQ(A) _atoIQ21(A) 6066 #define _atoIQ(A) _atoIQ20(A) 6069 #define _atoIQ(A) _atoIQ19(A) 6072 #define _atoIQ(A) _atoIQ18(A) 6075 #define _atoIQ(A) _atoIQ17(A) 6078 #define _atoIQ(A) _atoIQ16(A) 6081 #define _atoIQ(A) _atoIQ15(A) 6084 #define _atoIQ(A) _atoIQ14(A) 6087 #define _atoIQ(A) _atoIQ13(A) 6090 #define _atoIQ(A) _atoIQ12(A) 6093 #define _atoIQ(A) _atoIQ11(A) 6096 #define _atoIQ(A) _atoIQ10(A) 6099 #define _atoIQ(A) _atoIQ9(A) 6102 #define _atoIQ(A) _atoIQ8(A) 6105 #define _atoIQ(A) _atoIQ7(A) 6108 #define _atoIQ(A) _atoIQ6(A) 6111 #define _atoIQ(A) _atoIQ5(A) 6114 #define _atoIQ(A) _atoIQ4(A) 6117 #define _atoIQ(A) _atoIQ3(A) 6120 #define _atoIQ(A) _atoIQ2(A) 6123 #define _atoIQ(A) _atoIQ1(A) 6131 #ifndef DOXYGEN_SHOULD_SKIP_THIS 6132 extern int16_t
_IQ30toa(
char *
string,
const char *format, _iq30 input);
6133 extern int16_t
_IQ29toa(
char *
string,
const char *format, _iq29 input);
6134 extern int16_t
_IQ28toa(
char *
string,
const char *format, _iq28 input);
6135 extern int16_t
_IQ27toa(
char *
string,
const char *format, _iq27 input);
6136 extern int16_t
_IQ26toa(
char *
string,
const char *format, _iq26 input);
6137 extern int16_t
_IQ25toa(
char *
string,
const char *format, _iq25 input);
6138 extern int16_t
_IQ24toa(
char *
string,
const char *format, _iq24 input);
6139 extern int16_t
_IQ23toa(
char *
string,
const char *format, _iq23 input);
6140 extern int16_t
_IQ22toa(
char *
string,
const char *format, _iq22 input);
6141 extern int16_t
_IQ21toa(
char *
string,
const char *format, _iq21 input);
6142 extern int16_t
_IQ20toa(
char *
string,
const char *format, _iq20 input);
6143 extern int16_t
_IQ19toa(
char *
string,
const char *format, _iq19 input);
6144 extern int16_t
_IQ18toa(
char *
string,
const char *format, _iq18 input);
6145 extern int16_t
_IQ17toa(
char *
string,
const char *format, _iq17 input);
6146 extern int16_t
_IQ16toa(
char *
string,
const char *format, _iq16 input);
6147 extern int16_t
_IQ15toa(
char *
string,
const char *format, _iq15 input);
6148 extern int16_t
_IQ14toa(
char *
string,
const char *format, _iq14 input);
6149 extern int16_t
_IQ13toa(
char *
string,
const char *format, _iq13 input);
6150 extern int16_t
_IQ12toa(
char *
string,
const char *format, _iq12 input);
6151 extern int16_t
_IQ11toa(
char *
string,
const char *format, _iq11 input);
6152 extern int16_t
_IQ10toa(
char *
string,
const char *format, _iq10 input);
6153 extern int16_t
_IQ9toa(
char *
string,
const char *format, _iq9 input);
6154 extern int16_t
_IQ8toa(
char *
string,
const char *format, _iq8 input);
6155 extern int16_t
_IQ7toa(
char *
string,
const char *format, _iq7 input);
6156 extern int16_t
_IQ6toa(
char *
string,
const char *format, _iq6 input);
6157 extern int16_t
_IQ5toa(
char *
string,
const char *format, _iq5 input);
6158 extern int16_t
_IQ4toa(
char *
string,
const char *format, _iq4 input);
6159 extern int16_t
_IQ3toa(
char *
string,
const char *format, _iq3 input);
6160 extern int16_t
_IQ2toa(
char *
string,
const char *format, _iq2 input);
6161 extern int16_t
_IQ1toa(
char *
string,
const char *format, _iq1 input);
6175 #define _IQtoa(A, B, C) _IQ30toa(A, B, C) 6178 #define _IQtoa(A, B, C) _IQ29toa(A, B, C) 6181 #define _IQtoa(A, B, C) _IQ28toa(A, B, C) 6184 #define _IQtoa(A, B, C) _IQ27toa(A, B, C) 6187 #define _IQtoa(A, B, C) _IQ26toa(A, B, C) 6190 #define _IQtoa(A, B, C) _IQ25toa(A, B, C) 6193 #define _IQtoa(A, B, C) _IQ24toa(A, B, C) 6196 #define _IQtoa(A, B, C) _IQ23toa(A, B, C) 6199 #define _IQtoa(A, B, C) _IQ22toa(A, B, C) 6202 #define _IQtoa(A, B, C) _IQ21toa(A, B, C) 6205 #define _IQtoa(A, B, C) _IQ20toa(A, B, C) 6208 #define _IQtoa(A, B, C) _IQ19toa(A, B, C) 6211 #define _IQtoa(A, B, C) _IQ18toa(A, B, C) 6214 #define _IQtoa(A, B, C) _IQ17toa(A, B, C) 6217 #define _IQtoa(A, B, C) _IQ16toa(A, B, C) 6220 #define _IQtoa(A, B, C) _IQ15toa(A, B, C) 6223 #define _IQtoa(A, B, C) _IQ14toa(A, B, C) 6226 #define _IQtoa(A, B, C) _IQ13toa(A, B, C) 6229 #define _IQtoa(A, B, C) _IQ12toa(A, B, C) 6232 #define _IQtoa(A, B, C) _IQ11toa(A, B, C) 6235 #define _IQtoa(A, B, C) _IQ10toa(A, B, C) 6238 #define _IQtoa(A, B, C) _IQ9toa(A, B, C) 6241 #define _IQtoa(A, B, C) _IQ8toa(A, B, C) 6244 #define _IQtoa(A, B, C) _IQ7toa(A, B, C) 6247 #define _IQtoa(A, B, C) _IQ6toa(A, B, C) 6250 #define _IQtoa(A, B, C) _IQ5toa(A, B, C) 6253 #define _IQtoa(A, B, C) _IQ4toa(A, B, C) 6256 #define _IQtoa(A, B, C) _IQ3toa(A, B, C) 6259 #define _IQtoa(A, B, C) _IQ2toa(A, B, C) 6262 #define _IQtoa(A, B, C) _IQ1toa(A, B, C) 6277 #define _IQ30abs(A) (((A) < 0) ? - (A) : (A)) 6285 #define _IQ29abs(A) (((A) < 0) ? - (A) : (A)) 6293 #define _IQ28abs(A) (((A) < 0) ? - (A) : (A)) 6301 #define _IQ27abs(A) (((A) < 0) ? - (A) : (A)) 6309 #define _IQ26abs(A) (((A) < 0) ? - (A) : (A)) 6317 #define _IQ25abs(A) (((A) < 0) ? - (A) : (A)) 6325 #define _IQ24abs(A) (((A) < 0) ? - (A) : (A)) 6333 #define _IQ23abs(A) (((A) < 0) ? - (A) : (A)) 6341 #define _IQ22abs(A) (((A) < 0) ? - (A) : (A)) 6349 #define _IQ21abs(A) (((A) < 0) ? - (A) : (A)) 6357 #define _IQ20abs(A) (((A) < 0) ? - (A) : (A)) 6365 #define _IQ19abs(A) (((A) < 0) ? - (A) : (A)) 6373 #define _IQ18abs(A) (((A) < 0) ? - (A) : (A)) 6381 #define _IQ17abs(A) (((A) < 0) ? - (A) : (A)) 6389 #define _IQ16abs(A) (((A) < 0) ? - (A) : (A)) 6397 #define _IQ15abs(A) (((A) < 0) ? - (A) : (A)) 6405 #define _IQ14abs(A) (((A) < 0) ? - (A) : (A)) 6413 #define _IQ13abs(A) (((A) < 0) ? - (A) : (A)) 6421 #define _IQ12abs(A) (((A) < 0) ? - (A) : (A)) 6429 #define _IQ11abs(A) (((A) < 0) ? - (A) : (A)) 6437 #define _IQ10abs(A) (((A) < 0) ? - (A) : (A)) 6445 #define _IQ9abs(A) (((A) < 0) ? - (A) : (A)) 6453 #define _IQ8abs(A) (((A) < 0) ? - (A) : (A)) 6461 #define _IQ7abs(A) (((A) < 0) ? - (A) : (A)) 6469 #define _IQ6abs(A) (((A) < 0) ? - (A) : (A)) 6477 #define _IQ5abs(A) (((A) < 0) ? - (A) : (A)) 6485 #define _IQ4abs(A) (((A) < 0) ? - (A) : (A)) 6493 #define _IQ3abs(A) (((A) < 0) ? - (A) : (A)) 6501 #define _IQ2abs(A) (((A) < 0) ? - (A) : (A)) 6509 #define _IQ1abs(A) (((A) < 0) ? - (A) : (A)) 6517 #define _IQabs(A) (((A) < 0) ? - (A) : (A)) 6528 #endif // __IQMATHLIB_H__ int32_t _IQ26cosPU(int32_t a)
Computes the cosine of an IQ26 input.
Definition: _IQNsin_cos.c:1441
int32_t _IQ8mpy(int32_t a, int32_t b)
Multiplies two values of IQ8 format.
Definition: _IQNmpy.c:293
int32_t _IQ22atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ22 input and return the result, in radians.
Definition: _IQNatan2.c:415
int32_t _IQ10asin(int32_t a)
Computes the inverse sine of the IQ10 input.
Definition: _IQNasin_acos.c:410
int32_t _IQ11atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ11 input and return the result.
Definition: _IQNatan2.c:963
int32_t _IQ6frac(int32_t a)
Return the fractional portion of an IQ6 input.
Definition: _IQNfrac.c:305
int32_t _IQ1cosPU(int32_t a)
Computes the cosine of an IQ1 input.
Definition: _IQNsin_cos.c:1716
float _IQ3toF(int32_t a)
Converts input to floating point using IQ3 format.
Definition: _IQNtoF.c:374
int32_t _IQ10imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1667
int16_t _IQ28toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ28 number to a string.
Definition: _IQNtoa.c:228
int32_t _IQ4mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ4 format.
Definition: _IQNmpyIQX.c:470
int32_t _IQ9div(int32_t a, int32_t b)
Divides two values of IQ9 format.
Definition: _IQNdiv.c:277
int32_t _IQ21imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1535
int32_t _IQ29exp(int32_t a)
Computes the exponential of an IQ29 input.
Definition: _IQNexp.c:158
int16_t _IQ24toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ24 number to a string.
Definition: _IQNtoa.c:284
int32_t _IQ10cos(int32_t a)
Computes the cosine of an IQ10 input.
Definition: _IQNsin_cos.c:931
int32_t _IQ23atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ23 input and return the result.
Definition: _IQNatan2.c:807
int32_t _IQ3cosPU(int32_t a)
Computes the cosine of an IQ3 input.
Definition: _IQNsin_cos.c:1694
int32_t _IQ7mpy(int32_t a, int32_t b)
Multiplies two values of IQ7 format.
Definition: _IQNmpy.c:305
int32_t _IQ19rmpy(int32_t a, int32_t b)
Multiply two values of IQ19 type, with rounding.
Definition: _IQNrmpy.c:192
int32_t _atoIQ8(const char *string)
Converts string to IQ8 number.
Definition: _atoIQN.c:402
float _IQ25toF(int32_t a)
Converts input to floating point using IQ25 format.
Definition: _IQNtoF.c:132
int32_t _IQ27rsmpy(int32_t a, int32_t b)
Multiplies two IQ27 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:105
int32_t _IQ13mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ13 format.
Definition: _IQNmpyIQX.c:335
int32_t _IQ13atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ13 input and return the result, in radians.
Definition: _IQNatan2.c:532
int32_t _IQ20mpy(int32_t a, int32_t b)
Multiplies two values of IQ20 format.
Definition: _IQNmpy.c:149
float _IQ9toF(int32_t a)
Converts input to floating point using IQ9 format.
Definition: _IQNtoF.c:308
int32_t _IQ26rmpy(int32_t a, int32_t b)
Multiply two values of IQ26 type, with rounding.
Definition: _IQNrmpy.c:108
int32_t _IQ4mpy(int32_t a, int32_t b)
Multiplies two values of IQ4 format.
Definition: _IQNmpy.c:341
int32_t _IQ5rsmpy(int32_t a, int32_t b)
Multiplies two IQ5 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:369
int32_t _IQ5sinPU(int32_t a)
Computes the sine of an IQ5 input.
Definition: _IQNsin_cos.c:1329
int32_t _IQ14isqrt(int32_t a)
Calculate inverse square root of an IQ14 input.
Definition: _IQNsqrt.c:1256
int32_t _IQ14cosPU(int32_t a)
Computes the cosine of an IQ14 input.
Definition: _IQNsin_cos.c:1573
int32_t _IQ15sqrt(int32_t a)
Calculate square root of an IQ15 input.
Definition: _IQNsqrt.c:547
int32_t _IQ9sqrt(int32_t a)
Calculate square root of an IQ9 input.
Definition: _IQNsqrt.c:613
int32_t _IQ23cosPU(int32_t a)
Computes the cosine of an IQ23 input.
Definition: _IQNsin_cos.c:1474
int32_t _IQ7sinPU(int32_t a)
Computes the sine of an IQ7 input.
Definition: _IQNsin_cos.c:1307
int32_t _IQ9exp(int32_t a)
Computes the exponential of an IQ9 input.
Definition: _IQNexp.c:378
int32_t _IQ30log(int32_t a)
Computes the base-e logarithm of an IQ30 input.
Definition: _IQNlog.c:130
int32_t _IQ9frac(int32_t a)
Return the fractional portion of an IQ9 input.
Definition: _IQNfrac.c:272
int32_t _IQ28atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ28 input and return the result, in radians.
Definition: _IQNatan2.c:337
int32_t _IQ4div(int32_t a, int32_t b)
Divides two values of IQ4 format.
Definition: _IQNdiv.c:337
int32_t _IQ18cosPU(int32_t a)
Computes the cosine of an IQ18 input.
Definition: _IQNsin_cos.c:1529
int32_t _IQ16imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1595
int32_t _IQ11atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ11 input and return the result, in radians.
Definition: _IQNatan2.c:558
int32_t _IQ28cosPU(int32_t a)
Computes the cosine of an IQ28 input.
Definition: _IQNsin_cos.c:1419
int32_t _IQ11exp(int32_t a)
Computes the exponential of an IQ11 input.
Definition: _IQNexp.c:356
int32_t _IQ1mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ1 format.
Definition: _IQNmpyIQX.c:515
int32_t _IQ1rmpy(int32_t a, int32_t b)
Multiply two values of IQ1 type, with rounding.
Definition: _IQNrmpy.c:408
int32_t _IQ5frac(int32_t a)
Return the fractional portion of an IQ5 input.
Definition: _IQNfrac.c:316
int32_t _atoIQ24(const char *string)
Converts string to IQ24 number.
Definition: _atoIQN.c:226
int32_t _IQ8rmpy(int32_t a, int32_t b)
Multiply two values of IQ8 type, with rounding.
Definition: _IQNrmpy.c:324
int32_t _IQ28div(int32_t a, int32_t b)
Divides two values of IQ28 format.
Definition: _IQNdiv.c:49
int16_t _IQ17toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ17 number to a string.
Definition: _IQNtoa.c:382
int32_t _IQ19mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ19 format.
Definition: _IQNmpyIQX.c:245
int32_t _IQ26div(int32_t a, int32_t b)
Divides two values of IQ26 format.
Definition: _IQNdiv.c:73
int32_t _IQ5mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ5 format.
Definition: _IQNmpyIQX.c:455
int32_t _IQ28log(int32_t a)
Computes the base-e logarithm of an IQ28 input.
Definition: _IQNlog.c:152
int32_t _IQ5rmpy(int32_t a, int32_t b)
Multiply two values of IQ5 type, with rounding.
Definition: _IQNrmpy.c:360
int32_t _IQ21cosPU(int32_t a)
Computes the cosine of an IQ21 input.
Definition: _IQNsin_cos.c:1496
int32_t _IQ10frac(int32_t a)
Return the fractional portion of an IQ10 input.
Definition: _IQNfrac.c:261
int32_t _IQ8cosPU(int32_t a)
Computes the cosine of an IQ8 input.
Definition: _IQNsin_cos.c:1639
int32_t _IQ3atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ3 input and return the result, in radians.
Definition: _IQNatan2.c:662
int32_t _IQ2rsmpy(int32_t a, int32_t b)
Multiplies two IQ2 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:405
int32_t _IQ21mpy(int32_t a, int32_t b)
Multiplies two values of IQ21 format.
Definition: _IQNmpy.c:137
int32_t _IQ23atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ23 input and return the result, in radians.
Definition: _IQNatan2.c:402
int16_t _IQ4toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ4 number to a string.
Definition: _IQNtoa.c:564
int32_t _IQ26cos(int32_t a)
Computes the cosine of an IQ26 input.
Definition: _IQNsin_cos.c:755
int32_t _IQ30atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ30 input and return the result.
Definition: _IQNatan2.c:716
int32_t _IQ14atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ14 input and return the result.
Definition: _IQNatan2.c:924
int32_t _IQ6asin(int32_t a)
Computes the inverse sine of the IQ6 input.
Definition: _IQNasin_acos.c:454
int16_t _IQ9toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ9 number to a string.
Definition: _IQNtoa.c:494
int32_t _IQ27mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ27 format.
Definition: _IQNmpyIQX.c:125
int32_t _IQ17imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1583
int32_t _IQ13atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ13 input and return the result.
Definition: _IQNatan2.c:937
int32_t _IQ3frac(int32_t a)
Return the fractional portion of an IQ3 input.
Definition: _IQNfrac.c:338
int32_t _IQ23exp(int32_t a)
Computes the exponential of an IQ23 input.
Definition: _IQNexp.c:224
int32_t _IQ7isqrt(int32_t a)
Calculate inverse square root of an IQ7 input.
Definition: _IQNsqrt.c:1333
int32_t _IQ4imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1739
int32_t _IQ10rsmpy(int32_t a, int32_t b)
Multiplies two IQ10 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:309
int32_t _IQ12exp(int32_t a)
Computes the exponential of an IQ12 input.
Definition: _IQNexp.c:345
int32_t _IQ25mpy(int32_t a, int32_t b)
Multiplies two values of IQ25 format.
Definition: _IQNmpy.c:89
int32_t _IQ14exp(int32_t a)
Computes the exponential of an IQ14 input.
Definition: _IQNexp.c:323
int32_t _IQ5imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1727
int32_t _IQ10rmpy(int32_t a, int32_t b)
Multiply two values of IQ10 type, with rounding.
Definition: _IQNrmpy.c:300
float _IQ21toF(int32_t a)
Converts input to floating point using IQ21 format.
Definition: _IQNtoF.c:176
int32_t _IQ7sqrt(int32_t a)
Calculate square root of an IQ7 input.
Definition: _IQNsqrt.c:635
int32_t _IQ27cos(int32_t a)
Computes the cosine of an IQ27 input.
Definition: _IQNsin_cos.c:744
int32_t _IQ8sqrt(int32_t a)
Calculate square root of an IQ8 input.
Definition: _IQNsqrt.c:624
int32_t _IQ26frac(int32_t a)
Return the fractional portion of an IQ26 input.
Definition: _IQNfrac.c:85
int32_t _atoIQ15(const char *string)
Converts string to IQ15 number.
Definition: _atoIQN.c:325
int32_t _IQ1asin(int32_t a)
Computes the inverse sine of the IQ1 input.
Definition: _IQNasin_acos.c:509
int32_t _IQ17atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ17 input and return the result.
Definition: _IQNatan2.c:885
int32_t _IQ19sqrt(int32_t a)
Calculate square root of an IQ19 input.
Definition: _IQNsqrt.c:503
int32_t _IQ28imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1451
int32_t _IQ5cos(int32_t a)
Computes the cosine of an IQ5 input.
Definition: _IQNsin_cos.c:986
int32_t _IQ19mpy(int32_t a, int32_t b)
Multiplies two values of IQ19 format.
Definition: _IQNmpy.c:161
int32_t _atoIQ5(const char *string)
Converts string to IQ5 number.
Definition: _atoIQN.c:435
int32_t _IQ26asin(int32_t a)
Computes the inverse sine of the IQ26 input.
Definition: _IQNasin_acos.c:234
int32_t _IQ28sin(int32_t a)
Computes the sine of an IQ28 input.
Definition: _IQNsin_cos.c:412
int32_t _IQ3imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1751
int32_t _IQ7cos(int32_t a)
Computes the cosine of an IQ7 input.
Definition: _IQNsin_cos.c:964
int32_t _IQ16rmpy(int32_t a, int32_t b)
Multiply two values of IQ16 type, with rounding.
Definition: _IQNrmpy.c:228
int32_t _IQ16cosPU(int32_t a)
Computes the cosine of an IQ16 input.
Definition: _IQNsin_cos.c:1551
float _IQ13toF(int32_t a)
Converts input to floating point using IQ13 format.
Definition: _IQNtoF.c:264
int32_t _IQ8isqrt(int32_t a)
Calculate inverse square root of an IQ8 input.
Definition: _IQNsqrt.c:1322
int32_t _IQ27cosPU(int32_t a)
Computes the cosine of an IQ27 input.
Definition: _IQNsin_cos.c:1430
int32_t _atoIQ25(const char *string)
Converts string to IQ25 number.
Definition: _atoIQN.c:215
int32_t _IQ26atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ26 input and return the result.
Definition: _IQNatan2.c:768
int32_t _atoIQ4(const char *string)
Converts string to IQ4 number.
Definition: _atoIQN.c:446
int32_t _IQ21mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ21 format.
Definition: _IQNmpyIQX.c:215
int32_t _IQ11imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1655
int32_t _IQ13sqrt(int32_t a)
Calculate square root of an IQ13 input.
Definition: _IQNsqrt.c:569
int32_t _IQ14rmpy(int32_t a, int32_t b)
Multiply two values of IQ14 type, with rounding.
Definition: _IQNrmpy.c:252
int32_t _IQ18sin(int32_t a)
Computes the sine of an IQ18 input.
Definition: _IQNsin_cos.c:522
int32_t _IQ25rmpy(int32_t a, int32_t b)
Multiply two values of IQ25 type, with rounding.
Definition: _IQNrmpy.c:120
int32_t _IQ12sinPU(int32_t a)
Computes the sine of an IQ12 input.
Definition: _IQNsin_cos.c:1252
int32_t _IQ23cos(int32_t a)
Computes the cosine of an IQ23 input.
Definition: _IQNsin_cos.c:788
int32_t _IQ19imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1559
int32_t _IQ22atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ22 input and return the result.
Definition: _IQNatan2.c:820
int32_t _IQ21sinPU(int32_t a)
Computes the sine of an IQ21 input.
Definition: _IQNsin_cos.c:1153
int32_t _IQ12sqrt(int32_t a)
Calculate square root of an IQ12 input.
Definition: _IQNsqrt.c:580
int32_t _IQ16atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ16 input and return the result.
Definition: _IQNatan2.c:898
int32_t _IQ8atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ8 input and return the result, in radians.
Definition: _IQNatan2.c:597
int32_t _IQ15log(int32_t a)
Computes the base-e logarithm of an IQ15 input.
Definition: _IQNlog.c:295
int32_t _IQ6sqrt(int32_t a)
Calculate square root of an IQ6 input.
Definition: _IQNsqrt.c:646
int32_t _IQ22sinPU(int32_t a)
Computes the sine of an IQ22 input.
Definition: _IQNsin_cos.c:1142
int32_t _IQ26atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ26 input and return the result, in radians.
Definition: _IQNatan2.c:363
int32_t _IQ17sinPU(int32_t a)
Computes the sine of an IQ17 input.
Definition: _IQNsin_cos.c:1197
int32_t _IQ1cos(int32_t a)
Computes the cosine of an IQ1 input.
Definition: _IQNsin_cos.c:1030
int32_t _IQ11cos(int32_t a)
Computes the cosine of an IQ11 input.
Definition: _IQNsin_cos.c:920
int32_t _IQ6rmpy(int32_t a, int32_t b)
Multiply two values of IQ6 type, with rounding.
Definition: _IQNrmpy.c:348
int32_t _IQ12mpy(int32_t a, int32_t b)
Multiplies two values of IQ12 format.
Definition: _IQNmpy.c:245
int32_t _IQ7mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ7 format.
Definition: _IQNmpyIQX.c:425
int32_t _atoIQ14(const char *string)
Converts string to IQ14 number.
Definition: _atoIQN.c:336
int32_t _IQ11rsmpy(int32_t a, int32_t b)
Multiplies two IQ11 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:297
int32_t _IQ15isqrt(int32_t a)
Calculate inverse square root of an IQ15 input.
Definition: _IQNsqrt.c:1245
int32_t _IQ17sin(int32_t a)
Computes the sine of an IQ17 input.
Definition: _IQNsin_cos.c:533
int32_t _IQ5isqrt(int32_t a)
Calculate inverse square root of an IQ5 input.
Definition: _IQNsqrt.c:1355
int32_t _IQ14asin(int32_t a)
Computes the inverse sine of the IQ14 input.
Definition: _IQNasin_acos.c:366
int32_t _IQ24rmpy(int32_t a, int32_t b)
Multiply two values of IQ24 type, with rounding.
Definition: _IQNrmpy.c:132
int32_t _IQ29atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ29 input and return the result, in radians.
Definition: _IQNatan2.c:324
float _IQ19toF(int32_t a)
Converts input to floating point using IQ19 format.
Definition: _IQNtoF.c:198
int32_t _IQ27asin(int32_t a)
Computes the inverse sine of the IQ27 input.
Definition: _IQNasin_acos.c:223
int32_t _IQ4rsmpy(int32_t a, int32_t b)
Multiplies two IQ4 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:381
float _IQ26toF(int32_t a)
Converts input to floating point using IQ26 format.
Definition: _IQNtoF.c:121
int32_t _IQ20cosPU(int32_t a)
Computes the cosine of an IQ20 input.
Definition: _IQNsin_cos.c:1507
int32_t _IQ16mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ16 format.
Definition: _IQNmpyIQX.c:290
int32_t _IQ27sinPU(int32_t a)
Computes the sine of an IQ27 input.
Definition: _IQNsin_cos.c:1087
int32_t _IQ4frac(int32_t a)
Return the fractional portion of an IQ4 input.
Definition: _IQNfrac.c:327
int32_t _IQ30sqrt(int32_t a)
Calculate square root of an IQ30 input.
Definition: _IQNsqrt.c:382
int32_t _IQ6cosPU(int32_t a)
Computes the cosine of an IQ6 input.
Definition: _IQNsin_cos.c:1661
int32_t _IQ16log(int32_t a)
Computes the base-e logarithm of an IQ16 input.
Definition: _IQNlog.c:284
int32_t _IQ13frac(int32_t a)
Return the fractional portion of an IQ13 input.
Definition: _IQNfrac.c:228
int32_t _IQ1div(int32_t a, int32_t b)
Divides two values of IQ1 format.
Definition: _IQNdiv.c:373
int16_t _IQ16toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ16 number to a string.
Definition: _IQNtoa.c:396
int32_t _IQ11mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ11 format.
Definition: _IQNmpyIQX.c:365
int32_t _IQ15div(int32_t a, int32_t b)
Divides two values of IQ15 format.
Definition: _IQNdiv.c:205
int32_t _IQ8frac(int32_t a)
Return the fractional portion of an IQ8 input.
Definition: _IQNfrac.c:283
float _IQ6toF(int32_t a)
Converts input to floating point using IQ6 format.
Definition: _IQNtoF.c:341
int32_t _IQ6sin(int32_t a)
Computes the sine of an IQ6 input.
Definition: _IQNsin_cos.c:654
int32_t _IQ9log(int32_t a)
Computes the base-e logarithm of an IQ9 input.
Definition: _IQNlog.c:361
int16_t _IQ1toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ1 number to a string.
Definition: _IQNtoa.c:606
int32_t _IQ20log(int32_t a)
Computes the base-e logarithm of an IQ20 input.
Definition: _IQNlog.c:240
int32_t _IQ25cosPU(int32_t a)
Computes the cosine of an IQ25 input.
Definition: _IQNsin_cos.c:1452
int32_t _IQ28cos(int32_t a)
Computes the cosine of an IQ28 input.
Definition: _IQNsin_cos.c:733
int32_t _IQ7div(int32_t a, int32_t b)
Divides two values of IQ7 format.
Definition: _IQNdiv.c:301
int32_t _IQ21sqrt(int32_t a)
Calculate square root of an IQ21 input.
Definition: _IQNsqrt.c:481
int32_t _IQ8imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1691
int32_t _IQ4atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ4 input and return the result, in radians.
Definition: _IQNatan2.c:649
int32_t _IQ6div(int32_t a, int32_t b)
Divides two values of IQ6 format.
Definition: _IQNdiv.c:313
int32_t _IQ24sinPU(int32_t a)
Computes the sine of an IQ24 input.
Definition: _IQNsin_cos.c:1120
int32_t _IQ10mpy(int32_t a, int32_t b)
Multiplies two values of IQ10 format.
Definition: _IQNmpy.c:269
int32_t _IQ22rmpy(int32_t a, int32_t b)
Multiply two values of IQ22 type, with rounding.
Definition: _IQNrmpy.c:156
int32_t _IQ2sin(int32_t a)
Computes the sine of an IQ2 input.
Definition: _IQNsin_cos.c:698
int32_t _IQ18div(int32_t a, int32_t b)
Divides two values of IQ18 format.
Definition: _IQNdiv.c:169
int32_t _IQ4isqrt(int32_t a)
Calculate inverse square root of an IQ4 input.
Definition: _IQNsqrt.c:1366
float _IQ29toF(int32_t a)
Converts input to floating point using IQ29 format.
Definition: _IQNtoF.c:88
int32_t _IQ24atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ24 input and return the result.
Definition: _IQNatan2.c:794
int32_t _IQ28rmpy(int32_t a, int32_t b)
Multiply two values of IQ28 type, with rounding.
Definition: _IQNrmpy.c:84
int32_t _IQ17rsmpy(int32_t a, int32_t b)
Multiplies two IQ17 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:225
int32_t _IQ5cosPU(int32_t a)
Computes the cosine of an IQ5 input.
Definition: _IQNsin_cos.c:1672
float _IQ5toF(int32_t a)
Converts input to floating point using IQ5 format.
Definition: _IQNtoF.c:352
int32_t _IQ7frac(int32_t a)
Return the fractional portion of an IQ7 input.
Definition: _IQNfrac.c:294
float _IQ20toF(int32_t a)
Converts input to floating point using IQ20 format.
Definition: _IQNtoF.c:187
int32_t _IQ20rsmpy(int32_t a, int32_t b)
Multiplies two IQ20 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:189
int32_t _IQ24log(int32_t a)
Computes the base-e logarithm of an IQ24 input.
Definition: _IQNlog.c:196
int32_t _IQ14div(int32_t a, int32_t b)
Divides two values of IQ14 format.
Definition: _IQNdiv.c:217
int32_t _IQ28frac(int32_t a)
Return the fractional portion of an IQ28 input.
Definition: _IQNfrac.c:63
int32_t _IQ10cosPU(int32_t a)
Computes the cosine of an IQ10 input.
Definition: _IQNsin_cos.c:1617
int32_t _IQ17exp(int32_t a)
Computes the exponential of an IQ17 input.
Definition: _IQNexp.c:290
int32_t _IQ25imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1487
int32_t _IQ14sinPU(int32_t a)
Computes the sine of an IQ14 input.
Definition: _IQNsin_cos.c:1230
float _IQ1toF(int32_t a)
Converts input to floating point using IQ1 format.
Definition: _IQNtoF.c:396
int32_t _IQ9cosPU(int32_t a)
Computes the cosine of an IQ9 input.
Definition: _IQNsin_cos.c:1628
int32_t _IQ2imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1763
int16_t _IQ11toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ11 number to a string.
Definition: _IQNtoa.c:466
int32_t _IQ26mpy(int32_t a, int32_t b)
Multiplies two values of IQ26 format.
Definition: _IQNmpy.c:77
int32_t _IQ18exp(int32_t a)
Computes the exponential of an IQ18 input.
Definition: _IQNexp.c:279
int32_t _IQ3isqrt(int32_t a)
Calculate inverse square root of an IQ3 input.
Definition: _IQNsqrt.c:1377
int32_t _IQ18asin(int32_t a)
Computes the inverse sine of the IQ18 input.
Definition: _IQNasin_acos.c:322
int32_t _IQ22asin(int32_t a)
Computes the inverse sine of the IQ22 input.
Definition: _IQNasin_acos.c:278
int32_t _IQ30cosPU(int32_t a)
Computes the cosine of an IQ30 input.
Definition: _IQNsin_cos.c:1397
float _IQ28toF(int32_t a)
Converts input to floating point using IQ28 format.
Definition: _IQNtoF.c:99
int32_t _IQ10mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ10 format.
Definition: _IQNmpyIQX.c:380
int32_t _atoIQ27(const char *string)
Converts string to IQ27 number.
Definition: _atoIQN.c:193
int32_t _IQ9atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ9 input and return the result.
Definition: _IQNatan2.c:989
int32_t _atoIQ23(const char *string)
Converts string to IQ23 number.
Definition: _atoIQN.c:237
int32_t _IQ13div(int32_t a, int32_t b)
Divides two values of IQ13 format.
Definition: _IQNdiv.c:229
int32_t _IQ9rmpy(int32_t a, int32_t b)
Multiply two values of IQ9 type, with rounding.
Definition: _IQNrmpy.c:312
int32_t _IQ25sinPU(int32_t a)
Computes the sine of an IQ25 input.
Definition: _IQNsin_cos.c:1109
int32_t _IQ14mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ14 format.
Definition: _IQNmpyIQX.c:320
int32_t _IQ1frac(int32_t a)
Return the fractional portion of an IQ1 input.
Definition: _IQNfrac.c:360
int32_t _atoIQ22(const char *string)
Converts string to IQ22 number.
Definition: _atoIQN.c:248
int32_t _atoIQ26(const char *string)
Converts string to IQ26 number.
Definition: _atoIQN.c:204
int32_t _IQ1mpy(int32_t a, int32_t b)
Multiplies two values of IQ1 format.
Definition: _IQNmpy.c:377
int32_t _IQ29cosPU(int32_t a)
Computes the cosine of an IQ29 input.
Definition: _IQNsin_cos.c:1408
int32_t _IQ28exp(int32_t a)
Computes the exponential of an IQ28 input.
Definition: _IQNexp.c:169
int32_t _IQ24mpy(int32_t a, int32_t b)
Multiplies two values of IQ24 format.
Definition: _IQNmpy.c:101
int32_t _IQ6log(int32_t a)
Computes the base-e logarithm of an IQ6 input.
Definition: _IQNlog.c:394
int32_t _IQ20imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1547
int32_t _IQ13sinPU(int32_t a)
Computes the sine of an IQ13 input.
Definition: _IQNsin_cos.c:1241
int32_t _IQ17log(int32_t a)
Computes the base-e logarithm of an IQ17 input.
Definition: _IQNlog.c:273
int32_t _IQ12log(int32_t a)
Computes the base-e logarithm of an IQ12 input.
Definition: _IQNlog.c:328
int32_t _IQ12atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ12 input and return the result, in radians.
Definition: _IQNatan2.c:545
int32_t _IQ15atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ15 input and return the result, in radians.
Definition: _IQNatan2.c:506
int32_t _IQ15sin(int32_t a)
Computes the sine of an IQ15 input.
Definition: _IQNsin_cos.c:555
float _IQ27toF(int32_t a)
Converts input to floating point using IQ27 format.
Definition: _IQNtoF.c:110
int32_t _IQ11isqrt(int32_t a)
Calculate inverse square root of an IQ11 input.
Definition: _IQNsqrt.c:1289
int32_t _IQ27sin(int32_t a)
Computes the sine of an IQ27 input.
Definition: _IQNsin_cos.c:423
int32_t _IQ4rmpy(int32_t a, int32_t b)
Multiply two values of IQ4 type, with rounding.
Definition: _IQNrmpy.c:372
int32_t _IQ12cos(int32_t a)
Computes the cosine of an IQ12 input.
Definition: _IQNsin_cos.c:909
int32_t _IQ24exp(int32_t a)
Computes the exponential of an IQ24 input.
Definition: _IQNexp.c:213
float _IQ10toF(int32_t a)
Converts input to floating point using IQ10 format.
Definition: _IQNtoF.c:297
int32_t _IQ27atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ27 input and return the result, in radians.
Definition: _IQNatan2.c:350
int32_t _IQ19cosPU(int32_t a)
Computes the cosine of an IQ19 input.
Definition: _IQNsin_cos.c:1518
int16_t _IQ20toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ20 number to a string.
Definition: _IQNtoa.c:340
int32_t _IQ22exp(int32_t a)
Computes the exponential of an IQ22 input.
Definition: _IQNexp.c:235
int32_t _IQ14cos(int32_t a)
Computes the cosine of an IQ14 input.
Definition: _IQNsin_cos.c:887
int32_t _IQ26mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ26 format.
Definition: _IQNmpyIQX.c:140
int32_t _IQ30imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1427
int32_t _IQ22frac(int32_t a)
Return the fractional portion of an IQ22 input.
Definition: _IQNfrac.c:129
int32_t _IQ8sin(int32_t a)
Computes the sine of an IQ8 input.
Definition: _IQNsin_cos.c:632
int32_t _IQ20asin(int32_t a)
Computes the inverse sine of the IQ20 input.
Definition: _IQNasin_acos.c:300
int32_t _IQ22isqrt(int32_t a)
Calculate inverse square root of an IQ22 input.
Definition: _IQNsqrt.c:1168
int32_t _IQ1rsmpy(int32_t a, int32_t b)
Multiplies two IQ1 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:417
int32_t _IQ17cos(int32_t a)
Computes the cosine of an IQ17 input.
Definition: _IQNsin_cos.c:854
int32_t _IQ24cos(int32_t a)
Computes the cosine of an IQ24 input.
Definition: _IQNsin_cos.c:777
int32_t _IQ23asin(int32_t a)
Computes the inverse sine of the IQ23 input.
Definition: _IQNasin_acos.c:267
float _IQ18toF(int32_t a)
Converts input to floating point using IQ18 format.
Definition: _IQNtoF.c:209
int32_t _IQ2exp(int32_t a)
Computes the exponential of an IQ2 input.
Definition: _IQNexp.c:455
int32_t _IQ7sin(int32_t a)
Computes the sine of an IQ7 input.
Definition: _IQNsin_cos.c:643
int32_t _IQ4atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ4 input and return the result.
Definition: _IQNatan2.c:1054
int32_t _IQ14imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1619
int32_t _IQ28asin(int32_t a)
Computes the inverse sine of the IQ28 input.
Definition: _IQNasin_acos.c:212
int32_t _IQ13exp(int32_t a)
Computes the exponential of an IQ13 input.
Definition: _IQNexp.c:334
int32_t _IQ17sqrt(int32_t a)
Calculate square root of an IQ17 input.
Definition: _IQNsqrt.c:525
int32_t _IQ25sqrt(int32_t a)
Calculate square root of an IQ25 input.
Definition: _IQNsqrt.c:437
int32_t _IQ3rmpy(int32_t a, int32_t b)
Multiply two values of IQ3 type, with rounding.
Definition: _IQNrmpy.c:384
int32_t _IQ24sin(int32_t a)
Computes the sine of an IQ24 input.
Definition: _IQNsin_cos.c:456
int32_t _IQ2cos(int32_t a)
Computes the cosine of an IQ2 input.
Definition: _IQNsin_cos.c:1019
int32_t _IQ24cosPU(int32_t a)
Computes the cosine of an IQ24 input.
Definition: _IQNsin_cos.c:1463
int32_t _IQ19exp(int32_t a)
Computes the exponential of an IQ19 input.
Definition: _IQNexp.c:268
int32_t _IQ21atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ21 input and return the result.
Definition: _IQNatan2.c:833
int32_t _IQ1sinPU(int32_t a)
Computes the sine of an IQ1 input.
Definition: _IQNsin_cos.c:1373
int32_t _IQ6mpy(int32_t a, int32_t b)
Multiplies two values of IQ6 format.
Definition: _IQNmpy.c:317
int32_t _IQ19div(int32_t a, int32_t b)
Divides two values of IQ19 format.
Definition: _IQNdiv.c:157
int32_t _IQ27atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ27 input and return the result.
Definition: _IQNatan2.c:755
int32_t _IQ6imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1715
int32_t _IQ16rsmpy(int32_t a, int32_t b)
Multiplies two IQ16 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:237
int32_t _IQ10exp(int32_t a)
Computes the exponential of an IQ10 input.
Definition: _IQNexp.c:367
int32_t _IQ7atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ7 input and return the result.
Definition: _IQNatan2.c:1015
int32_t _IQ16isqrt(int32_t a)
Calculate inverse square root of an IQ16 input.
Definition: _IQNsqrt.c:1234
int32_t _IQ3sin(int32_t a)
Computes the sine of an IQ3 input.
Definition: _IQNsin_cos.c:687
int32_t _IQ29sqrt(int32_t a)
Calculate square root of an IQ29 input.
Definition: _IQNsqrt.c:393
int32_t _IQ12mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ12 format.
Definition: _IQNmpyIQX.c:350
int32_t _IQ24div(int32_t a, int32_t b)
Divides two values of IQ24 format.
Definition: _IQNdiv.c:97
int32_t _IQ14log(int32_t a)
Computes the base-e logarithm of an IQ14 input.
Definition: _IQNlog.c:306
int32_t _IQ7imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1703
int32_t _IQ3div(int32_t a, int32_t b)
Divides two values of IQ3 format.
Definition: _IQNdiv.c:349
int32_t _IQ7cosPU(int32_t a)
Computes the cosine of an IQ7 input.
Definition: _IQNsin_cos.c:1650
int32_t _IQ19sinPU(int32_t a)
Computes the sine of an IQ19 input.
Definition: _IQNsin_cos.c:1175
int32_t _IQ22cos(int32_t a)
Computes the cosine of an IQ22 input.
Definition: _IQNsin_cos.c:799
int32_t _IQ8rsmpy(int32_t a, int32_t b)
Multiplies two IQ8 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:333
int32_t _IQ7atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ7 input and return the result, in radians.
Definition: _IQNatan2.c:610
int32_t _IQ12sin(int32_t a)
Computes the sine of an IQ12 input.
Definition: _IQNsin_cos.c:588
int32_t _IQ28atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ28 input and return the result.
Definition: _IQNatan2.c:742
float _IQ22toF(int32_t a)
Converts input to floating point using IQ22 format.
Definition: _IQNtoF.c:165
int32_t _IQ23mpy(int32_t a, int32_t b)
Multiplies two values of IQ23 format.
Definition: _IQNmpy.c:113
int32_t _IQ16cos(int32_t a)
Computes the cosine of an IQ16 input.
Definition: _IQNsin_cos.c:865
int32_t _atoIQ6(const char *string)
Converts string to IQ6 number.
Definition: _atoIQN.c:424
int32_t _IQ30frac(int32_t a)
Return the fractional portion of an IQ30 input.
Definition: _IQNfrac.c:41
int32_t _IQ2sinPU(int32_t a)
Computes the sine of an IQ2 input.
Definition: _IQNsin_cos.c:1362
int32_t _IQ9mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ9 format.
Definition: _IQNmpyIQX.c:395
int32_t _IQ23frac(int32_t a)
Return the fractional portion of an IQ23 input.
Definition: _IQNfrac.c:118
int32_t _IQ1sin(int32_t a)
Computes the sine of an IQ1 input.
Definition: _IQNsin_cos.c:709
int32_t _IQ22mpy(int32_t a, int32_t b)
Multiplies two values of IQ22 format.
Definition: _IQNmpy.c:125
int32_t _IQ26rsmpy(int32_t a, int32_t b)
Multiplies two IQ26 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:117
int32_t _IQ22sin(int32_t a)
Computes the sine of an IQ22 input.
Definition: _IQNsin_cos.c:478
int32_t _IQ10atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ10 input and return the result.
Definition: _IQNatan2.c:976
int32_t _IQ12asin(int32_t a)
Computes the inverse sine of the IQ12 input.
Definition: _IQNasin_acos.c:388
int32_t _IQ21atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ21 input and return the result, in radians.
Definition: _IQNatan2.c:428
int32_t _IQ17mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ17 format.
Definition: _IQNmpyIQX.c:275
int32_t _IQ2rmpy(int32_t a, int32_t b)
Multiply two values of IQ2 type, with rounding.
Definition: _IQNrmpy.c:396
int32_t _IQ15mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ15 format.
Definition: _IQNmpyIQX.c:305
int32_t _IQ9isqrt(int32_t a)
Calculate inverse square root of an IQ9 input.
Definition: _IQNsqrt.c:1311
int32_t _atoIQ21(const char *string)
Converts string to IQ21 number.
Definition: _atoIQN.c:259
int32_t _IQ18mpy(int32_t a, int32_t b)
Multiplies two values of IQ18 format.
Definition: _IQNmpy.c:173
int32_t _IQ16atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ16 input and return the result, in radians.
Definition: _IQNatan2.c:493
int32_t _IQ15rmpy(int32_t a, int32_t b)
Multiply two values of IQ15 type, with rounding.
Definition: _IQNrmpy.c:240
int32_t _atoIQ1(const char *string)
Converts string to IQ1 number.
Definition: _atoIQN.c:479
int32_t _IQ18imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1571
int32_t _IQ11cosPU(int32_t a)
Computes the cosine of an IQ11 input.
Definition: _IQNsin_cos.c:1606
int32_t _IQ1log(int32_t a)
Computes the base-e logarithm of an IQ1 input.
Definition: _IQNlog.c:449
int32_t _IQ19log(int32_t a)
Computes the base-e logarithm of an IQ19 input.
Definition: _IQNlog.c:251
int32_t _IQ29sin(int32_t a)
Computes the cosine of an IQ29 input.
Definition: _IQNsin_cos.c:401
int32_t _IQ24rsmpy(int32_t a, int32_t b)
Multiplies two IQ24 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:141
int32_t _IQ8exp(int32_t a)
Computes the exponential of an IQ8 input.
Definition: _IQNexp.c:389
int32_t _IQ29cos(int32_t a)
Computes the cosine of an IQ29 input.
Definition: _IQNsin_cos.c:722
int32_t _IQ20mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ20 format.
Definition: _IQNmpyIQX.c:230
int32_t _IQ19atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ19 input and return the result, in radians.
Definition: _IQNatan2.c:454
int16_t _IQ14toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ14 number to a string.
Definition: _IQNtoa.c:424
int32_t _IQ4sin(int32_t a)
Computes the sine of an IQ4 input.
Definition: _IQNsin_cos.c:676
int32_t _IQ12rmpy(int32_t a, int32_t b)
Multiply two values of IQ12 type, with rounding.
Definition: _IQNrmpy.c:276
int32_t _IQ23isqrt(int32_t a)
Calculate inverse square root of an IQ23 input.
Definition: _IQNsqrt.c:1157
int32_t _IQ27log(int32_t a)
Computes the base-e logarithm of an IQ27 input.
Definition: _IQNlog.c:163
int16_t _IQ21toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ21 number to a string.
Definition: _IQNtoa.c:326
int32_t _atoIQ20(const char *string)
Converts string to IQ20 number.
Definition: _atoIQN.c:270
int32_t _IQ22div(int32_t a, int32_t b)
Divides two values of IQ22 format.
Definition: _IQNdiv.c:121
int32_t _IQ26sinPU(int32_t a)
Computes the sine of an IQ26 input.
Definition: _IQNsin_cos.c:1098
int32_t _IQ14atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ14 input and return the result, in radians.
Definition: _IQNatan2.c:519
int32_t _IQ12imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1643
int32_t _IQ6sinPU(int32_t a)
Computes the sine of an IQ6 input.
Definition: _IQNsin_cos.c:1318
int32_t _IQ26exp(int32_t a)
Computes the exponential of an IQ26 input.
Definition: _IQNexp.c:191
int32_t _IQ24atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ24 input and return the result, in radians.
Definition: _IQNatan2.c:389
int32_t _IQ8mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ8 format.
Definition: _IQNmpyIQX.c:410
int32_t _IQ28mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ28 format.
Definition: _IQNmpyIQX.c:110
int32_t _IQ1atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ1 input and return the result, in radians.
Definition: _IQNatan2.c:688
int32_t _IQ25atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ25 input and return the result, in radians.
Definition: _IQNatan2.c:376
int32_t _IQ28sqrt(int32_t a)
Calculate square root of an IQ28 input.
Definition: _IQNsqrt.c:404
int32_t _IQ3rsmpy(int32_t a, int32_t b)
Multiplies two IQ3 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:393
int32_t _IQ26isqrt(int32_t a)
Calculate inverse square root of an IQ26 input.
Definition: _IQNsqrt.c:1124
int32_t _IQ18mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ18 format.
Definition: _IQNmpyIQX.c:260
int32_t _IQ2log(int32_t a)
Computes the base-e logarithm of an IQ2 input.
Definition: _IQNlog.c:438
int32_t _IQ2asin(int32_t a)
Computes the inverse sine of the IQ2 input.
Definition: _IQNasin_acos.c:498
int32_t _IQ11asin(int32_t a)
Computes the inverse sine of the IQ11 input.
Definition: _IQNasin_acos.c:399
int32_t _IQ7log(int32_t a)
Computes the base-e logarithm of an IQ7 input.
Definition: _IQNlog.c:383
int16_t _IQ25toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ25 number to a string.
Definition: _IQNtoa.c:270
int32_t _IQ30rsmpy(int32_t a, int32_t b)
Multiplies two IQ30 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:69
int32_t _IQ29mpy(int32_t a, int32_t b)
Multiplies two values of IQ29 format.
Definition: _IQNmpy.c:41
int32_t _IQ20exp(int32_t a)
Computes the exponential of an IQ20 input.
Definition: _IQNexp.c:257
int32_t _IQ14frac(int32_t a)
Return the fractional portion of an IQ14 input.
Definition: _IQNfrac.c:217
int32_t _IQ11sinPU(int32_t a)
Computes the sine of an IQ11 input.
Definition: _IQNsin_cos.c:1263
int32_t _IQ26log(int32_t a)
Computes the base-e logarithm of an IQ26 input.
Definition: _IQNlog.c:174
int32_t _IQ9mpy(int32_t a, int32_t b)
Multiplies two values of IQ9 format.
Definition: _IQNmpy.c:281
int32_t _IQ20frac(int32_t a)
Return the fractional portion of an IQ20 input.
Definition: _IQNfrac.c:151
int32_t _IQ21exp(int32_t a)
Computes the exponential of an IQ21 input.
Definition: _IQNexp.c:246
int32_t _IQ20rmpy(int32_t a, int32_t b)
Multiply two values of IQ20 type, with rounding.
Definition: _IQNrmpy.c:180
int32_t _IQ18rmpy(int32_t a, int32_t b)
Multiply two values of IQ18 type, with rounding.
Definition: _IQNrmpy.c:204
int16_t _IQ3toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ3 number to a string.
Definition: _IQNtoa.c:578
int32_t _IQ11frac(int32_t a)
Return the fractional portion of an IQ11 input.
Definition: _IQNfrac.c:250
int32_t _IQ25sin(int32_t a)
Computes the sine of an IQ25 input.
Definition: _IQNsin_cos.c:445
int32_t _IQ13cosPU(int32_t a)
Computes the cosine of an IQ13 input.
Definition: _IQNsin_cos.c:1584
int32_t _IQ22mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ22 format.
Definition: _IQNmpyIQX.c:200
float _IQ30toF(int32_t a)
Converts input to floating point using IQ30 format.
Definition: _IQNtoF.c:77
int32_t _IQ1imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1775
int32_t _IQ4sinPU(int32_t a)
Computes the sine of an IQ4 input.
Definition: _IQNsin_cos.c:1340
int32_t _IQ16sinPU(int32_t a)
Computes the sine of an IQ16 input.
Definition: _IQNsin_cos.c:1208
int32_t _IQ21rsmpy(int32_t a, int32_t b)
Multiplies two IQ21 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:177
int32_t _IQ21cos(int32_t a)
Computes the cosine of an IQ21 input.
Definition: _IQNsin_cos.c:810
int32_t _IQ17frac(int32_t a)
Return the fractional portion of an IQ17 input.
Definition: _IQNfrac.c:184
int32_t _IQ1isqrt(int32_t a)
Calculate inverse square root of an IQ1 input.
Definition: _IQNsqrt.c:1399
int32_t _IQ5sqrt(int32_t a)
Calculate square root of an IQ5 input.
Definition: _IQNsqrt.c:657
int32_t _IQ2mpy(int32_t a, int32_t b)
Multiplies two values of IQ2 format.
Definition: _IQNmpy.c:365
int32_t _IQ3exp(int32_t a)
Computes the exponential of an IQ3 input.
Definition: _IQNexp.c:444
int32_t _IQ29log(int32_t a)
Computes the base-e logarithm of an IQ29 input.
Definition: _IQNlog.c:141
int32_t _IQ9sinPU(int32_t a)
Computes the sine of an IQ9 input.
Definition: _IQNsin_cos.c:1285
int32_t _IQ22cosPU(int32_t a)
Computes the cosine of an IQ22 input.
Definition: _IQNsin_cos.c:1485
int32_t _IQ14mpy(int32_t a, int32_t b)
Multiplies two values of IQ14 format.
Definition: _IQNmpy.c:221
int32_t _IQ2frac(int32_t a)
Return the fractional portion of an IQ2 input.
Definition: _IQNfrac.c:349
int32_t _IQ12cosPU(int32_t a)
Computes the cosine of an IQ12 input.
Definition: _IQNsin_cos.c:1595
int32_t _IQ13rmpy(int32_t a, int32_t b)
Multiply two values of IQ13 type, with rounding.
Definition: _IQNrmpy.c:264
int32_t _IQ25isqrt(int32_t a)
Calculate inverse square root of an IQ25 input.
Definition: _IQNsqrt.c:1135
int32_t _IQ23imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1511
int32_t _IQ11mpy(int32_t a, int32_t b)
Multiplies two values of IQ11 format.
Definition: _IQNmpy.c:257
int16_t _IQ8toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ8 number to a string.
Definition: _IQNtoa.c:508
int32_t _IQ25cos(int32_t a)
Computes the cosine of an IQ25 input.
Definition: _IQNsin_cos.c:766
int32_t _IQ13asin(int32_t a)
Computes the inverse sine of the IQ13 input.
Definition: _IQNasin_acos.c:377
int32_t _IQ23sqrt(int32_t a)
Calculate square root of an IQ23 input.
Definition: _IQNsqrt.c:459
int32_t _IQ23sin(int32_t a)
Computes the sine of an IQ23 input.
Definition: _IQNsin_cos.c:467
int32_t _IQ2div(int32_t a, int32_t b)
Divides two values of IQ2 format.
Definition: _IQNdiv.c:361
int32_t _IQ6mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ6 format.
Definition: _IQNmpyIQX.c:440
int32_t _IQ7exp(int32_t a)
Computes the exponential of an IQ7 input.
Definition: _IQNexp.c:400
int32_t _IQ16div(int32_t a, int32_t b)
Divides two values of IQ16 format.
Definition: _IQNdiv.c:193
int32_t _IQ19cos(int32_t a)
Computes the cosine of an IQ19 input.
Definition: _IQNsin_cos.c:832
int32_t _IQ11log(int32_t a)
Computes the base-e logarithm of an IQ11 input.
Definition: _IQNlog.c:339
int32_t _IQ13isqrt(int32_t a)
Calculate inverse square root of an IQ13 input.
Definition: _IQNsqrt.c:1267
int32_t _IQ20sqrt(int32_t a)
Calculate square root of an IQ20 input.
Definition: _IQNsqrt.c:492
int32_t _IQ10sin(int32_t a)
Computes the sine of an IQ10 input.
Definition: _IQNsin_cos.c:610
int32_t _IQ3cos(int32_t a)
Computes the cosine of an IQ3 input.
Definition: _IQNsin_cos.c:1008
int32_t _IQ17asin(int32_t a)
Computes the inverse sine of the IQ17 input.
Definition: _IQNasin_acos.c:333
int32_t _IQ6atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ6 input and return the result, in radians.
Definition: _IQNatan2.c:623
int32_t _IQ10log(int32_t a)
Computes the base-e logarithm of an IQ10 input.
Definition: _IQNlog.c:350
int32_t _IQ18cos(int32_t a)
Computes the cosine of an IQ18 input.
Definition: _IQNsin_cos.c:843
int32_t _IQ6rsmpy(int32_t a, int32_t b)
Multiplies two IQ6 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:357
int32_t _IQ25frac(int32_t a)
Return the fractional portion of an IQ25 input.
Definition: _IQNfrac.c:96
float _IQ7toF(int32_t a)
Converts input to floating point using IQ7 format.
Definition: _IQNtoF.c:330
int32_t _IQ12isqrt(int32_t a)
Calculate inverse square root of an IQ12 input.
Definition: _IQNsqrt.c:1278
int32_t _IQ4exp(int32_t a)
Computes the exponential of an IQ4 input.
Definition: _IQNexp.c:433
int16_t _IQ22toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ22 number to a string.
Definition: _IQNtoa.c:312
int32_t _IQ17rmpy(int32_t a, int32_t b)
Multiply two values of IQ17 type, with rounding.
Definition: _IQNrmpy.c:216
int32_t _IQ14sqrt(int32_t a)
Calculate square root of an IQ14 input.
Definition: _IQNsqrt.c:558
int32_t _IQ25atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ25 input and return the result.
Definition: _IQNatan2.c:781
int32_t _IQ11rmpy(int32_t a, int32_t b)
Multiply two values of IQ11 type, with rounding.
Definition: _IQNrmpy.c:288
int32_t _IQ18isqrt(int32_t a)
Calculate inverse square root of an IQ18 input.
Definition: _IQNsqrt.c:1212
int32_t _IQ8log(int32_t a)
Computes the base-e logarithm of an IQ8 input.
Definition: _IQNlog.c:372
int32_t _IQ22imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1523
int32_t _IQ3log(int32_t a)
Computes the base-e logarithm of an IQ3 input.
Definition: _IQNlog.c:427
int32_t _IQ17cosPU(int32_t a)
Computes the cosine of an IQ17 input.
Definition: _IQNsin_cos.c:1540
int32_t _IQ3sinPU(int32_t a)
Computes the sine of an IQ3 input.
Definition: _IQNsin_cos.c:1351
int32_t _IQ22log(int32_t a)
Computes the base-e logarithm of an IQ22 input.
Definition: _IQNlog.c:218
int32_t _IQ9cos(int32_t a)
Computes the cosine of an IQ9 input.
Definition: _IQNsin_cos.c:942
int32_t _IQ27rmpy(int32_t a, int32_t b)
Multiply two values of IQ27 type, with rounding.
Definition: _IQNrmpy.c:96
int32_t _IQ17isqrt(int32_t a)
Calculate inverse square root of an IQ17 input.
Definition: _IQNsqrt.c:1223
int32_t _IQ15cos(int32_t a)
Computes the cosine of an IQ15 input.
Definition: _IQNsin_cos.c:876
int32_t _IQ16exp(int32_t a)
Computes the exponential of an IQ16 input.
Definition: _IQNexp.c:301
int32_t _IQ29imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1439
int32_t _atoIQ16(const char *string)
Converts string to IQ16 number.
Definition: _atoIQN.c:314
int32_t _IQ16mpy(int32_t a, int32_t b)
Multiplies two values of IQ16 format.
Definition: _IQNmpy.c:197
int32_t _IQ26sin(int32_t a)
Computes the sine of an IQ26 input.
Definition: _IQNsin_cos.c:434
int32_t _IQ16sqrt(int32_t a)
Calculate square root of an IQ16 input.
Definition: _IQNsqrt.c:536
int32_t _IQ24sqrt(int32_t a)
Calculate square root of an IQ24 input.
Definition: _IQNsqrt.c:448
int32_t _IQ30exp(int32_t a)
Computes the exponential of an IQ30 input.
Definition: _IQNexp.c:147
int32_t _IQ29frac(int32_t a)
Return the fractional portion of an IQ29 input.
Definition: _IQNfrac.c:52
int32_t _IQ15sinPU(int32_t a)
Computes the sine of an IQ15 input.
Definition: _IQNsin_cos.c:1219
int32_t _IQ21frac(int32_t a)
Return the fractional portion of an IQ21 input.
Definition: _IQNfrac.c:140
int16_t _IQ15toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ15 number to a string.
Definition: _IQNtoa.c:410
int32_t _IQ21sin(int32_t a)
Computes the sine of an IQ21 input.
Definition: _IQNsin_cos.c:489
int16_t _IQ6toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ6 number to a string.
Definition: _IQNtoa.c:536
int16_t _IQ23toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ23 number to a string.
Definition: _IQNtoa.c:298
int32_t _atoIQ19(const char *string)
Converts string to IQ19 number.
Definition: _atoIQN.c:281
int32_t _IQ9rsmpy(int32_t a, int32_t b)
Multiplies two IQ9 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:321
int32_t _IQ2atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ2 input and return the result, in radians.
Definition: _IQNatan2.c:675
int32_t _IQ5sin(int32_t a)
Computes the sine of an IQ5 input.
Definition: _IQNsin_cos.c:665
int32_t _atoIQ11(const char *string)
Converts string to IQ11 number.
Definition: _atoIQN.c:369
int32_t _IQ12atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ12 input and return the result.
Definition: _IQNatan2.c:950
int32_t _IQ5log(int32_t a)
Computes the base-e logarithm of an IQ5 input.
Definition: _IQNlog.c:405
int32_t _IQ3mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ3 format.
Definition: _IQNmpyIQX.c:485
int32_t _IQ5atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ5 input and return the result, in radians.
Definition: _IQNatan2.c:636
int32_t _IQ21asin(int32_t a)
Computes the inverse sine of the IQ21 input.
Definition: _IQNasin_acos.c:289
int32_t _IQ19isqrt(int32_t a)
Calculate inverse square root of an IQ19 input.
Definition: _IQNsqrt.c:1201
int16_t _IQ29toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ29 number to a string.
Definition: _IQNtoa.c:214
int32_t _IQ15mpy(int32_t a, int32_t b)
Multiplies two values of IQ15 format.
Definition: _IQNmpy.c:209
int32_t _IQ5asin(int32_t a)
Computes the inverse sine of the IQ5 input.
Definition: _IQNasin_acos.c:465
int32_t _IQ8cos(int32_t a)
Computes the cosine of an IQ8 input.
Definition: _IQNsin_cos.c:953
int16_t _IQ27toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ27 number to a string.
Definition: _IQNtoa.c:242
float _IQ14toF(int32_t a)
Converts input to floating point using IQ14 format.
Definition: _IQNtoF.c:253
int32_t _IQ24isqrt(int32_t a)
Calculate inverse square root of an IQ24 input.
Definition: _IQNsqrt.c:1146
int32_t _IQ12frac(int32_t a)
Return the fractional portion of an IQ12 input.
Definition: _IQNfrac.c:239
int32_t _IQ10atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ10 input and return the result, in radians.
Definition: _IQNatan2.c:571
int32_t _IQ13mpy(int32_t a, int32_t b)
Multiplies two values of IQ13 format.
Definition: _IQNmpy.c:233
int32_t _IQ20cos(int32_t a)
Computes the cosine of an IQ20 input.
Definition: _IQNsin_cos.c:821
int32_t _IQ27imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1463
int32_t _atoIQ10(const char *string)
Converts string to IQ10 number.
Definition: _atoIQN.c:380
int32_t _atoIQ2(const char *string)
Converts string to IQ2 number.
Definition: _atoIQN.c:468
int32_t _atoIQ7(const char *string)
Converts string to IQ7 number.
Definition: _atoIQN.c:413
int32_t _IQmag(int32_t A, int32_t B)
Calculate the magnitude of two IQ31 inputs.
Definition: _IQNsqrt.c:1413
int32_t _IQ24asin(int32_t a)
Computes the inverse sine of the IQ24 input.
Definition: _IQNasin_acos.c:256
int32_t _IQ16frac(int32_t a)
Return the fractional portion of an IQ16 input.
Definition: _IQNfrac.c:195
int32_t _IQ17mpy(int32_t a, int32_t b)
Multiplies two values of IQ17 format.
Definition: _IQNmpy.c:185
float _IQ16toF(int32_t a)
Converts input to floating point using IQ16 format.
Definition: _IQNtoF.c:231
int32_t _IQ24imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1499
int32_t _IQ6atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ6 input and return the result.
Definition: _IQNatan2.c:1028
int32_t _atoIQ29(const char *string)
Converts string to IQ29 number.
Definition: _atoIQN.c:171
int32_t _IQ30mpy(int32_t a, int32_t b)
Multiplies two values of IQ30 format.
Definition: _IQNmpy.c:29
int32_t _IQ25rsmpy(int32_t a, int32_t b)
Multiplies two IQ25 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:129
int32_t _IQ8atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ8 input and return the result.
Definition: _IQNatan2.c:1002
int32_t _IQ2mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ2 format.
Definition: _IQNmpyIQX.c:500
int32_t _IQ29div(int32_t a, int32_t b)
Divides two values of IQ29 format.
Definition: _IQNdiv.c:37
int16_t _IQ19toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ19 number to a string.
Definition: _IQNtoa.c:354
int32_t _IQ18sqrt(int32_t a)
Calculate square root of an IQ18 input.
Definition: _IQNsqrt.c:514
int32_t _IQ14sin(int32_t a)
Computes the sine of an IQ14 input.
Definition: _IQNsin_cos.c:566
int32_t _IQ10isqrt(int32_t a)
Calculate inverse square root of an IQ10 input.
Definition: _IQNsqrt.c:1300
int32_t _IQ4sqrt(int32_t a)
Calculate square root of an IQ4 input.
Definition: _IQNsqrt.c:668
int16_t _IQ7toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ7 number to a string.
Definition: _IQNtoa.c:522
int32_t _IQ22sqrt(int32_t a)
Calculate square root of an IQ22 input.
Definition: _IQNsqrt.c:470
int32_t _IQ30rmpy(int32_t a, int32_t b)
Multiply two values of IQ30 type, with rounding.
Definition: _IQNrmpy.c:60
float _IQ4toF(int32_t a)
Converts input to floating point using IQ4 format.
Definition: _IQNtoF.c:363
int32_t _IQ16asin(int32_t a)
Computes the inverse sine of the IQ16 input.
Definition: _IQNasin_acos.c:344
int32_t _atoIQ12(const char *string)
Converts string to IQ12 number.
Definition: _atoIQN.c:358
int16_t _IQ12toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ12 number to a string.
Definition: _IQNtoa.c:452
int32_t _IQ28sinPU(int32_t a)
Computes the sine of an IQ28 input.
Definition: _IQNsin_cos.c:1076
int32_t _IQ20sin(int32_t a)
Computes the sine of an IQ20 input.
Definition: _IQNsin_cos.c:500
int32_t _IQ2atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ2 input and return the result.
Definition: _IQNatan2.c:1080
int32_t _IQ9asin(int32_t a)
Computes the inverse sine of the IQ9 input.
Definition: _IQNasin_acos.c:421
int32_t _IQ29atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ29 input and return the result.
Definition: _IQNatan2.c:729
int32_t _IQ11sin(int32_t a)
Computes the sine of an IQ11 input.
Definition: _IQNsin_cos.c:599
int32_t _IQ19rsmpy(int32_t a, int32_t b)
Multiplies two IQ19 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:201
int32_t _IQ3asin(int32_t a)
Computes the inverse sine of the IQ3 input.
Definition: _IQNasin_acos.c:487
int32_t _atoIQ28(const char *string)
Converts string to IQ28 number.
Definition: _atoIQN.c:182
int32_t _IQ6exp(int32_t a)
Computes the exponential of an IQ6 input.
Definition: _IQNexp.c:411
int16_t _IQ26toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ26 number to a string.
Definition: _IQNtoa.c:256
int32_t _IQ1sqrt(int32_t a)
Calculate square root of an IQ1 input.
Definition: _IQNsqrt.c:701
int32_t _IQ4cosPU(int32_t a)
Computes the cosine of an IQ4 input.
Definition: _IQNsin_cos.c:1683
int32_t _IQ8asin(int32_t a)
Computes the inverse sine of the IQ8 input.
Definition: _IQNasin_acos.c:432
int32_t _IQ24mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ24 format.
Definition: _IQNmpyIQX.c:170
int32_t _IQ15frac(int32_t a)
Return the fractional portion of an IQ15 input.
Definition: _IQNfrac.c:206
int32_t _IQ23log(int32_t a)
Computes the base-e logarithm of an IQ23 input.
Definition: _IQNlog.c:207
int32_t _IQ4log(int32_t a)
Computes the base-e logarithm of an IQ4 input.
Definition: _IQNlog.c:416
int32_t _atoIQ3(const char *string)
Converts string to IQ3 number.
Definition: _atoIQN.c:457
int32_t _IQ3mpy(int32_t a, int32_t b)
Multiplies two values of IQ3 format.
Definition: _IQNmpy.c:353
int32_t _IQ19atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ19 input and return the result.
Definition: _IQNatan2.c:859
int32_t _IQ7rsmpy(int32_t a, int32_t b)
Multiplies two IQ7 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:345
int32_t _IQ9sin(int32_t a)
Computes the sine of an IQ9 input.
Definition: _IQNsin_cos.c:621
int32_t _IQ15cosPU(int32_t a)
Computes the cosine of an IQ15 input.
Definition: _IQNsin_cos.c:1562
int32_t _IQ12rsmpy(int32_t a, int32_t b)
Multiplies two IQ12 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:285
float _IQ11toF(int32_t a)
Converts input to floating point using IQ11 format.
Definition: _IQNtoF.c:286
int32_t _IQ23rmpy(int32_t a, int32_t b)
Multiply two values of IQ23 type, with rounding.
Definition: _IQNrmpy.c:144
int32_t _IQ26imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1475
int32_t _IQ19asin(int32_t a)
Computes the inverse sine of the IQ19 input.
Definition: _IQNasin_acos.c:311
int32_t _IQ29rsmpy(int32_t a, int32_t b)
Multiplies two IQ29 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:81
int32_t _IQ29rmpy(int32_t a, int32_t b)
Multiply two values of IQ29 type, with rounding.
Definition: _IQNrmpy.c:72
int32_t _IQ27isqrt(int32_t a)
Calculate inverse square root of an IQ27 input.
Definition: _IQNsqrt.c:1113
int32_t _IQ9atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ9 input and return the result, in radians.
Definition: _IQNatan2.c:584
int16_t _IQ5toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ5 number to a string.
Definition: _IQNtoa.c:550
int32_t _IQ8sinPU(int32_t a)
Computes the sine of an IQ8 input.
Definition: _IQNsin_cos.c:1296
int32_t _IQ12div(int32_t a, int32_t b)
Divides two values of IQ12 format.
Definition: _IQNdiv.c:241
int32_t _IQ13cos(int32_t a)
Computes the cosine of an IQ13 input.
Definition: _IQNsin_cos.c:898
int16_t _IQ2toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ2 number to a string.
Definition: _IQNtoa.c:592
int32_t _IQ23rsmpy(int32_t a, int32_t b)
Multiplies two IQ23 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:153
int32_t _IQ18atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ18 input and return the result, in radians.
Definition: _IQNatan2.c:467
int32_t _IQ5mpy(int32_t a, int32_t b)
Multiplies two values of IQ5 format.
Definition: _IQNmpy.c:329
int32_t _IQ29isqrt(int32_t a)
Calculate inverse square root of an IQ29 input.
Definition: _IQNsqrt.c:1091
int32_t _IQ2sqrt(int32_t a)
Calculate square root of an IQ2 input.
Definition: _IQNsqrt.c:690
int32_t _IQ13log(int32_t a)
Computes the base-e logarithm of an IQ13 input.
Definition: _IQNlog.c:317
int32_t _IQ5exp(int32_t a)
Computes the exponential of an IQ5 input.
Definition: _IQNexp.c:422
int32_t _IQ7asin(int32_t a)
Computes the inverse sine of the IQ7 input.
Definition: _IQNasin_acos.c:443
int32_t _IQ27frac(int32_t a)
Return the fractional portion of an IQ27 input.
Definition: _IQNfrac.c:74
int32_t _IQ25exp(int32_t a)
Computes the exponential of an IQ25 input.
Definition: _IQNexp.c:202
int32_t _IQ11sqrt(int32_t a)
Calculate square root of an IQ11 input.
Definition: _IQNsqrt.c:591
int32_t _IQ21log(int32_t a)
Computes the base-e logarithm of an IQ21 input.
Definition: _IQNlog.c:229
int32_t _IQ2isqrt(int32_t a)
Calculate inverse square root of an IQ2 input.
Definition: _IQNsqrt.c:1388
int32_t _IQ25mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ25 format.
Definition: _IQNmpyIQX.c:155
int32_t _IQ25asin(int32_t a)
Computes the inverse sine of the IQ25 input.
Definition: _IQNasin_acos.c:245
int32_t _IQ28mpy(int32_t a, int32_t b)
Multiplies two values of IQ28 format.
Definition: _IQNmpy.c:53
int32_t _IQ15rsmpy(int32_t a, int32_t b)
Multiplies two IQ15 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:249
int32_t _IQ30mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ30 format.
Definition: _IQNmpyIQX.c:80
int32_t _IQ6isqrt(int32_t a)
Calculate inverse square root of an IQ6 input.
Definition: _IQNsqrt.c:1344
float _IQ23toF(int32_t a)
Converts input to floating point using IQ23 format.
Definition: _IQNtoF.c:154
int16_t _IQ30toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ30 number to a string.
Definition: _IQNtoa.c:200
int32_t _IQ13sin(int32_t a)
Computes the sine of an IQ13 input.
Definition: _IQNsin_cos.c:577
int32_t _IQ19frac(int32_t a)
Return the fractional portion of an IQ19 input.
Definition: _IQNfrac.c:162
int32_t _IQ1atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ1 input and return the result.
Definition: _IQNatan2.c:1093
int32_t _IQ11div(int32_t a, int32_t b)
Divides two values of IQ11 format.
Definition: _IQNdiv.c:253
int32_t _IQ30div(int32_t a, int32_t b)
Divides two values of IQ30 format.
Definition: _IQNdiv.c:25
int32_t _atoIQ18(const char *string)
Converts string to IQ18 number.
Definition: _atoIQN.c:292
int32_t _IQ29sinPU(int32_t a)
Computes the sine of an IQ29 input.
Definition: _IQNsin_cos.c:1065
int32_t _IQ23div(int32_t a, int32_t b)
Divides two values of IQ23 format.
Definition: _IQNdiv.c:109
int32_t _atoIQ9(const char *string)
Converts string to IQ9 number.
Definition: _atoIQN.c:391
int32_t _IQ2cosPU(int32_t a)
Computes the cosine of an IQ2 input.
Definition: _IQNsin_cos.c:1705
int32_t _IQ21div(int32_t a, int32_t b)
Divides two values of IQ21 format.
Definition: _IQNdiv.c:133
int32_t _IQ17atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ17 input and return the result, in radians.
Definition: _IQNatan2.c:480
int32_t _IQ13rsmpy(int32_t a, int32_t b)
Multiplies two IQ13 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:273
int32_t _IQ4asin(int32_t a)
Computes the inverse sine of the IQ4 input.
Definition: _IQNasin_acos.c:476
int32_t _IQ19sin(int32_t a)
Computes the sine of an IQ19 input.
Definition: _IQNsin_cos.c:511
int32_t _atoIQ30(const char *string)
Converts string to IQ30 number.
Definition: _atoIQN.c:160
int32_t _IQ28rsmpy(int32_t a, int32_t b)
Multiplies two IQ28 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:93
int32_t _IQ15atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ15 input and return the result.
Definition: _IQNatan2.c:911
int32_t _IQ20isqrt(int32_t a)
Calculate inverse square root of an IQ20 input.
Definition: _IQNsqrt.c:1190
int32_t _IQ18log(int32_t a)
Computes the base-e logarithm of an IQ18 input.
Definition: _IQNlog.c:262
int32_t _IQ15imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1607
int32_t _IQ4cos(int32_t a)
Computes the cosine of an IQ4 input.
Definition: _IQNsin_cos.c:997
int32_t _IQ10div(int32_t a, int32_t b)
Divides two values of IQ10 format.
Definition: _IQNdiv.c:265
int32_t _IQ20div(int32_t a, int32_t b)
Divides two values of IQ20 format.
Definition: _IQNdiv.c:145
int32_t _IQ24frac(int32_t a)
Return the fractional portion of an IQ24 input.
Definition: _IQNfrac.c:107
int16_t _IQ13toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ13 number to a string.
Definition: _IQNtoa.c:438
int32_t _IQ8div(int32_t a, int32_t b)
Divides two values of IQ8 format.
Definition: _IQNdiv.c:289
int32_t _IQ23mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ23 format.
Definition: _IQNmpyIQX.c:185
int32_t _IQ29asin(int32_t a)
Computes the inverse sine of the IQ29 input.
Definition: _IQNasin_acos.c:201
int32_t _IQ15asin(int32_t a)
Computes the inverse sine of the IQ15 input.
Definition: _IQNasin_acos.c:355
float _IQ2toF(int32_t a)
Converts input to floating point using IQ2 format.
Definition: _IQNtoF.c:385
int32_t _atoIQ17(const char *string)
Converts string to IQ17 number.
Definition: _atoIQN.c:303
int32_t _IQ26sqrt(int32_t a)
Calculate square root of an IQ26 input.
Definition: _IQNsqrt.c:426
int32_t _IQ28isqrt(int32_t a)
Calculate inverse square root of an IQ28 input.
Definition: _IQNsqrt.c:1102
int32_t _IQ3atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ3 input and return the result.
Definition: _IQNatan2.c:1067
int32_t _IQ16sin(int32_t a)
Computes the sine of an IQ16 input.
Definition: _IQNsin_cos.c:544
int32_t _IQ20atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ20 input and return the result.
Definition: _IQNatan2.c:846
int32_t _IQ17div(int32_t a, int32_t b)
Divides two values of IQ17 format.
Definition: _IQNdiv.c:181
int32_t _IQ22rsmpy(int32_t a, int32_t b)
Multiplies two IQ22 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:165
int32_t _IQ20atan2(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ20 input and return the result, in radians.
Definition: _IQNatan2.c:441
float _IQ15toF(int32_t a)
Converts input to floating point using IQ15 format.
Definition: _IQNtoF.c:242
int32_t _IQ14rsmpy(int32_t a, int32_t b)
Multiplies two IQ14 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:261
int32_t _IQ21rmpy(int32_t a, int32_t b)
Multiply two values of IQ21 type, with rounding.
Definition: _IQNrmpy.c:168
int32_t _IQ25div(int32_t a, int32_t b)
Divides two values of IQ25 format.
Definition: _IQNdiv.c:85
int32_t _IQ10sinPU(int32_t a)
Computes the sine of an IQ10 input.
Definition: _IQNsin_cos.c:1274
int32_t _IQ7rmpy(int32_t a, int32_t b)
Multiply two values of IQ7 type, with rounding.
Definition: _IQNrmpy.c:336
int32_t _IQ27exp(int32_t a)
Computes the exponential of an IQ27 input.
Definition: _IQNexp.c:180
int32_t _IQ18atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ18 input and return the result.
Definition: _IQNatan2.c:872
int32_t _IQ30isqrt(int32_t a)
Calculate inverse square root of an IQ30 input.
Definition: _IQNsqrt.c:1080
int32_t _IQ6cos(int32_t a)
Computes the cosine of an IQ6 input.
Definition: _IQNsin_cos.c:975
int16_t _IQ18toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ18 number to a string.
Definition: _IQNtoa.c:368
int32_t _IQ5atan2PU(int32_t y, int32_t x)
Compute the 4-quadrant arctangent of the IQ5 input and return the result.
Definition: _IQNatan2.c:1041
int32_t _IQ20sinPU(int32_t a)
Computes the sine of an IQ20 input.
Definition: _IQNsin_cos.c:1164
int32_t _IQ1exp(int32_t a)
Computes the exponential of an IQ1 input.
Definition: _IQNexp.c:466
int32_t _IQ29mpyIQX(int32_t a, int n1, int32_t b, int n2)
Multiply two IQ numbers in different IQ formats, returning the product in IQ29 format.
Definition: _IQNmpyIQX.c:95
float _IQ8toF(int32_t a)
Converts input to floating point using IQ8 format.
Definition: _IQNtoF.c:319
int32_t _IQ15exp(int32_t a)
Computes the exponential of an IQ15 input.
Definition: _IQNexp.c:312
int32_t _IQ30sinPU(int32_t a)
Computes the sine of an IQ30 input.
Definition: _IQNsin_cos.c:1054
int32_t _IQ23sinPU(int32_t a)
Computes the sine of an IQ23 input.
Definition: _IQNsin_cos.c:1131
int32_t _IQ5div(int32_t a, int32_t b)
Divides two values of IQ5 format.
Definition: _IQNdiv.c:325
int32_t _IQ25log(int32_t a)
Computes the base-e logarithm of an IQ25 input.
Definition: _IQNlog.c:185
int32_t _IQ3sqrt(int32_t a)
Calculate square root of an IQ3 input.
Definition: _IQNsqrt.c:679
int32_t _IQ18rsmpy(int32_t a, int32_t b)
Multiplies two IQ18 numbers, with rounding and saturation.
Definition: _IQNrsmpy.c:213
int32_t _IQ21isqrt(int32_t a)
Calculate inverse square root of an IQ21 input.
Definition: _IQNsqrt.c:1179
int32_t _atoIQ13(const char *string)
Converts string to IQ13 number.
Definition: _atoIQN.c:347
int32_t _IQ18sinPU(int32_t a)
Computes the sine of an IQ18 input.
Definition: _IQNsin_cos.c:1186
int32_t _IQ27mpy(int32_t a, int32_t b)
Multiplies two values of IQ27 format.
Definition: _IQNmpy.c:65
int16_t _IQ10toa(char *string, const char *format, int32_t iqNInput)
Convert an IQ10 number to a string.
Definition: _IQNtoa.c:480
int32_t _IQ27sqrt(int32_t a)
Calculate square root of an IQ27 input.
Definition: _IQNsqrt.c:415
int32_t _IQ10sqrt(int32_t a)
Calculate square root of an IQ10 input.
Definition: _IQNsqrt.c:602
int32_t _IQ9imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1679
int32_t _IQ27div(int32_t a, int32_t b)
Divides two values of IQ27 format.
Definition: _IQNdiv.c:61
float _IQ17toF(int32_t a)
Converts input to floating point using IQ17 format.
Definition: _IQNtoF.c:220
int32_t _IQ18frac(int32_t a)
Return the fractional portion of an IQ18 input.
Definition: _IQNfrac.c:173
float _IQ24toF(int32_t a)
Converts input to floating point using IQ24 format.
Definition: _IQNtoF.c:143
int32_t _IQ13imag(int32_t a, int32_t b)
Calculate inverse magnitude of two inputs.
Definition: _IQNsqrt.c:1631
float _IQ12toF(int32_t a)
Converts input to floating point using IQ12 format.
Definition: _IQNtoF.c:275