pkarashchenko commented on PR #7025:
URL: https://github.com/apache/incubator-nuttx/pull/7025#issuecomment-1240328976

   > > May be. Based on my searched till now 
(https://refspecs.linuxbase.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/baselib-finitef.html)
 the `finite` variants seems to be deprecated in favor of `isfinite`, but I do 
not see any issue in keeping both
   > 
   > Thanks.
   
   I think that its even good to implement `isfinite` as
   ```
   #define isfinite(x) \
     (sizeof(x) == sizeof(float) ? finitef(x) :
     sizeof(x) == sizeof(double) ? finite(x) : finitel(x))
   ```


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