mirror of
https://github.com/apache/nuttx.git
synced 2026-10-05 05:07:48 +00:00
include/nuttx/math.h: add missing HUGE_VALF and HUGE_VALL
add missing HUGE_VALF and HUGE_VALL definitions to NuttX math.h Signed-off-by: raiden00pl <raiden00@railab.me>
This commit is contained in:
parent
1c509faa0c
commit
98e2bdd324
1 changed files with 2 additions and 0 deletions
|
|
@ -80,9 +80,11 @@
|
|||
|
||||
#define INFINITY_F ((float)INFINITY)
|
||||
#define NAN_F ((float)(INFINITY * 0.0F))
|
||||
#define HUGE_VALF ((float)INFINITY)
|
||||
|
||||
#define INFINITY_L ((long double)INFINITY)
|
||||
#define NAN_L ((long double)(INFINITY * 0.0F))
|
||||
#define HUGE_VALL ((long double)INFINITY)
|
||||
|
||||
#define isnan(x) ((x) != (x))
|
||||
#define isnanf(x) ((x) != (x))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue