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]
22 * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
25 * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
26 * Use is subject to license terms.
32 #if !defined(__cplusplus)
38 * real-floating and complex
41 #define acos(x) __tgmath_acos(x)
43 #define asin(x) __tgmath_asin(x)
45 #define atan(x) __tgmath_atan(x)
47 #define acosh(x) __tgmath_acosh(x)
49 #define asinh(x) __tgmath_asinh(x)
51 #define atanh(x) __tgmath_atanh(x)
53 #define cos(x) __tgmath_cos(x)
55 #define sin(x) __tgmath_sin(x)
57 #define tan(x) __tgmath_tan(x)
59 #define cosh(x) __tgmath_cosh(x)
61 #define sinh(x) __tgmath_sinh(x)
63 #define tanh(x) __tgmath_tanh(x)
65 #define exp(x) __tgmath_exp(x)
67 #define log(x) __tgmath_log(x)
69 #define pow(x, y) __tgmath_pow(x, y)
71 #define sqrt(x) __tgmath_sqrt(x)
73 #define fabs(x) __tgmath_fabs(x)
79 #define atan2(y, x) __tgmath_atan2(y, x)
81 #define cbrt(x) __tgmath_cbrt(x)
83 #define ceil(x) __tgmath_ceil(x)
85 #define copysign(x, y) __tgmath_copysign(x, y)
87 #define erf(x) __tgmath_erf(x)
89 #define erfc(x) __tgmath_erfc(x)
91 #define exp2(x) __tgmath_exp2(x)
93 #define expm1(x) __tgmath_expm1(x)
95 #define fdim(x, y) __tgmath_fdim(x, y)
97 #define floor(x) __tgmath_floor(x)
99 #define fma(x, y, z) __tgmath_fma(x, y, z)
101 #define fmax(x, y) __tgmath_fmax(x, y)
103 #define fmin(x, y) __tgmath_fmin(x, y)
105 #define fmod(x, y) __tgmath_fmod(x, y)
107 #define frexp(x, ip) __tgmath_frexp(x, ip)
109 #define hypot(x, y) __tgmath_hypot(x, y)
111 #define ilogb(x) __tgmath_ilogb(x)
113 #define ldexp(x, i) __tgmath_ldexp(x, i)
115 #define lgamma(x) __tgmath_lgamma(x)
117 #define llrint(x) __tgmath_llrint(x)
119 #define llround(x) __tgmath_llround(x)
121 #define log10(x) __tgmath_log10(x)
123 #define log1p(x) __tgmath_log1p(x)
125 #define log2(x) __tgmath_log2(x)
127 #define logb(x) __tgmath_logb(x)
129 #define lrint(x) __tgmath_lrint(x)
131 #define lround(x) __tgmath_lround(x)
133 #define nearbyint(x) __tgmath_nearbyint(x)
135 #define nextafter(x, y) __tgmath_nextafter(x, y)
137 #define nexttoward(x, y) __tgmath_nexttoward(x, y)
139 #define remainder(x, y) __tgmath_remainder(x, y)
141 #define remquo(x, y, ip) __tgmath_remquo(x, y, ip)
143 #define rint(x) __tgmath_rint(x)
145 #define round(x) __tgmath_round(x)
147 #define scalbln(x, l) __tgmath_scalbln(x, l)
149 #define scalbn(x, i) __tgmath_scalbn(x, i)
151 #define tgamma(x) __tgmath_tgamma(x)
153 #define trunc(x) __tgmath_trunc(x)
159 #define carg(x) __tgmath_carg(x)
161 #define cimag(x) __tgmath_cimag(x)
163 #define conj(x) __tgmath_conj(x)
165 #define cproj(x) __tgmath_cproj(x)
167 #define creal(x) __tgmath_creal(x)
169 #endif /* !defined(__cplusplus) */
171 #endif /* _TGMATH_H */