• Problem with snprintf with float and at attribute
    Hi, I have an project that use snprintf to convert float to string. The project works perfectly. But when I place line: const unsigned int Protect __attribute__((at (0x1FC))) = 0x12345678; the...
  • snprintf implementation broken
    Hi, It seems that snprintf is broken in MDK 4.72 and Microlib. My intention was to use it to pre-calculate the size of the formatted output, and thus I gave it a NULL-pointer and a buffer size...
  • Floating Point
    How I can deny a number floating point, without using some mathematical operation (eg. :number * (-1)). ?? How can I take the first 8 bits of the number???
  • floating point
    Hi every body I don't know why I don't have the float part of the temp var. float temp; int H_Value; int L_Value; int value = 55; temp = value / 10; H_Value = (int)temp; L_Value = (int)(temp...
  • Floating Point
    How can I deny a number floating point without utilizat some mathematical operation? How can I take the first 8 bits of the number floating point, those but significant (MSB) or the bit but significant...