include/nuttx/lib/math.h: Add signbit

This commit is contained in:
YAMAMOTO Takashi 2020-10-13 13:25:11 +09:00 committed by Alin Jerpelea
parent 78049d4081
commit f9475df13d

View File

@ -443,6 +443,8 @@ long double truncl (long double x);
#define nanl(x) ((long double)(NAN))
#endif
#define signbit(x) __builtin_signbit(x)
#if defined(__cplusplus)
}
#endif