xref: /titanic_41/usr/src/lib/libm/common/Q/longdouble.h (revision 5b2ba9d3d1e04dde804c89e9879f7dfc9bcebf61)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License (the "License").
6  * You may not use this file except in compliance with the License.
7  *
8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9  * or http://www.opensolaris.org/os/licensing.
10  * See the License for the specific language governing permissions
11  * and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL HEADER in each
14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15  * If applicable, add the following below this CDDL HEADER, with the
16  * fields enclosed by brackets "[]" replaced with your own identifying
17  * information: Portions Copyright [yyyy] [name of copyright owner]
18  *
19  * CDDL HEADER END
20  */
21 
22 /*
23  * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
24  */
25 /*
26  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
27  * Use is subject to license terms.
28  */
29 
30 #ifndef	_Q_LONGDOUBLE_H
31 #define	_Q_LONGDOUBLE_H
32 
33 #include <sys/ieeefp.h>
34 
35 extern long double __k_cosl(long double, long double);
36 extern long double __k_lgammal(long double, int *);
37 extern long double __k_sincosl(long double, long double, long double *);
38 extern long double __k_sinl(long double, long double);
39 extern long double __k_tanl(long double, long double, int);
40 extern long double __poly_libmq(long double, int, const long double *);
41 extern int __rem_pio2l(long double, long double *);
42 
43 extern long double acosdl(long double);
44 extern long double acoshl(long double);
45 extern long double acosl(long double);
46 extern long double acospil(long double);
47 extern long double acospl(long double);
48 extern long double aintl(long double);
49 extern long double anintl(long double);
50 extern long double annuityl(long double, long double);
51 extern long double asindl(long double);
52 extern long double asinhl(long double);
53 extern long double asinl(long double);
54 extern long double asinpil(long double);
55 extern long double asinpl(long double);
56 extern long double atan2dl(long double, long double);
57 extern long double atan2l(long double, long double);
58 extern long double atan2pil(long double, long double);
59 extern long double atandl(long double);
60 extern long double atanhl(long double);
61 extern long double atanl(long double);
62 extern long double atanpil(long double);
63 extern long double atanpl(long double);
64 extern long double cbrtl(long double);
65 extern long double ceill(long double);
66 extern long double compoundl(long double, long double);
67 extern long double copysignl(long double, long double);
68 extern long double cosdl(long double);
69 extern long double coshl(long double);
70 extern long double cosl(long double);
71 extern long double cospil(long double);
72 extern long double cospl(long double);
73 extern long double erfcl(long double);
74 extern long double erfl(long double);
75 extern long double exp10l(long double);
76 extern long double exp2l(long double);
77 extern long double expl(long double);
78 extern long double expm1l(long double);
79 extern long double fabsl(long double);
80 extern int finitel(long double);
81 extern long double floorl(long double);
82 extern long double fmodl(long double, long double);
83 extern enum fp_class_type fp_classl(long double);
84 extern long double gammal(long double);
85 extern long double hypotl(long double, long double);
86 extern int ilogbl(long double);
87 extern long double infinityl(void);
88 extern int irintl(long double);
89 extern int isinfl(long double);
90 extern int isnanl(long double);
91 extern int isnormall(long double);
92 extern int issubnormall(long double);
93 extern int iszerol(long double);
94 extern long double j0l(long double);
95 extern long double j1l(long double);
96 extern long double jnl(int, long double);
97 extern long double lgammal(long double);
98 extern long double log10l(long double);
99 extern long double log1pl(long double);
100 extern long double log2l(long double);
101 extern long double logbl(long double);
102 extern long double logl(long double);
103 extern long double max_normall(void);
104 extern long double max_subnormall(void);
105 extern long double min_normall(void);
106 extern long double min_subnormall(void);
107 extern long double nextafterl(long double, long double);
108 extern int nintl(long double);
109 extern long double pow_li(long double *, int *);
110 extern long double powl(long double, long double);
111 extern long double quiet_nanl(long);
112 extern long double remainderl(long double, long double);
113 extern long double rintl(long double);
114 extern long double scalbl(long double, long double);
115 extern long double scalbnl(long double, int);
116 extern long double signaling_nanl(long);
117 extern int signbitl(long double);
118 extern long double significandl(long double);
119 extern void sincosdl(long double, long double *, long double *);
120 extern void sincosl(long double, long double *, long double *);
121 extern void sincospil(long double, long double *, long double *);
122 extern void sincospl(long double, long double *, long double *);
123 extern long double sindl(long double);
124 extern long double sinhl(long double);
125 extern long double sinl(long double);
126 extern long double sinpil(long double);
127 extern long double sinpl(long double);
128 extern long double sqrtl(long double);
129 extern long double tandl(long double);
130 extern long double tanhl(long double);
131 extern long double tanl(long double);
132 extern long double tanpil(long double);
133 extern long double tanpl(long double);
134 extern long double y0l(long double);
135 extern long double y1l(long double);
136 extern long double ynl(int, long double);
137 
138 extern long double q_copysign_(long double *, long double *);
139 extern long double q_fabs_(long double *);
140 extern int iq_finite_(long double *);
141 extern long double q_fmod_(long double *, long double *);
142 extern enum fp_class_type iq_fp_class_(long double *);
143 extern int iq_ilogb_(long double *);
144 extern long double q_infinity_(void);
145 extern int iq_isinf_(long double *);
146 extern int iq_isnan_(long double *);
147 extern int iq_isnormal_(long double *);
148 extern int iq_issubnormal_(long double *);
149 extern int iq_iszero_(long double *);
150 extern long double q_max_normal_(void);
151 extern long double q_max_subnormal_(void);
152 extern long double q_min_normal_(void);
153 extern long double q_min_subnormal_(void);
154 extern long double q_nextafter_(long double *, long double *);
155 extern long double q_quiet_nan_(long *);
156 extern long double q_remainder_(long double *, long double *);
157 extern long double q_scalbn_(long double *, int *);
158 extern long double q_signaling_nan_(long *);
159 extern int iq_signbit_(long double *);
160 
161 #endif	/* _Q_LONGDOUBLE_H */
162