Scott Baker
Scott Baker
I'm guessing at this point this library has been abandonned? Last commit was from 2016.
I understand the desire for this on AVRs, but modifying the `f` specifier is a fundamental change in `printf()` behavior and probably best avoided for consistency with other implementations. I...
I think I found a possible bug: void loop() { char qf_buf[50] = ""; ltostrqf(-987654321 , 5, qf_buf); serial.printf("Count up : %s\n", ltostrqf(123456789, 3, qf_buf)); serial.printf("Count down: %s\n", ltostrqf(987654321, 3,...
Also, with warnings enabled I get: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *fmt = "%ld.%Xld"; Chaning it to `char fmt[] = "%ld.%Xld";` fixes the...
The "bug" may be a simple integer overflow. Here is the full sketch. Compare the output after commenting out line #12. [ltostrqf-bug.txt](https://github.com/Chris--A/PrintEx/files/2846289/ltostrqf-bug.txt)
Aha... that would make sense!
What is the status of this issue. Seems like something that should get fixed for sure.
Came here to say the same thing. I've been using vanilla `sprintf()` for years, and suffering through the lack of floating point support. This implementation is super in every way....
I like this... sounds like a great addition
FWIW I've been testing this pending branch with PHP 8.0.21 and haven't experienced any issues. Not that I expected any, but I wanted to document it anyway :)