This is an automated email from the ASF dual-hosted git repository.

jerpelea pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new f9475df  include/nuttx/lib/math.h: Add signbit
f9475df is described below

commit f9475df13dc29c4f07c1b353873060c1ba746201
Author: YAMAMOTO Takashi <[email protected]>
AuthorDate: Tue Oct 13 13:25:11 2020 +0900

    include/nuttx/lib/math.h: Add signbit
---
 include/nuttx/lib/math.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/nuttx/lib/math.h b/include/nuttx/lib/math.h
index 74f223a..faa9d68 100644
--- a/include/nuttx/lib/math.h
+++ b/include/nuttx/lib/math.h
@@ -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

Reply via email to