xiaoxiang781216 commented on code in PR #7025: URL: https://github.com/apache/incubator-nuttx/pull/7025#discussion_r965473229
########## include/nuttx/lib/math.h: ########## @@ -81,11 +81,17 @@ #define INFINITY_F (1.0F/0.0F) #define NAN_F (0.0F/0.0F) +#define INFINITY_L (1.0F/0.0L) +#define NAN_L (0.0F/0.0L) + Review Comment: Yes, you are right, it's better to use 1.0L even the compiler will promote 1.0F to 1.0L. -- 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