flyingfish89 opened a new pull request, #7677:
URL: https://github.com/apache/incubator-nuttx/pull/7677

   ## Summary
   such as code: double value = +0x1.000000000000080000000000p-600;
                 printf("Hello, World!! %.7g:f64\n", value);
   expected output : Hello, World!! 2.40992e-181:f64
   but real output : Hello, World!! 2.40992e-B1:f64
   the reason: we want printf "18", but the flag of character is 'B'
               and 'B' is '0'+18,so printf 'B';
   
   
   Related issue: https://github.com/apache/incubator-nuttx/issues/7620
   
   ## Impact
   float printf
   
   ## Testing
   esp32c3 with test code
   ```c
   double value = +0x1.000000000000080000000000p-600;
   printf("Hello, World!! %.7g:f64\n", value);
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to