diff options
author | mike <mike@FreeBSD.org> | 2003-02-11 21:56:21 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2003-02-11 21:56:21 +0000 |
commit | b56a102d98cd205397bde43f1b2a9ac119f0028d (patch) | |
tree | b8970625bfd29f2ebf574f2547dab4599320a895 /lib/msun | |
parent | b65dfed25b7d235dd26e37e6b7cf060f70360438 (diff) | |
download | FreeBSD-src-b56a102d98cd205397bde43f1b2a9ac119f0028d.zip FreeBSD-src-b56a102d98cd205397bde43f1b2a9ac119f0028d.tar.gz |
Implement C99's signbit() macro.
Diffstat (limited to 'lib/msun')
-rw-r--r-- | lib/msun/src/math.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |