jirkaptr

Results 4 comments of jirkaptr

A basic fix of the problem is done here: #https://github.com/jirkaptr/PrintEx/commit/ffbfa652c15243b1efad0d587df34d27061af344?diff=unified and later fixed here: #https://github.com/jirkaptr/PrintEx/commit/8644544617fe870cabb76805ba3dd9e77a88cc55 However, to achieve full compatibility with the standard, sprintf() should return the number of written...

The following solutions may be appropriate: ``` char* ltostrqf(long int value, unsigned char prec, char *buff ) { char *fmt = "%ld.%Xld"; fmt[5] = '0' + prec; long int divisor...

Now I understand your problem! You probably did not fix the PrintExtension.h! Apply a fix as stated in #26 . I believe that then everything will be OK.

Sorry for errors in ltostrqf(). The original version does not process correctly numbers in the target format range of -0.9999999 to +0.999999. I attach a corrected version here: [ltostrqf_20190209.txt](https://github.com/Chris--A/PrintEx/files/2847857/ltostrqf_20190209.txt)