• ARM7 printf long long int
    Hi, my program does not do the expected things, printf a unsigned long long int. #include <aduc7026.h> #include"stdio.h" void RS232_init(void); int main (void) { unsigned long long int A; RS232_init...
  • long int division
    I need a 100% accurate division of any tow 32 bit numbers. So I am using the following code and the (/) operator. However I notice that results are not accurate when the Den (denominator) is shorter...
  • long long int for floating average computation
    I want to compute a floating average of third order. Just take a look at my code: void IRQ_Handler()__irq __ram { static long long unsigned int ACC1,ACC2,ACC3,ACC3D; static long long unsigned...
  • Keil u vision and code composer studio with lm3s8962
    Hi Community, I have a set of FFT codes that is suppose to create an array of number after processing the incoming signal. When I build my codes in code composer studio it was successfully built. However...
  • Efficiently combining bytes into a long int
    Hi, I'm having problems assembling a set of 4 bytes into a long int. My approach has been this: ulong temp; temp = (temp << SHIFT_BYTE) | getByte(); temp = (temp << SHIFT_BYTE) | getByte();...