Impulse Codev supports fixed point arithmetics for only 8,16 & 32 bits. How can I implement fixed point multiplications for 64bit integers?
64bit fixed point arithmetic
Started by nesaha, Jun 02 2010 09:10 AM
1 reply to this topic
#1
Posted 02 June 2010 - 09:10 AM
#2
Posted 22 June 2010 - 02:28 PM
If your platform has 32-bit datawidth, you can use 32-bit fixed-point macros to define a 64-bit macro in co_math.h. These macros are currently defined for basic operations on the bitwidths that correspond to the standard C types (8, 16, 32 bits), but there's no reason you can't write your own for 64-bit numbers.
meix
meix
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











