1 libm_aliases.h |
1 /* |
|
2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Name : libm_aliases.h |
|
16 * Part of : libm |
|
17 * This Header contains the macro declarations which serves the purposes of |
|
18 * weak and strong aliases. |
|
19 * Version : 1.0 |
|
20 * Redistribution and use in source and binary forms, with or without |
|
21 * modification, are permitted provided that the following conditions are met: |
|
22 * * Redistributions of source code must retain the above copyright notice, this |
|
23 * list of conditions and the following disclaimer. |
|
24 * * Redistributions in binary form must reproduce the above copyright notice, |
|
25 * this list of conditions and the following disclaimer in the documentation |
|
26 * and/or other materials provided with the distribution. |
|
27 * * Neither the name of the <ORGANIZATION> nor the names of its contributors |
|
28 * may be used to endorse or promote products derived from this software |
|
29 * without specific prior written permission. |
|
30 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
|
31 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
|
32 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
|
33 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE |
|
34 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
|
35 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
|
36 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
|
37 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
|
38 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
|
39 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
40 * |
|
41 */ |
|
42 |
|
43 |
|
44 |
|
45 #ifndef __LIBM_ALIASES_H__ |
|
46 #define __LIBM_ALIASES_H__ |
|
47 |
|
48 #define frexpl frexp |
|
49 #define nexttoward nextafter |
|
50 #define nexttowardl nextafter |
|
51 #define nextafterl nextafter |
|
52 #define ldexpl scalbn |
|
53 #define ldexpf scalbnf |
|
54 #define scalbnl scalbn |
|
55 |
|
56 |
|
57 |
|
58 /* |
|
59 following are the aliases defined for the longdouble apis |
|
60 */ |
|
61 #define cbrtl cbrt |
|
62 #define ceill ceil |
|
63 #define erfl erf |
|
64 #define erfcl erfc |
|
65 #define expl exp |
|
66 #define exp2l exp2 |
|
67 #define expm1l expm1 |
|
68 #define j0l j0 |
|
69 #define j1l j1 |
|
70 #define lrintl lrint |
|
71 #define lroundl lround |
|
72 #define roundl round |
|
73 #define logl log |
|
74 #define log10l log10 |
|
75 #define log1pl log1p |
|
76 #define logbl logb |
|
77 #define rintl rint |
|
78 #define sqrtl sqrt |
|
79 #define y0l y0 |
|
80 #define y1l y1 |
|
81 #define significandl significand |
|
82 #define nearbyintl nearbyint |
|
83 #define finitel finite |
|
84 #define floorl floor |
|
85 #define fmal fma |
|
86 #define fminl fmin |
|
87 #define gammal gamma |
|
88 #define lgammal lgamma |
|
89 #define cosl cos |
|
90 #define acosl acos |
|
91 #define acoshl acosh |
|
92 #define asinl asin |
|
93 #define asinhl asinh |
|
94 #define atanl atan |
|
95 #define atanhl atanh |
|
96 #define sinl sin |
|
97 #define sinhl sinh |
|
98 #define coshl cosh |
|
99 #define tanl tan |
|
100 #define tanhl tanh |
|
101 #define atan2l atan2 |
|
102 #define powl pow |
|
103 #define dreml drem |
|
104 #define fmodl fmod |
|
105 #define hypotl hypot |
|
106 #define remainderl remainder |
|
107 #define jnl jn |
|
108 #define ynl yn |
|
109 #define scalbl scalb |
|
110 #define modfl modf |
|
111 #define remquol remquo |
|
112 #define llrintl llrint |
|
113 #define llroundl llround |
|
114 |
|
115 #endif /*__LIBM_ALIASES_H__*/ |