Deleted Added
full compact
math.h (132292) math.h (132382)
1/*
2 * ====================================================
3 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
4 *
5 * Developed at SunPro, a Sun Microsystems, Inc. business.
6 * Permission to use, copy, modify, and distribute this
7 * software is freely granted, provided that this notice
8 * is preserved.
9 * ====================================================
10 */
11
12/*
13 * from: @(#)fdlibm.h 5.1 93/09/24
1/*
2 * ====================================================
3 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
4 *
5 * Developed at SunPro, a Sun Microsystems, Inc. business.
6 * Permission to use, copy, modify, and distribute this
7 * software is freely granted, provided that this notice
8 * is preserved.
9 * ====================================================
10 */
11
12/*
13 * from: @(#)fdlibm.h 5.1 93/09/24
14 * $FreeBSD: head/lib/msun/src/math.h 132292 2004-07-17 15:03:52Z stefanf $
14 * $FreeBSD: head/lib/msun/src/math.h 132382 2004-07-19 08:16:10Z das $
15 */
16
17#ifndef _MATH_H_
18#define _MATH_H_
19
20#include <sys/cdefs.h>
21#include <sys/_types.h>
22#include <machine/_limits.h>

--- 85 unchanged lines hidden (view full) ---

108#define isgreaterequal(x, y) (!isunordered((x), (y)) && (x) >= (y))
109#define isless(x, y) (!isunordered((x), (y)) && (x) < (y))
110#define islessequal(x, y) (!isunordered((x), (y)) && (x) <= (y))
111#define islessgreater(x, y) (!isunordered((x), (y)) && \
112 ((x) > (y) || (y) > (x)))
113#define isunordered(x, y) (isnan(x) || isnan(y))
114#endif /* __MATH_BUILTIN_RELOPS */
115
15 */
16
17#ifndef _MATH_H_
18#define _MATH_H_
19
20#include <sys/cdefs.h>
21#include <sys/_types.h>
22#include <machine/_limits.h>

--- 85 unchanged lines hidden (view full) ---

108#define isgreaterequal(x, y) (!isunordered((x), (y)) && (x) >= (y))
109#define isless(x, y) (!isunordered((x), (y)) && (x) < (y))
110#define islessequal(x, y) (!isunordered((x), (y)) && (x) <= (y))
111#define islessgreater(x, y) (!isunordered((x), (y)) && \
112 ((x) > (y) || (y) > (x)))
113#define isunordered(x, y) (isnan(x) || isnan(y))
114#endif /* __MATH_BUILTIN_RELOPS */
115
116#define signbit(x) __signbit(x)
116#define signbit(x) \
117 ((sizeof (x) == sizeof (float)) ? __signbitf(x) \
118 : (sizeof (x) == sizeof (double)) ? __signbit(x) \
119 : __signbitl(x))
117
118typedef __double_t double_t;
119typedef __float_t float_t;
120#endif /* __ISO_C_VISIBLE >= 1999 */
121
122/*
123 * XOPEN/SVID
124 */

--- 85 unchanged lines hidden (view full) ---

210int __isfinitel(long double) __pure2;
211int __isinff(float) __pure2;
212int __isinfl(long double) __pure2;
213int __isnanl(long double) __pure2;
214int __isnormalf(float) __pure2;
215int __isnormal(double) __pure2;
216int __isnormall(long double) __pure2;
217int __signbit(double) __pure2;
120
121typedef __double_t double_t;
122typedef __float_t float_t;
123#endif /* __ISO_C_VISIBLE >= 1999 */
124
125/*
126 * XOPEN/SVID
127 */

--- 85 unchanged lines hidden (view full) ---

213int __isfinitel(long double) __pure2;
214int __isinff(float) __pure2;
215int __isinfl(long double) __pure2;
216int __isnanl(long double) __pure2;
217int __isnormalf(float) __pure2;
218int __isnormal(double) __pure2;
219int __isnormall(long double) __pure2;
220int __signbit(double) __pure2;
221int __signbitf(float) __pure2;
222int __signbitl(long double) __pure2;
218
219double acos(double);
220double asin(double);
221double atan(double);
222double atan2(double, double);
223double cos(double);
224double sin(double);
225double tan(double);

--- 258 unchanged lines hidden ---
223
224double acos(double);
225double asin(double);
226double atan(double);
227double atan2(double, double);
228double cos(double);
229double sin(double);
230double tan(double);

--- 258 unchanged lines hidden ---