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 * Copyright 2011 Nexenta Systems, Inc. All rights reserved.
23 */
24 /*
25 * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
26 * Use is subject to license terms.
27 */
28
29 #ifndef _C_LIBM_PROTOS_H
30 #define _C_LIBM_PROTOS_H
31
32 /*
33 * Many symbols used to be namespaced with __libm to prevent collisions. All
34 * but these two were otherwise scoped local and directly bound, so that
35 * collision could not occur.
36 *
37 * For reasons unknown, these two are global (but private).
38 */
39 #define __rem_pio2 __libm__rem_pio2
40 #define __rem_pio2m __libm__rem_pio2m
41
42 #ifndef _ASM
43 #ifdef __STDC__
122 extern long double nextafterl __P((long double, long double));
123 extern long double nexttowardl __P((long double, long double));
124 extern long double remquol __P((long double, long double, int *));
125 extern long double roundl __P((long double));
126 extern long double scalblnl __P((long double, long int));
127 extern long double tgammal __P((long double));
128 extern long double truncl __P((long double));
129 extern long int lrint __P((double));
130 extern long int lrintf __P((float));
131 extern long int lrintl __P((long double));
132 extern long int lround __P((double));
133 extern long int lroundf __P((float));
134 extern long int lroundl __P((long double));
135 extern long long int llrint __P((double));
136 extern long long int llrintf __P((float));
137 extern long long int llrintl __P((long double));
138 extern long long int llround __P((double));
139 extern long long int llroundf __P((float));
140 extern long long int llroundl __P((long double));
141 #endif /* _ASM */
142
143 #endif /* _C_LIBM_PROTOS_H */
|
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 /*
27 * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
28 * Use is subject to license terms.
29 */
30
31 #ifndef _C_LIBM_PROTOS_H
32 #define _C_LIBM_PROTOS_H
33
34 /*
35 * Many symbols used to be namespaced with __libm to prevent collisions. All
36 * but these two were otherwise scoped local and directly bound, so that
37 * collision could not occur.
38 *
39 * For reasons unknown, these two are global (but private).
40 */
41 #define __rem_pio2 __libm__rem_pio2
42 #define __rem_pio2m __libm__rem_pio2m
43
44 #ifndef _ASM
45 #ifdef __STDC__
124 extern long double nextafterl __P((long double, long double));
125 extern long double nexttowardl __P((long double, long double));
126 extern long double remquol __P((long double, long double, int *));
127 extern long double roundl __P((long double));
128 extern long double scalblnl __P((long double, long int));
129 extern long double tgammal __P((long double));
130 extern long double truncl __P((long double));
131 extern long int lrint __P((double));
132 extern long int lrintf __P((float));
133 extern long int lrintl __P((long double));
134 extern long int lround __P((double));
135 extern long int lroundf __P((float));
136 extern long int lroundl __P((long double));
137 extern long long int llrint __P((double));
138 extern long long int llrintf __P((float));
139 extern long long int llrintl __P((long double));
140 extern long long int llround __P((double));
141 extern long long int llroundf __P((float));
142 extern long long int llroundl __P((long double));
143 #endif /* _ASM */
144 #endif /* _C_LIBM_PROTOS_H */
|