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