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/09/08 03:38:42 UTC

[GitHub] [incubator-nuttx] hartmannathan commented on a diff in pull request #7025: Add check in roundx() functions for infinite or NaN cases

hartmannathan commented on code in PR #7025:
URL: https://github.com/apache/incubator-nuttx/pull/7025#discussion_r965470922


##########
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:
   Are these correct or are they supposed to be 1.0L/0.0L and 0.0L/0.0L? (i.e., is the F suffix correct on the two numerators?)



-- 
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