• Converting 'short' to 'unsigned char'
    Hi, I've to debug an application written by someone else (...) An 'unsigned char' is used to be filled with data from a 'short'. If I change the source 'short' variabele type (filled somewhere...
  • convert from long to float
    Hi guys, I need to convert a 32 bit value(long) to a 32 bit float. Unfortunately there is no itof function in C and wikipedia does not give a simple solution. Casting simply does not do the conversion...
  • Compiler isn't converting float to INT8 properly
    I'm using Microvision 4 C compiler Armcc.Exe v4.0.0.524 When this compiler converts a floating point number (single precision) to INT8 it doesn't handle negative values properly. For example INT8...
  • 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.
  • need to convert an ascii to float?
    in embedded programming why do we convert an ascii to float initially?what is the use of it?