-static int output_float (float f, unsigned char reqWidth,
- signed char reqDecimals,
- BOOL left, BOOL zero, BOOL sign, BOOL space,
- pfn_outputchar output_char, void* p)
+static unsigned char
+output_float (float f, unsigned char reqWidth,
+ signed char reqDecimals,
+ BOOL left, BOOL zero, BOOL sign, BOOL space,
+ pfn_outputchar output_char, void* p)
+{
+ unsigned char charsOutputted = 0;
+ #if defined (SDCC_mcs51)
+ char fpBuffer[16]; //mcs51 has only a small stack
+ #else
+ char fpBuffer[128];
+ #endif