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:
raiden00pl 2025-03-20 15:12:21 +01:00 • committed by Lup Yuen Lee
parent 1c509faa0c
commit 98e2bdd324

View file

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