32-bit signed integer multiplication without using 64-bit data type

前端 未结 2 577
耶瑟儿~
耶瑟儿~ 2020-12-06 03:35

I want to do 32-bit signed integer multiplication without using a 64-bit data type. My inputs are in Q1.31 (both) format.

input1 = A32 (Ah Al) - higher, lowe         


        
2条回答
  •  伪装坚强ぢ
    2020-12-06 04:31

    The following site purports to offer a 32-bit implementation of an ANSI-C library for operating with Q-numbers in general: http://www.ti.com/tool/sprc542

    I have not tried this and cannot vouch for what it will or will not do for you, but there is a link at that site where you can request the source code.

提交回复
热议问题