xref: /illumos-gate/usr/src/lib/libm1/common/libmv1.c (revision 25c28e83)
1*25c28e83SPiotr Jasiukajtis /*
2*25c28e83SPiotr Jasiukajtis  * CDDL HEADER START
3*25c28e83SPiotr Jasiukajtis  *
4*25c28e83SPiotr Jasiukajtis  * The contents of this file are subject to the terms of the
5*25c28e83SPiotr Jasiukajtis  * Common Development and Distribution License (the "License").
6*25c28e83SPiotr Jasiukajtis  * You may not use this file except in compliance with the License.
7*25c28e83SPiotr Jasiukajtis  *
8*25c28e83SPiotr Jasiukajtis  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*25c28e83SPiotr Jasiukajtis  * or http://www.opensolaris.org/os/licensing.
10*25c28e83SPiotr Jasiukajtis  * See the License for the specific language governing permissions
11*25c28e83SPiotr Jasiukajtis  * and limitations under the License.
12*25c28e83SPiotr Jasiukajtis  *
13*25c28e83SPiotr Jasiukajtis  * When distributing Covered Code, include this CDDL HEADER in each
14*25c28e83SPiotr Jasiukajtis  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*25c28e83SPiotr Jasiukajtis  * If applicable, add the following below this CDDL HEADER, with the
16*25c28e83SPiotr Jasiukajtis  * fields enclosed by brackets "[]" replaced with your own identifying
17*25c28e83SPiotr Jasiukajtis  * information: Portions Copyright [yyyy] [name of copyright owner]
18*25c28e83SPiotr Jasiukajtis  *
19*25c28e83SPiotr Jasiukajtis  * CDDL HEADER END
20*25c28e83SPiotr Jasiukajtis  */
21*25c28e83SPiotr Jasiukajtis 
22*25c28e83SPiotr Jasiukajtis /*
23*25c28e83SPiotr Jasiukajtis  * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
24*25c28e83SPiotr Jasiukajtis  */
25*25c28e83SPiotr Jasiukajtis /*
26*25c28e83SPiotr Jasiukajtis  * Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
27*25c28e83SPiotr Jasiukajtis  * Use is subject to license terms.
28*25c28e83SPiotr Jasiukajtis  */
29*25c28e83SPiotr Jasiukajtis 
30*25c28e83SPiotr Jasiukajtis #pragma weak _lib_version = __libm_lib_version
31*25c28e83SPiotr Jasiukajtis #pragma weak acos = __acos
32*25c28e83SPiotr Jasiukajtis #pragma weak acosh = __acosh
33*25c28e83SPiotr Jasiukajtis #pragma weak asin = __asin
34*25c28e83SPiotr Jasiukajtis #pragma weak asinh = __asinh
35*25c28e83SPiotr Jasiukajtis #pragma weak atan = __atan
36*25c28e83SPiotr Jasiukajtis #pragma weak atan2 = __atan2
37*25c28e83SPiotr Jasiukajtis #pragma weak atanh = __atanh
38*25c28e83SPiotr Jasiukajtis #pragma weak cbrt = __cbrt
39*25c28e83SPiotr Jasiukajtis #pragma weak ceil = __ceil
40*25c28e83SPiotr Jasiukajtis #pragma weak copysign = __copysign
41*25c28e83SPiotr Jasiukajtis #pragma weak cos = __cos
42*25c28e83SPiotr Jasiukajtis #pragma weak cosh = __cosh
43*25c28e83SPiotr Jasiukajtis #pragma weak erf = __erf
44*25c28e83SPiotr Jasiukajtis #pragma weak erfc = __erfc
45*25c28e83SPiotr Jasiukajtis #pragma weak exp = __exp
46*25c28e83SPiotr Jasiukajtis #pragma weak expm1 = __expm1
47*25c28e83SPiotr Jasiukajtis #pragma weak fabs = __fabs
48*25c28e83SPiotr Jasiukajtis #pragma weak floor = __floor
49*25c28e83SPiotr Jasiukajtis #pragma weak fmod = __fmod
50*25c28e83SPiotr Jasiukajtis #pragma weak gamma = __gamma
51*25c28e83SPiotr Jasiukajtis #pragma weak gamma_r = __gamma_r
52*25c28e83SPiotr Jasiukajtis #pragma weak hypot = __hypot
53*25c28e83SPiotr Jasiukajtis #pragma weak ilogb = __ilogb
54*25c28e83SPiotr Jasiukajtis #pragma weak isnan = __isnan
55*25c28e83SPiotr Jasiukajtis #pragma weak j0 = __j0
56*25c28e83SPiotr Jasiukajtis #pragma weak j1 = __j1
57*25c28e83SPiotr Jasiukajtis #pragma weak jn = __jn
58*25c28e83SPiotr Jasiukajtis #pragma weak lgamma = __lgamma
59*25c28e83SPiotr Jasiukajtis #pragma weak lgamma_r = __lgamma_r
60*25c28e83SPiotr Jasiukajtis #pragma weak log = __log
61*25c28e83SPiotr Jasiukajtis #pragma weak log10 = __log10
62*25c28e83SPiotr Jasiukajtis #pragma weak log1p = __log1p
63*25c28e83SPiotr Jasiukajtis #pragma weak logb = __logb
64*25c28e83SPiotr Jasiukajtis #pragma weak nextafter = __nextafter
65*25c28e83SPiotr Jasiukajtis #pragma weak pow = __pow
66*25c28e83SPiotr Jasiukajtis #pragma weak remainder = __remainder
67*25c28e83SPiotr Jasiukajtis #pragma weak rint = __rint
68*25c28e83SPiotr Jasiukajtis #pragma weak scalb = __scalb
69*25c28e83SPiotr Jasiukajtis #pragma weak scalbn = __scalbn
70*25c28e83SPiotr Jasiukajtis #pragma weak signgam = __signgam
71*25c28e83SPiotr Jasiukajtis #pragma weak significand = __significand
72*25c28e83SPiotr Jasiukajtis #pragma weak sin = __sin
73*25c28e83SPiotr Jasiukajtis #pragma weak sinh = __sinh
74*25c28e83SPiotr Jasiukajtis #pragma weak sqrt = __sqrt
75*25c28e83SPiotr Jasiukajtis #pragma weak tan = __tan
76*25c28e83SPiotr Jasiukajtis #pragma weak tanh = __tanh
77*25c28e83SPiotr Jasiukajtis #pragma weak y0 = __y0
78*25c28e83SPiotr Jasiukajtis #pragma weak y1 = __y1
79*25c28e83SPiotr Jasiukajtis #pragma weak yn = __yn
80*25c28e83SPiotr Jasiukajtis 
81*25c28e83SPiotr Jasiukajtis #include <math.h>
82*25c28e83SPiotr Jasiukajtis 
83*25c28e83SPiotr Jasiukajtis const enum version __libm_lib_version = libm_ieee;
84*25c28e83SPiotr Jasiukajtis int __signgam = 0;
85*25c28e83SPiotr Jasiukajtis 
86*25c28e83SPiotr Jasiukajtis #if !defined(__sparcv9) && !defined(__amd64)
87*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
88*25c28e83SPiotr Jasiukajtis int *
__libm_errno(void)89*25c28e83SPiotr Jasiukajtis __libm_errno(void) {
90*25c28e83SPiotr Jasiukajtis 	return (0);
91*25c28e83SPiotr Jasiukajtis }
92*25c28e83SPiotr Jasiukajtis #endif
93*25c28e83SPiotr Jasiukajtis 
94*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
95*25c28e83SPiotr Jasiukajtis int
__libm__rem_pio2(double x,double * y)96*25c28e83SPiotr Jasiukajtis __libm__rem_pio2(double x, double *y) {
97*25c28e83SPiotr Jasiukajtis 	return (0);
98*25c28e83SPiotr Jasiukajtis }
99*25c28e83SPiotr Jasiukajtis 
100*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
101*25c28e83SPiotr Jasiukajtis int
__libm__rem_pio2m(double * x,double * y,int e0,int nx,int p,const int * ip)102*25c28e83SPiotr Jasiukajtis __libm__rem_pio2m(double *x, double *y, int e0, int nx, int p, const int *ip) {
103*25c28e83SPiotr Jasiukajtis 	return (0);
104*25c28e83SPiotr Jasiukajtis }
105*25c28e83SPiotr Jasiukajtis 
106*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
107*25c28e83SPiotr Jasiukajtis double
__acos(double x)108*25c28e83SPiotr Jasiukajtis __acos(double x) {
109*25c28e83SPiotr Jasiukajtis 	return (0.0);
110*25c28e83SPiotr Jasiukajtis }
111*25c28e83SPiotr Jasiukajtis 
112*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
113*25c28e83SPiotr Jasiukajtis double
__acosh(double x)114*25c28e83SPiotr Jasiukajtis __acosh(double x) {
115*25c28e83SPiotr Jasiukajtis 	return (0.0);
116*25c28e83SPiotr Jasiukajtis }
117*25c28e83SPiotr Jasiukajtis 
118*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
119*25c28e83SPiotr Jasiukajtis double
__asin(double x)120*25c28e83SPiotr Jasiukajtis __asin(double x) {
121*25c28e83SPiotr Jasiukajtis 	return (0.0);
122*25c28e83SPiotr Jasiukajtis }
123*25c28e83SPiotr Jasiukajtis 
124*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
125*25c28e83SPiotr Jasiukajtis double
__asinh(double x)126*25c28e83SPiotr Jasiukajtis __asinh(double x) {
127*25c28e83SPiotr Jasiukajtis 	return (0.0);
128*25c28e83SPiotr Jasiukajtis }
129*25c28e83SPiotr Jasiukajtis 
130*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
131*25c28e83SPiotr Jasiukajtis double
__atan(double x)132*25c28e83SPiotr Jasiukajtis __atan(double x) {
133*25c28e83SPiotr Jasiukajtis 	return (0.0);
134*25c28e83SPiotr Jasiukajtis }
135*25c28e83SPiotr Jasiukajtis 
136*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
137*25c28e83SPiotr Jasiukajtis double
__atan2(double y,double x)138*25c28e83SPiotr Jasiukajtis __atan2(double y, double x) {
139*25c28e83SPiotr Jasiukajtis 	return (0.0);
140*25c28e83SPiotr Jasiukajtis }
141*25c28e83SPiotr Jasiukajtis 
142*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
143*25c28e83SPiotr Jasiukajtis double
__atanh(double x)144*25c28e83SPiotr Jasiukajtis __atanh(double x) {
145*25c28e83SPiotr Jasiukajtis 	return (0.0);
146*25c28e83SPiotr Jasiukajtis }
147*25c28e83SPiotr Jasiukajtis 
148*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
149*25c28e83SPiotr Jasiukajtis double
__cbrt(double x)150*25c28e83SPiotr Jasiukajtis __cbrt(double x) {
151*25c28e83SPiotr Jasiukajtis 	return (0.0);
152*25c28e83SPiotr Jasiukajtis }
153*25c28e83SPiotr Jasiukajtis 
154*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
155*25c28e83SPiotr Jasiukajtis double
__ceil(double x)156*25c28e83SPiotr Jasiukajtis __ceil(double x) {
157*25c28e83SPiotr Jasiukajtis 	return (0.0);
158*25c28e83SPiotr Jasiukajtis }
159*25c28e83SPiotr Jasiukajtis 
160*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
161*25c28e83SPiotr Jasiukajtis double
__copysign(double x,double y)162*25c28e83SPiotr Jasiukajtis __copysign(double x, double y) {
163*25c28e83SPiotr Jasiukajtis 	return (0.0);
164*25c28e83SPiotr Jasiukajtis }
165*25c28e83SPiotr Jasiukajtis 
166*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
167*25c28e83SPiotr Jasiukajtis double
__cos(double x)168*25c28e83SPiotr Jasiukajtis __cos(double x) {
169*25c28e83SPiotr Jasiukajtis 	return (0.0);
170*25c28e83SPiotr Jasiukajtis }
171*25c28e83SPiotr Jasiukajtis 
172*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
173*25c28e83SPiotr Jasiukajtis double
__cosh(double x)174*25c28e83SPiotr Jasiukajtis __cosh(double x) {
175*25c28e83SPiotr Jasiukajtis 	return (0.0);
176*25c28e83SPiotr Jasiukajtis }
177*25c28e83SPiotr Jasiukajtis 
178*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
179*25c28e83SPiotr Jasiukajtis double
__erf(double x)180*25c28e83SPiotr Jasiukajtis __erf(double x) {
181*25c28e83SPiotr Jasiukajtis 	return (0.0);
182*25c28e83SPiotr Jasiukajtis }
183*25c28e83SPiotr Jasiukajtis 
184*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
185*25c28e83SPiotr Jasiukajtis double
__erfc(double x)186*25c28e83SPiotr Jasiukajtis __erfc(double x) {
187*25c28e83SPiotr Jasiukajtis 	return (0.0);
188*25c28e83SPiotr Jasiukajtis }
189*25c28e83SPiotr Jasiukajtis 
190*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
191*25c28e83SPiotr Jasiukajtis double
__exp(double x)192*25c28e83SPiotr Jasiukajtis __exp(double x) {
193*25c28e83SPiotr Jasiukajtis 	return (0.0);
194*25c28e83SPiotr Jasiukajtis }
195*25c28e83SPiotr Jasiukajtis 
196*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
197*25c28e83SPiotr Jasiukajtis double
__expm1(double x)198*25c28e83SPiotr Jasiukajtis __expm1(double x) {
199*25c28e83SPiotr Jasiukajtis 	return (0.0);
200*25c28e83SPiotr Jasiukajtis }
201*25c28e83SPiotr Jasiukajtis 
202*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
203*25c28e83SPiotr Jasiukajtis double
__fabs(double x)204*25c28e83SPiotr Jasiukajtis __fabs(double x) {
205*25c28e83SPiotr Jasiukajtis 	return (0.0);
206*25c28e83SPiotr Jasiukajtis }
207*25c28e83SPiotr Jasiukajtis 
208*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
209*25c28e83SPiotr Jasiukajtis double
__floor(double x)210*25c28e83SPiotr Jasiukajtis __floor(double x) {
211*25c28e83SPiotr Jasiukajtis 	return (0.0);
212*25c28e83SPiotr Jasiukajtis }
213*25c28e83SPiotr Jasiukajtis 
214*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
215*25c28e83SPiotr Jasiukajtis double
__fmod(double x,double y)216*25c28e83SPiotr Jasiukajtis __fmod(double x, double y) {
217*25c28e83SPiotr Jasiukajtis 	return (0.0);
218*25c28e83SPiotr Jasiukajtis }
219*25c28e83SPiotr Jasiukajtis 
220*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
221*25c28e83SPiotr Jasiukajtis double
__gamma(double x)222*25c28e83SPiotr Jasiukajtis __gamma(double x) {
223*25c28e83SPiotr Jasiukajtis 	return (0.0);
224*25c28e83SPiotr Jasiukajtis }
225*25c28e83SPiotr Jasiukajtis 
226*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
227*25c28e83SPiotr Jasiukajtis double
__gamma_r(double x,int * signgamp)228*25c28e83SPiotr Jasiukajtis __gamma_r(double x, int *signgamp) {
229*25c28e83SPiotr Jasiukajtis 	return (0.0);
230*25c28e83SPiotr Jasiukajtis }
231*25c28e83SPiotr Jasiukajtis 
232*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
233*25c28e83SPiotr Jasiukajtis double
__hypot(double x,double y)234*25c28e83SPiotr Jasiukajtis __hypot(double x, double y) {
235*25c28e83SPiotr Jasiukajtis 	return (0.0);
236*25c28e83SPiotr Jasiukajtis }
237*25c28e83SPiotr Jasiukajtis 
238*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
239*25c28e83SPiotr Jasiukajtis int
__ilogb(double x)240*25c28e83SPiotr Jasiukajtis __ilogb(double x) {
241*25c28e83SPiotr Jasiukajtis 	return (0);
242*25c28e83SPiotr Jasiukajtis }
243*25c28e83SPiotr Jasiukajtis 
244*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
245*25c28e83SPiotr Jasiukajtis int
__isnan(double x)246*25c28e83SPiotr Jasiukajtis __isnan(double x) {
247*25c28e83SPiotr Jasiukajtis 	return (0);
248*25c28e83SPiotr Jasiukajtis }
249*25c28e83SPiotr Jasiukajtis 
250*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
251*25c28e83SPiotr Jasiukajtis double
__j0(double x)252*25c28e83SPiotr Jasiukajtis __j0(double x) {
253*25c28e83SPiotr Jasiukajtis 	return (0.0);
254*25c28e83SPiotr Jasiukajtis }
255*25c28e83SPiotr Jasiukajtis 
256*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
257*25c28e83SPiotr Jasiukajtis double
__j1(double x)258*25c28e83SPiotr Jasiukajtis __j1(double x) {
259*25c28e83SPiotr Jasiukajtis 	return (0.0);
260*25c28e83SPiotr Jasiukajtis }
261*25c28e83SPiotr Jasiukajtis 
262*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
263*25c28e83SPiotr Jasiukajtis double
__jn(int n,double y)264*25c28e83SPiotr Jasiukajtis __jn(int n, double y) {
265*25c28e83SPiotr Jasiukajtis 	return (0.0);
266*25c28e83SPiotr Jasiukajtis }
267*25c28e83SPiotr Jasiukajtis 
268*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
269*25c28e83SPiotr Jasiukajtis double
__lgamma(double x)270*25c28e83SPiotr Jasiukajtis __lgamma(double x) {
271*25c28e83SPiotr Jasiukajtis 	return (0.0);
272*25c28e83SPiotr Jasiukajtis }
273*25c28e83SPiotr Jasiukajtis 
274*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
275*25c28e83SPiotr Jasiukajtis double
__lgamma_r(double x,int * signgamp)276*25c28e83SPiotr Jasiukajtis __lgamma_r(double x, int *signgamp) {
277*25c28e83SPiotr Jasiukajtis 	return (0.0);
278*25c28e83SPiotr Jasiukajtis }
279*25c28e83SPiotr Jasiukajtis 
280*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
281*25c28e83SPiotr Jasiukajtis double
__log(double x)282*25c28e83SPiotr Jasiukajtis __log(double x) {
283*25c28e83SPiotr Jasiukajtis 	return (0.0);
284*25c28e83SPiotr Jasiukajtis }
285*25c28e83SPiotr Jasiukajtis 
286*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
287*25c28e83SPiotr Jasiukajtis double
__log10(double x)288*25c28e83SPiotr Jasiukajtis __log10(double x) {
289*25c28e83SPiotr Jasiukajtis 	return (0.0);
290*25c28e83SPiotr Jasiukajtis }
291*25c28e83SPiotr Jasiukajtis 
292*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
293*25c28e83SPiotr Jasiukajtis double
__log1p(double x)294*25c28e83SPiotr Jasiukajtis __log1p(double x) {
295*25c28e83SPiotr Jasiukajtis 	return (0.0);
296*25c28e83SPiotr Jasiukajtis }
297*25c28e83SPiotr Jasiukajtis 
298*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
299*25c28e83SPiotr Jasiukajtis double
__logb(double x)300*25c28e83SPiotr Jasiukajtis __logb(double x) {
301*25c28e83SPiotr Jasiukajtis 	return (0.0);
302*25c28e83SPiotr Jasiukajtis }
303*25c28e83SPiotr Jasiukajtis 
304*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
305*25c28e83SPiotr Jasiukajtis double
__nextafter(double x,double y)306*25c28e83SPiotr Jasiukajtis __nextafter(double x, double y) {
307*25c28e83SPiotr Jasiukajtis 	return (0.0);
308*25c28e83SPiotr Jasiukajtis }
309*25c28e83SPiotr Jasiukajtis 
310*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
311*25c28e83SPiotr Jasiukajtis double
__pow(double x,double y)312*25c28e83SPiotr Jasiukajtis __pow(double x, double y) {
313*25c28e83SPiotr Jasiukajtis 	return (0.0);
314*25c28e83SPiotr Jasiukajtis }
315*25c28e83SPiotr Jasiukajtis 
316*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
317*25c28e83SPiotr Jasiukajtis double
__remainder(double x,double y)318*25c28e83SPiotr Jasiukajtis __remainder(double x, double y) {
319*25c28e83SPiotr Jasiukajtis 	return (0.0);
320*25c28e83SPiotr Jasiukajtis }
321*25c28e83SPiotr Jasiukajtis 
322*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
323*25c28e83SPiotr Jasiukajtis double
__rint(double x)324*25c28e83SPiotr Jasiukajtis __rint(double x) {
325*25c28e83SPiotr Jasiukajtis 	return (0.0);
326*25c28e83SPiotr Jasiukajtis }
327*25c28e83SPiotr Jasiukajtis 
328*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
329*25c28e83SPiotr Jasiukajtis double
__scalb(double x,double y)330*25c28e83SPiotr Jasiukajtis __scalb(double x, double y) {
331*25c28e83SPiotr Jasiukajtis 	return (0.0);
332*25c28e83SPiotr Jasiukajtis }
333*25c28e83SPiotr Jasiukajtis 
334*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
335*25c28e83SPiotr Jasiukajtis double
__scalbn(double x,int n)336*25c28e83SPiotr Jasiukajtis __scalbn(double x, int n) {
337*25c28e83SPiotr Jasiukajtis 	return (0.0);
338*25c28e83SPiotr Jasiukajtis }
339*25c28e83SPiotr Jasiukajtis 
340*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
341*25c28e83SPiotr Jasiukajtis double
__significand(double x)342*25c28e83SPiotr Jasiukajtis __significand(double x) {
343*25c28e83SPiotr Jasiukajtis 	return (0.0);
344*25c28e83SPiotr Jasiukajtis }
345*25c28e83SPiotr Jasiukajtis 
346*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
347*25c28e83SPiotr Jasiukajtis double
__sin(double x)348*25c28e83SPiotr Jasiukajtis __sin(double x) {
349*25c28e83SPiotr Jasiukajtis 	return (0.0);
350*25c28e83SPiotr Jasiukajtis }
351*25c28e83SPiotr Jasiukajtis 
352*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
353*25c28e83SPiotr Jasiukajtis double
__sinh(double x)354*25c28e83SPiotr Jasiukajtis __sinh(double x) {
355*25c28e83SPiotr Jasiukajtis 	return (0.0);
356*25c28e83SPiotr Jasiukajtis }
357*25c28e83SPiotr Jasiukajtis 
358*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
359*25c28e83SPiotr Jasiukajtis double
__sqrt(double x)360*25c28e83SPiotr Jasiukajtis __sqrt(double x) {
361*25c28e83SPiotr Jasiukajtis 	return (0.0);
362*25c28e83SPiotr Jasiukajtis }
363*25c28e83SPiotr Jasiukajtis 
364*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
365*25c28e83SPiotr Jasiukajtis double
__tan(double x)366*25c28e83SPiotr Jasiukajtis __tan(double x) {
367*25c28e83SPiotr Jasiukajtis 	return (0.0);
368*25c28e83SPiotr Jasiukajtis }
369*25c28e83SPiotr Jasiukajtis 
370*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
371*25c28e83SPiotr Jasiukajtis double
__tanh(double x)372*25c28e83SPiotr Jasiukajtis __tanh(double x) {
373*25c28e83SPiotr Jasiukajtis 	return (0.0);
374*25c28e83SPiotr Jasiukajtis }
375*25c28e83SPiotr Jasiukajtis 
376*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
377*25c28e83SPiotr Jasiukajtis double
__y0(double x)378*25c28e83SPiotr Jasiukajtis __y0(double x) {
379*25c28e83SPiotr Jasiukajtis 	return (0.0);
380*25c28e83SPiotr Jasiukajtis }
381*25c28e83SPiotr Jasiukajtis 
382*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
383*25c28e83SPiotr Jasiukajtis double
__y1(double x)384*25c28e83SPiotr Jasiukajtis __y1(double x) {
385*25c28e83SPiotr Jasiukajtis 	return (0.0);
386*25c28e83SPiotr Jasiukajtis }
387*25c28e83SPiotr Jasiukajtis 
388*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
389*25c28e83SPiotr Jasiukajtis double
__yn(int n,double x)390*25c28e83SPiotr Jasiukajtis __yn(int n, double x) {
391*25c28e83SPiotr Jasiukajtis 	return (0.0);
392*25c28e83SPiotr Jasiukajtis }
393*25c28e83SPiotr Jasiukajtis 
394*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
395*25c28e83SPiotr Jasiukajtis int
matherr(struct exception * excep)396*25c28e83SPiotr Jasiukajtis matherr(struct exception *excep) {
397*25c28e83SPiotr Jasiukajtis 	return (0);
398*25c28e83SPiotr Jasiukajtis }
399*25c28e83SPiotr Jasiukajtis 
400*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
401*25c28e83SPiotr Jasiukajtis float
__acosf(float x)402*25c28e83SPiotr Jasiukajtis __acosf(float x) {
403*25c28e83SPiotr Jasiukajtis 	return (0.0F);
404*25c28e83SPiotr Jasiukajtis }
405*25c28e83SPiotr Jasiukajtis 
406*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
407*25c28e83SPiotr Jasiukajtis float
__asinf(float x)408*25c28e83SPiotr Jasiukajtis __asinf(float x) {
409*25c28e83SPiotr Jasiukajtis 	return (0.0F);
410*25c28e83SPiotr Jasiukajtis }
411*25c28e83SPiotr Jasiukajtis 
412*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
413*25c28e83SPiotr Jasiukajtis float
__atanf(float x)414*25c28e83SPiotr Jasiukajtis __atanf(float x) {
415*25c28e83SPiotr Jasiukajtis 	return (0.0F);
416*25c28e83SPiotr Jasiukajtis }
417*25c28e83SPiotr Jasiukajtis 
418*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
419*25c28e83SPiotr Jasiukajtis float
__atan2f(float y,float x)420*25c28e83SPiotr Jasiukajtis __atan2f(float y, float x) {
421*25c28e83SPiotr Jasiukajtis 	return (0.0F);
422*25c28e83SPiotr Jasiukajtis }
423*25c28e83SPiotr Jasiukajtis 
424*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
425*25c28e83SPiotr Jasiukajtis float
__ceilf(float x)426*25c28e83SPiotr Jasiukajtis __ceilf(float x) {
427*25c28e83SPiotr Jasiukajtis 	return (0.0F);
428*25c28e83SPiotr Jasiukajtis }
429*25c28e83SPiotr Jasiukajtis 
430*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
431*25c28e83SPiotr Jasiukajtis float
__cosf(float x)432*25c28e83SPiotr Jasiukajtis __cosf(float x) {
433*25c28e83SPiotr Jasiukajtis 	return (0.0F);
434*25c28e83SPiotr Jasiukajtis }
435*25c28e83SPiotr Jasiukajtis 
436*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
437*25c28e83SPiotr Jasiukajtis float
__coshf(float x)438*25c28e83SPiotr Jasiukajtis __coshf(float x) {
439*25c28e83SPiotr Jasiukajtis 	return (0.0F);
440*25c28e83SPiotr Jasiukajtis }
441*25c28e83SPiotr Jasiukajtis 
442*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
443*25c28e83SPiotr Jasiukajtis float
__expf(float x)444*25c28e83SPiotr Jasiukajtis __expf(float x) {
445*25c28e83SPiotr Jasiukajtis 	return (0.0F);
446*25c28e83SPiotr Jasiukajtis }
447*25c28e83SPiotr Jasiukajtis 
448*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
449*25c28e83SPiotr Jasiukajtis float
__fabsf(float x)450*25c28e83SPiotr Jasiukajtis __fabsf(float x) {
451*25c28e83SPiotr Jasiukajtis 	return (0.0F);
452*25c28e83SPiotr Jasiukajtis }
453*25c28e83SPiotr Jasiukajtis 
454*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
455*25c28e83SPiotr Jasiukajtis float
__floorf(float x)456*25c28e83SPiotr Jasiukajtis __floorf(float x) {
457*25c28e83SPiotr Jasiukajtis 	return (0.0F);
458*25c28e83SPiotr Jasiukajtis }
459*25c28e83SPiotr Jasiukajtis 
460*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
461*25c28e83SPiotr Jasiukajtis float
__fmodf(float x,float y)462*25c28e83SPiotr Jasiukajtis __fmodf(float x, float y) {
463*25c28e83SPiotr Jasiukajtis 	return (0.0F);
464*25c28e83SPiotr Jasiukajtis }
465*25c28e83SPiotr Jasiukajtis 
466*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
467*25c28e83SPiotr Jasiukajtis float
__frexpf(float x,int * e)468*25c28e83SPiotr Jasiukajtis __frexpf(float x, int *e) {
469*25c28e83SPiotr Jasiukajtis 	return (0.0F);
470*25c28e83SPiotr Jasiukajtis }
471*25c28e83SPiotr Jasiukajtis 
472*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
473*25c28e83SPiotr Jasiukajtis float
__ldexpf(float x,int n)474*25c28e83SPiotr Jasiukajtis __ldexpf(float x, int n) {
475*25c28e83SPiotr Jasiukajtis 	return (0.0F);
476*25c28e83SPiotr Jasiukajtis }
477*25c28e83SPiotr Jasiukajtis 
478*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
479*25c28e83SPiotr Jasiukajtis float
__logf(float x)480*25c28e83SPiotr Jasiukajtis __logf(float x) {
481*25c28e83SPiotr Jasiukajtis 	return (0.0F);
482*25c28e83SPiotr Jasiukajtis }
483*25c28e83SPiotr Jasiukajtis 
484*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
485*25c28e83SPiotr Jasiukajtis float
__log10f(float x)486*25c28e83SPiotr Jasiukajtis __log10f(float x) {
487*25c28e83SPiotr Jasiukajtis 	return (0.0F);
488*25c28e83SPiotr Jasiukajtis }
489*25c28e83SPiotr Jasiukajtis 
490*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
491*25c28e83SPiotr Jasiukajtis float
__modff(float x,float * iptr)492*25c28e83SPiotr Jasiukajtis __modff(float x, float *iptr) {
493*25c28e83SPiotr Jasiukajtis 	return (0.0F);
494*25c28e83SPiotr Jasiukajtis }
495*25c28e83SPiotr Jasiukajtis 
496*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
497*25c28e83SPiotr Jasiukajtis float
__powf(float x,float y)498*25c28e83SPiotr Jasiukajtis __powf(float x, float y) {
499*25c28e83SPiotr Jasiukajtis 	return (0.0F);
500*25c28e83SPiotr Jasiukajtis }
501*25c28e83SPiotr Jasiukajtis 
502*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
503*25c28e83SPiotr Jasiukajtis float
__sinf(float x)504*25c28e83SPiotr Jasiukajtis __sinf(float x) {
505*25c28e83SPiotr Jasiukajtis 	return (0.0F);
506*25c28e83SPiotr Jasiukajtis }
507*25c28e83SPiotr Jasiukajtis 
508*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
509*25c28e83SPiotr Jasiukajtis float
__sinhf(float x)510*25c28e83SPiotr Jasiukajtis __sinhf(float x) {
511*25c28e83SPiotr Jasiukajtis 	return (0.0F);
512*25c28e83SPiotr Jasiukajtis }
513*25c28e83SPiotr Jasiukajtis 
514*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
515*25c28e83SPiotr Jasiukajtis float
__sqrtf(float x)516*25c28e83SPiotr Jasiukajtis __sqrtf(float x) {
517*25c28e83SPiotr Jasiukajtis 	return (0.0F);
518*25c28e83SPiotr Jasiukajtis }
519*25c28e83SPiotr Jasiukajtis 
520*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
521*25c28e83SPiotr Jasiukajtis float
__tanf(float x)522*25c28e83SPiotr Jasiukajtis __tanf(float x) {
523*25c28e83SPiotr Jasiukajtis 	return (0.0F);
524*25c28e83SPiotr Jasiukajtis }
525*25c28e83SPiotr Jasiukajtis 
526*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
527*25c28e83SPiotr Jasiukajtis float
__tanhf(float x)528*25c28e83SPiotr Jasiukajtis __tanhf(float x) {
529*25c28e83SPiotr Jasiukajtis 	return (0.0F);
530*25c28e83SPiotr Jasiukajtis }
531*25c28e83SPiotr Jasiukajtis 
532*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
533*25c28e83SPiotr Jasiukajtis long double
__acosl(long double x)534*25c28e83SPiotr Jasiukajtis __acosl(long double x) {
535*25c28e83SPiotr Jasiukajtis 	return (0.0L);
536*25c28e83SPiotr Jasiukajtis }
537*25c28e83SPiotr Jasiukajtis 
538*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
539*25c28e83SPiotr Jasiukajtis long double
__asinl(long double x)540*25c28e83SPiotr Jasiukajtis __asinl(long double x) {
541*25c28e83SPiotr Jasiukajtis 	return (0.0L);
542*25c28e83SPiotr Jasiukajtis }
543*25c28e83SPiotr Jasiukajtis 
544*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
545*25c28e83SPiotr Jasiukajtis long double
__atanl(long double x)546*25c28e83SPiotr Jasiukajtis __atanl(long double x) {
547*25c28e83SPiotr Jasiukajtis 	return (0.0L);
548*25c28e83SPiotr Jasiukajtis }
549*25c28e83SPiotr Jasiukajtis 
550*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
551*25c28e83SPiotr Jasiukajtis long double
__atan2l(long double y,long double x)552*25c28e83SPiotr Jasiukajtis __atan2l(long double y, long double x) {
553*25c28e83SPiotr Jasiukajtis 	return (0.0L);
554*25c28e83SPiotr Jasiukajtis }
555*25c28e83SPiotr Jasiukajtis 
556*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
557*25c28e83SPiotr Jasiukajtis long double
__ceill(long double x)558*25c28e83SPiotr Jasiukajtis __ceill(long double x) {
559*25c28e83SPiotr Jasiukajtis 	return (0.0L);
560*25c28e83SPiotr Jasiukajtis }
561*25c28e83SPiotr Jasiukajtis 
562*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
563*25c28e83SPiotr Jasiukajtis long double
__cosl(long double x)564*25c28e83SPiotr Jasiukajtis __cosl(long double x) {
565*25c28e83SPiotr Jasiukajtis 	return (0.0L);
566*25c28e83SPiotr Jasiukajtis }
567*25c28e83SPiotr Jasiukajtis 
568*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
569*25c28e83SPiotr Jasiukajtis long double
__coshl(long double x)570*25c28e83SPiotr Jasiukajtis __coshl(long double x) {
571*25c28e83SPiotr Jasiukajtis 	return (0.0L);
572*25c28e83SPiotr Jasiukajtis }
573*25c28e83SPiotr Jasiukajtis 
574*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
575*25c28e83SPiotr Jasiukajtis long double
__expl(long double x)576*25c28e83SPiotr Jasiukajtis __expl(long double x) {
577*25c28e83SPiotr Jasiukajtis 	return (0.0L);
578*25c28e83SPiotr Jasiukajtis }
579*25c28e83SPiotr Jasiukajtis 
580*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
581*25c28e83SPiotr Jasiukajtis long double
__fabsl(long double x)582*25c28e83SPiotr Jasiukajtis __fabsl(long double x) {
583*25c28e83SPiotr Jasiukajtis 	return (0.0L);
584*25c28e83SPiotr Jasiukajtis }
585*25c28e83SPiotr Jasiukajtis 
586*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
587*25c28e83SPiotr Jasiukajtis long double
__floorl(long double x)588*25c28e83SPiotr Jasiukajtis __floorl(long double x) {
589*25c28e83SPiotr Jasiukajtis 	return (0.0L);
590*25c28e83SPiotr Jasiukajtis }
591*25c28e83SPiotr Jasiukajtis 
592*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
593*25c28e83SPiotr Jasiukajtis long double
__fmodl(long double x,long double y)594*25c28e83SPiotr Jasiukajtis __fmodl(long double x, long double y) {
595*25c28e83SPiotr Jasiukajtis 	return (0.0L);
596*25c28e83SPiotr Jasiukajtis }
597*25c28e83SPiotr Jasiukajtis 
598*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
599*25c28e83SPiotr Jasiukajtis long double
__frexpl(long double x,int * e)600*25c28e83SPiotr Jasiukajtis __frexpl(long double x, int *e) {
601*25c28e83SPiotr Jasiukajtis 	return (0.0L);
602*25c28e83SPiotr Jasiukajtis }
603*25c28e83SPiotr Jasiukajtis 
604*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
605*25c28e83SPiotr Jasiukajtis long double
__ldexpl(long double x,int n)606*25c28e83SPiotr Jasiukajtis __ldexpl(long double x, int n) {
607*25c28e83SPiotr Jasiukajtis 	return (0.0L);
608*25c28e83SPiotr Jasiukajtis }
609*25c28e83SPiotr Jasiukajtis 
610*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
611*25c28e83SPiotr Jasiukajtis long double
__logl(long double x)612*25c28e83SPiotr Jasiukajtis __logl(long double x) {
613*25c28e83SPiotr Jasiukajtis 	return (0.0L);
614*25c28e83SPiotr Jasiukajtis }
615*25c28e83SPiotr Jasiukajtis 
616*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
617*25c28e83SPiotr Jasiukajtis long double
__log10l(long double x)618*25c28e83SPiotr Jasiukajtis __log10l(long double x) {
619*25c28e83SPiotr Jasiukajtis 	return (0.0L);
620*25c28e83SPiotr Jasiukajtis }
621*25c28e83SPiotr Jasiukajtis 
622*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
623*25c28e83SPiotr Jasiukajtis long double
__modfl(long double x,long double * iptr)624*25c28e83SPiotr Jasiukajtis __modfl(long double x, long double *iptr) {
625*25c28e83SPiotr Jasiukajtis 	return (0.0L);
626*25c28e83SPiotr Jasiukajtis }
627*25c28e83SPiotr Jasiukajtis 
628*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
629*25c28e83SPiotr Jasiukajtis long double
__powl(long double x,long double y)630*25c28e83SPiotr Jasiukajtis __powl(long double x, long double y) {
631*25c28e83SPiotr Jasiukajtis 	return (0.0L);
632*25c28e83SPiotr Jasiukajtis }
633*25c28e83SPiotr Jasiukajtis 
634*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
635*25c28e83SPiotr Jasiukajtis long double
__sinl(long double x)636*25c28e83SPiotr Jasiukajtis __sinl(long double x) {
637*25c28e83SPiotr Jasiukajtis 	return (0.0L);
638*25c28e83SPiotr Jasiukajtis }
639*25c28e83SPiotr Jasiukajtis 
640*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
641*25c28e83SPiotr Jasiukajtis long double
__sinhl(long double x)642*25c28e83SPiotr Jasiukajtis __sinhl(long double x) {
643*25c28e83SPiotr Jasiukajtis 	return (0.0L);
644*25c28e83SPiotr Jasiukajtis }
645*25c28e83SPiotr Jasiukajtis 
646*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
647*25c28e83SPiotr Jasiukajtis long double
__sqrtl(long double x)648*25c28e83SPiotr Jasiukajtis __sqrtl(long double x) {
649*25c28e83SPiotr Jasiukajtis 	return (0.0L);
650*25c28e83SPiotr Jasiukajtis }
651*25c28e83SPiotr Jasiukajtis 
652*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
653*25c28e83SPiotr Jasiukajtis long double
__tanl(long double x)654*25c28e83SPiotr Jasiukajtis __tanl(long double x) {
655*25c28e83SPiotr Jasiukajtis 	return (0.0L);
656*25c28e83SPiotr Jasiukajtis }
657*25c28e83SPiotr Jasiukajtis 
658*25c28e83SPiotr Jasiukajtis /* ARGSUSED */
659*25c28e83SPiotr Jasiukajtis long double
__tanhl(long double x)660*25c28e83SPiotr Jasiukajtis __tanhl(long double x) {
661*25c28e83SPiotr Jasiukajtis 	return (0.0L);
662*25c28e83SPiotr Jasiukajtis }