pkarashchenko commented on code in PR #12885:
URL: https://github.com/apache/nuttx/pull/12885#discussion_r1730202231


##########
libs/libc/stdio/lib_dtoa_engine.c:
##########
@@ -69,7 +83,7 @@ int __dtoa_engine(double x, FAR struct dtoa_s *dtoa, int 
max_digits,
   uint8_t flags = 0;
   int i;
 
-  if (__builtin_signbit(x))
+  if (x < 0)

Review Comment:
   Can we use `signbit(x)` instead? Ref: 
https://github.com/apache/nuttx/pull/12811



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to