mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 13:18:50 +08:00
include/nuttx/lib/math.h: Add signbit
This commit is contained in:
parent
78049d4081
commit
f9475df13d
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue