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