libc: make stdio_impl.h an internal libc header
[unleashed/tickless.git] / usr / src / lib / libm1 / common / libmv1.c
blob572d75528b0134163a6a706cf97536b65e652640
1 /*
2 * CDDL HEADER START
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.
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.
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]
19 * CDDL HEADER END
23 * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
26 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
27 * Use is subject to license terms.
30 #pragma weak _lib_version = __libm_lib_version
31 #pragma weak acos = __acos
32 #pragma weak acosh = __acosh
33 #pragma weak asin = __asin
34 #pragma weak asinh = __asinh
35 #pragma weak atan = __atan
36 #pragma weak atan2 = __atan2
37 #pragma weak atanh = __atanh
38 #pragma weak cbrt = __cbrt
39 #pragma weak ceil = __ceil
40 #pragma weak copysign = __copysign
41 #pragma weak cos = __cos
42 #pragma weak cosh = __cosh
43 #pragma weak erf = __erf
44 #pragma weak erfc = __erfc
45 #pragma weak exp = __exp
46 #pragma weak expm1 = __expm1
47 #pragma weak fabs = __fabs
48 #pragma weak floor = __floor
49 #pragma weak fmod = __fmod
50 #pragma weak gamma = __gamma
51 #pragma weak gamma_r = __gamma_r
52 #pragma weak hypot = __hypot
53 #pragma weak ilogb = __ilogb
54 #pragma weak isnan = __isnan
55 #pragma weak j0 = __j0
56 #pragma weak j1 = __j1
57 #pragma weak jn = __jn
58 #pragma weak lgamma = __lgamma
59 #pragma weak lgamma_r = __lgamma_r
60 #pragma weak log = __log
61 #pragma weak log10 = __log10
62 #pragma weak log1p = __log1p
63 #pragma weak logb = __logb
64 #pragma weak nextafter = __nextafter
65 #pragma weak pow = __pow
66 #pragma weak remainder = __remainder
67 #pragma weak rint = __rint
68 #pragma weak scalb = __scalb
69 #pragma weak scalbn = __scalbn
70 #pragma weak signgam = __signgam
71 #pragma weak significand = __significand
72 #pragma weak sin = __sin
73 #pragma weak sinh = __sinh
74 #pragma weak sqrt = __sqrt
75 #pragma weak tan = __tan
76 #pragma weak tanh = __tanh
77 #pragma weak y0 = __y0
78 #pragma weak y1 = __y1
79 #pragma weak yn = __yn
81 #include <math.h>
83 const enum version __libm_lib_version = libm_ieee;
84 int __signgam = 0;
86 #if !defined(__sparcv9) && !defined(__amd64)
87 /* ARGSUSED */
88 int *
89 __libm_errno(void) {
90 return (0);
92 #endif
94 /* ARGSUSED */
95 int
96 __libm__rem_pio2(double x, double *y) {
97 return (0);
100 /* ARGSUSED */
102 __libm__rem_pio2m(double *x, double *y, int e0, int nx, int p, const int *ip) {
103 return (0);
106 /* ARGSUSED */
107 double
108 __acos(double x) {
109 return (0.0);
112 /* ARGSUSED */
113 double
114 __acosh(double x) {
115 return (0.0);
118 /* ARGSUSED */
119 double
120 __asin(double x) {
121 return (0.0);
124 /* ARGSUSED */
125 double
126 __asinh(double x) {
127 return (0.0);
130 /* ARGSUSED */
131 double
132 __atan(double x) {
133 return (0.0);
136 /* ARGSUSED */
137 double
138 __atan2(double y, double x) {
139 return (0.0);
142 /* ARGSUSED */
143 double
144 __atanh(double x) {
145 return (0.0);
148 /* ARGSUSED */
149 double
150 __cbrt(double x) {
151 return (0.0);
154 /* ARGSUSED */
155 double
156 __ceil(double x) {
157 return (0.0);
160 /* ARGSUSED */
161 double
162 __copysign(double x, double y) {
163 return (0.0);
166 /* ARGSUSED */
167 double
168 __cos(double x) {
169 return (0.0);
172 /* ARGSUSED */
173 double
174 __cosh(double x) {
175 return (0.0);
178 /* ARGSUSED */
179 double
180 __erf(double x) {
181 return (0.0);
184 /* ARGSUSED */
185 double
186 __erfc(double x) {
187 return (0.0);
190 /* ARGSUSED */
191 double
192 __exp(double x) {
193 return (0.0);
196 /* ARGSUSED */
197 double
198 __expm1(double x) {
199 return (0.0);
202 /* ARGSUSED */
203 double
204 __fabs(double x) {
205 return (0.0);
208 /* ARGSUSED */
209 double
210 __floor(double x) {
211 return (0.0);
214 /* ARGSUSED */
215 double
216 __fmod(double x, double y) {
217 return (0.0);
220 /* ARGSUSED */
221 double
222 __gamma(double x) {
223 return (0.0);
226 /* ARGSUSED */
227 double
228 __gamma_r(double x, int *signgamp) {
229 return (0.0);
232 /* ARGSUSED */
233 double
234 __hypot(double x, double y) {
235 return (0.0);
238 /* ARGSUSED */
240 __ilogb(double x) {
241 return (0);
244 /* ARGSUSED */
246 __isnan(double x) {
247 return (0);
250 /* ARGSUSED */
251 double
252 __j0(double x) {
253 return (0.0);
256 /* ARGSUSED */
257 double
258 __j1(double x) {
259 return (0.0);
262 /* ARGSUSED */
263 double
264 __jn(int n, double y) {
265 return (0.0);
268 /* ARGSUSED */
269 double
270 __lgamma(double x) {
271 return (0.0);
274 /* ARGSUSED */
275 double
276 __lgamma_r(double x, int *signgamp) {
277 return (0.0);
280 /* ARGSUSED */
281 double
282 __log(double x) {
283 return (0.0);
286 /* ARGSUSED */
287 double
288 __log10(double x) {
289 return (0.0);
292 /* ARGSUSED */
293 double
294 __log1p(double x) {
295 return (0.0);
298 /* ARGSUSED */
299 double
300 __logb(double x) {
301 return (0.0);
304 /* ARGSUSED */
305 double
306 __nextafter(double x, double y) {
307 return (0.0);
310 /* ARGSUSED */
311 double
312 __pow(double x, double y) {
313 return (0.0);
316 /* ARGSUSED */
317 double
318 __remainder(double x, double y) {
319 return (0.0);
322 /* ARGSUSED */
323 double
324 __rint(double x) {
325 return (0.0);
328 /* ARGSUSED */
329 double
330 __scalb(double x, double y) {
331 return (0.0);
334 /* ARGSUSED */
335 double
336 __scalbn(double x, int n) {
337 return (0.0);
340 /* ARGSUSED */
341 double
342 __significand(double x) {
343 return (0.0);
346 /* ARGSUSED */
347 double
348 __sin(double x) {
349 return (0.0);
352 /* ARGSUSED */
353 double
354 __sinh(double x) {
355 return (0.0);
358 /* ARGSUSED */
359 double
360 __sqrt(double x) {
361 return (0.0);
364 /* ARGSUSED */
365 double
366 __tan(double x) {
367 return (0.0);
370 /* ARGSUSED */
371 double
372 __tanh(double x) {
373 return (0.0);
376 /* ARGSUSED */
377 double
378 __y0(double x) {
379 return (0.0);
382 /* ARGSUSED */
383 double
384 __y1(double x) {
385 return (0.0);
388 /* ARGSUSED */
389 double
390 __yn(int n, double x) {
391 return (0.0);
394 /* ARGSUSED */
396 matherr(struct exception *excep) {
397 return (0);
400 /* ARGSUSED */
401 float
402 __acosf(float x) {
403 return (0.0F);
406 /* ARGSUSED */
407 float
408 __asinf(float x) {
409 return (0.0F);
412 /* ARGSUSED */
413 float
414 __atanf(float x) {
415 return (0.0F);
418 /* ARGSUSED */
419 float
420 __atan2f(float y, float x) {
421 return (0.0F);
424 /* ARGSUSED */
425 float
426 __ceilf(float x) {
427 return (0.0F);
430 /* ARGSUSED */
431 float
432 __cosf(float x) {
433 return (0.0F);
436 /* ARGSUSED */
437 float
438 __coshf(float x) {
439 return (0.0F);
442 /* ARGSUSED */
443 float
444 __expf(float x) {
445 return (0.0F);
448 /* ARGSUSED */
449 float
450 __fabsf(float x) {
451 return (0.0F);
454 /* ARGSUSED */
455 float
456 __floorf(float x) {
457 return (0.0F);
460 /* ARGSUSED */
461 float
462 __fmodf(float x, float y) {
463 return (0.0F);
466 /* ARGSUSED */
467 float
468 __frexpf(float x, int *e) {
469 return (0.0F);
472 /* ARGSUSED */
473 float
474 __ldexpf(float x, int n) {
475 return (0.0F);
478 /* ARGSUSED */
479 float
480 __logf(float x) {
481 return (0.0F);
484 /* ARGSUSED */
485 float
486 __log10f(float x) {
487 return (0.0F);
490 /* ARGSUSED */
491 float
492 __modff(float x, float *iptr) {
493 return (0.0F);
496 /* ARGSUSED */
497 float
498 __powf(float x, float y) {
499 return (0.0F);
502 /* ARGSUSED */
503 float
504 __sinf(float x) {
505 return (0.0F);
508 /* ARGSUSED */
509 float
510 __sinhf(float x) {
511 return (0.0F);
514 /* ARGSUSED */
515 float
516 __sqrtf(float x) {
517 return (0.0F);
520 /* ARGSUSED */
521 float
522 __tanf(float x) {
523 return (0.0F);
526 /* ARGSUSED */
527 float
528 __tanhf(float x) {
529 return (0.0F);
532 /* ARGSUSED */
533 long double
534 __acosl(long double x) {
535 return (0.0L);
538 /* ARGSUSED */
539 long double
540 __asinl(long double x) {
541 return (0.0L);
544 /* ARGSUSED */
545 long double
546 __atanl(long double x) {
547 return (0.0L);
550 /* ARGSUSED */
551 long double
552 __atan2l(long double y, long double x) {
553 return (0.0L);
556 /* ARGSUSED */
557 long double
558 __ceill(long double x) {
559 return (0.0L);
562 /* ARGSUSED */
563 long double
564 __cosl(long double x) {
565 return (0.0L);
568 /* ARGSUSED */
569 long double
570 __coshl(long double x) {
571 return (0.0L);
574 /* ARGSUSED */
575 long double
576 __expl(long double x) {
577 return (0.0L);
580 /* ARGSUSED */
581 long double
582 __fabsl(long double x) {
583 return (0.0L);
586 /* ARGSUSED */
587 long double
588 __floorl(long double x) {
589 return (0.0L);
592 /* ARGSUSED */
593 long double
594 __fmodl(long double x, long double y) {
595 return (0.0L);
598 /* ARGSUSED */
599 long double
600 __frexpl(long double x, int *e) {
601 return (0.0L);
604 /* ARGSUSED */
605 long double
606 __ldexpl(long double x, int n) {
607 return (0.0L);
610 /* ARGSUSED */
611 long double
612 __logl(long double x) {
613 return (0.0L);
616 /* ARGSUSED */
617 long double
618 __log10l(long double x) {
619 return (0.0L);
622 /* ARGSUSED */
623 long double
624 __modfl(long double x, long double *iptr) {
625 return (0.0L);
628 /* ARGSUSED */
629 long double
630 __powl(long double x, long double y) {
631 return (0.0L);
634 /* ARGSUSED */
635 long double
636 __sinl(long double x) {
637 return (0.0L);
640 /* ARGSUSED */
641 long double
642 __sinhl(long double x) {
643 return (0.0L);
646 /* ARGSUSED */
647 long double
648 __sqrtl(long double x) {
649 return (0.0L);
652 /* ARGSUSED */
653 long double
654 __tanl(long double x) {
655 return (0.0L);
658 /* ARGSUSED */
659 long double
660 __tanhl(long double x) {
661 return (0.0L);