From b56a102d98cd205397bde43f1b2a9ac119f0028d Mon Sep 17 00:00:00 2001 From: mike Date: Tue, 11 Feb 2003 21:56:21 +0000 Subject: Implement C99's signbit() macro. --- lib/msun/src/math.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/msun') diff --git a/lib/msun/src/math.h b/lib/msun/src/math.h index abeca6e..b902df1 100644 --- a/lib/msun/src/math.h +++ b/lib/msun/src/math.h @@ -50,6 +50,7 @@ extern const union __nan_un { ((sizeof (x) == sizeof (float)) ? __fpclassifyf(x) \ : (sizeof (x) == sizeof (double)) ? __fpclassifyd(x) \ : __fpclassifyl(x)) +#define signbit(x) __signbit(x) typedef __double_t double_t; typedef __float_t float_t; @@ -147,6 +148,7 @@ __BEGIN_DECLS int __fpclassifyd(double); int __fpclassifyf(float); int __fpclassifyl(long double); +int __signbit(double); double acos(double); double asin(double); -- cgit v1.1