• 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...
  • Converting unsigned char[] to long?
    How can you access the individual bytes making up a variable of type long? What I need to do is move a 24-bit (3 bytes) unsigned char array into a long variable. An example: unsigned char a[3]; unsigned...
  • Float or long - which is faster?
    My manual lists float multiplication as taking 106 cycles in long, but for float it can be from 13 to 198 (with an average time of 114). It looks like the two are about equal based on the average...
  • converting float to longwords
    Hello...first, sorry for the bad suuamry, i cannot change it, i hope you are understand what i mean. i'm doing some project with lots of float data type. now i need to convert the result of calculation...
  • code for converting float to string
    Is there any library function in KEIL C which converts a floating point into string. If not can somebody give the appropriate code.