You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/11/24 14:21:52 UTC

[GitHub] [incubator-nuttx] CV-Bowen commented on a diff in pull request #7677: lib_libvsprintf: fix the float point print bug

CV-Bowen commented on code in PR #7677:
URL: https://github.com/apache/incubator-nuttx/pull/7677#discussion_r1031566144


##########
libs/libc/stdio/lib_libvsprintf.c:
##########
@@ -878,8 +878,32 @@ static int vsprintf_internal(FAR struct lib_outstream_s *stream,
                   ndigs += 1;
                 }
 
-              putc(ndigs, stream);
-              putc('0' + exp, stream);
+              /* parse the ndigs if the value of it bigger than '9' */

Review Comment:
   Seem done.



-- 
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-unsubscribe@nuttx.apache.org

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