xref: /titanic_44/usr/src/lib/libm/common/LD/longdouble.h (revision 87308b749adb04ab3f564c765b089962af3edb4d)
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	_LD_LONGDOUBLE_H
31 #define	_LD_LONGDOUBLE_H
32 #include <sys/ieeefp.h>
33 
34 extern long double __k_cosl(long double, long double);
35 extern long double __k_lgammal(long double, int *);
36 extern long double __k_sincosl(long double, long double, long double *);
37 extern long double __k_sinl(long double, long double);
38 extern long double __k_tanl(long double, long double, int);
39 extern long double __poly_libmq(long double, int, long double *);
40 extern int __rem_pio2l(long double, long double *);
41 
42 extern long double acosdl(long double);
43 extern long double acoshl(long double);
44 extern long double acosl(long double);
45 extern long double acospil(long double);
46 extern long double acospl(long double);
47 extern long double aintl(long double);
48 extern long double anintl(long double);
49 extern long double annuityl(long double, long double);
50 extern long double asindl(long double);
51 extern long double asinhl(long double);
52 extern long double asinl(long double);
53 extern long double asinpil(long double);
54 extern long double asinpl(long double);
55 extern long double atan2dl(long double, long double);
56 extern long double atan2l(long double, long double);
57 extern long double atan2pil(long double, long double);
58 extern long double atandl(long double);
59 extern long double atanhl(long double);
60 extern long double atanl(long double);
61 extern long double atanpil(long double);
62 extern long double atanpl(long double);
63 extern long double cbrtl(long double);
64 extern long double ceill(long double);
65 extern long double compoundl(long double, long double);
66 extern long double copysignl(long double, long double);
67 extern long double cosdl(long double);
68 extern long double coshl(long double);
69 extern long double cosl(long double);
70 extern long double cospil(long double);
71 extern long double cospl(long double);
72 extern long double erfcl(long double);
73 extern long double erfl(long double);
74 extern long double exp10l(long double);
75 extern long double exp2l(long double);
76 extern long double expl(long double);
77 extern long double expm1l(long double);
78 extern long double fabsl(long double);
79 extern int finitel(long double);
80 extern long double floorl(long double);
81 extern long double fmodl(long double, long double);
82 extern enum fp_class_type fp_classl(long double);
83 extern long double gammal(long double);
84 extern long double hypotl(long double, long double);
85 extern int ilogbl(long double);
86 extern long double infinityl(void);
87 extern int irintl(long double);
88 extern int isinfl(long double);
89 extern int isnanl(long double);
90 extern int isnormall(long double);
91 extern int issubnormall(long double);
92 extern int iszerol(long double);
93 extern long double j0l(long double);
94 extern long double j1l(long double);
95 extern long double jnl(int, long double);
96 extern long double lgammal(long double);
97 extern long double log10l(long double);
98 extern long double log1pl(long double);
99 extern long double log2l(long double);
100 extern long double logbl(long double);
101 extern long double logl(long double);
102 extern long double max_normall(void);
103 extern long double max_subnormall(void);
104 extern long double min_normall(void);
105 extern long double min_subnormall(void);
106 extern long double nextafterl(long double, long double);
107 extern int nintl(long double);
108 extern long double pow_li(long double *, int *);
109 extern long double powl(long double, long double);
110 extern long double quiet_nanl(long);
111 extern long double remainderl(long double, long double);
112 extern long double rintl(long double);
113 extern long double scalbl(long double, long double);
114 extern long double scalbnl(long double, int);
115 extern long double signaling_nanl(long);
116 extern int signbitl(long double);
117 extern long double significandl(long double);
118 extern void sincosdl(long double, long double *, long double *);
119 extern void sincosl(long double, long double *, long double *);
120 extern void sincospil(long double, long double *, long double *);
121 extern void sincospl(long double, long double *, long double *);
122 extern long double sindl(long double);
123 extern long double sinhl(long double);
124 extern long double sinl(long double);
125 extern long double sinpil(long double);
126 extern long double sinpl(long double);
127 extern long double sqrtl(long double);
128 extern long double tandl(long double);
129 extern long double tanhl(long double);
130 extern long double tanl(long double);
131 extern long double tanpil(long double);
132 extern long double tanpl(long double);
133 extern long double y0l(long double);
134 extern long double y1l(long double);
135 extern long double ynl(int, long double);
136 
137 extern long double q_copysign_(long double *, long double *);
138 extern long double q_fabs_(long double *);
139 extern int iq_finite_(long double *);
140 extern long double q_fmod_(long double *, long double *);
141 extern enum fp_class_type iq_fp_class_(long double *);
142 extern int iq_ilogb_(long double *);
143 extern long double q_infinity_(void);
144 extern int iq_isinf_(long double *);
145 extern int iq_isnan_(long double *);
146 extern int iq_isnormal_(long double *);
147 extern int iq_issubnormal_(long double *);
148 extern int iq_iszero_(long double *);
149 extern long double q_max_normal_(void);
150 extern long double q_max_subnormal_(void);
151 extern long double q_min_normal_(void);
152 extern long double q_min_subnormal_(void);
153 extern long double q_nextafter_(long double *, long double *);
154 extern long double q_quiet_nan_(long *);
155 extern long double q_remainder_(long double *, long double *);
156 extern long double q_scalbn_(long double *, int *);
157 extern long double q_signaling_nan_(long *);
158 extern int iq_signbit_(long double *);
159 
160 #endif	/* _LD_LONGDOUBLE_H */
161