williamr@2: /* williamr@2: * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@2: * All rights reserved. williamr@2: * This component and the accompanying materials are made available williamr@2: * 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 williamr@2: * which accompanies this distribution, and is available williamr@2: * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". williamr@2: * williamr@2: * Initial Contributors: williamr@2: * Nokia Corporation - initial contribution. williamr@2: * williamr@2: * Contributors: williamr@2: * williamr@2: * Description: williamr@2: * Name : libm_aliases.h williamr@2: * Part of : libm williamr@2: * This Header contains the macro declarations which serves the purposes of williamr@2: * weak and strong aliases. williamr@2: * Version : 1.0 williamr@2: * Redistribution and use in source and binary forms, with or without williamr@2: * modification, are permitted provided that the following conditions are met: williamr@2: * * Redistributions of source code must retain the above copyright notice, this williamr@2: * list of conditions and the following disclaimer. williamr@2: * * Redistributions in binary form must reproduce the above copyright notice, williamr@2: * this list of conditions and the following disclaimer in the documentation williamr@2: * and/or other materials provided with the distribution. williamr@2: * * Neither the name of the nor the names of its contributors williamr@2: * may be used to endorse or promote products derived from this software williamr@2: * without specific prior written permission. williamr@2: * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" williamr@2: * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE williamr@2: * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE williamr@2: * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE williamr@2: * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL williamr@2: * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR williamr@2: * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER williamr@2: * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, williamr@2: * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE williamr@2: * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. williamr@2: * williamr@2: */ williamr@2: williamr@2: williamr@2: williamr@2: #ifndef __LIBM_ALIASES_H__ williamr@2: #define __LIBM_ALIASES_H__ williamr@2: williamr@2: #define frexpl frexp williamr@2: #define nexttoward nextafter williamr@2: #define nexttowardl nextafter williamr@2: #define nextafterl nextafter williamr@2: #define ldexpl scalbn williamr@2: #define ldexpf scalbnf williamr@2: #define scalbnl scalbn williamr@2: williamr@2: williamr@2: williamr@2: /* williamr@2: following are the aliases defined for the longdouble apis williamr@2: */ williamr@2: #define cbrtl cbrt williamr@2: #define ceill ceil williamr@2: #define erfl erf williamr@2: #define erfcl erfc williamr@2: #define expl exp williamr@2: #define exp2l exp2 williamr@2: #define expm1l expm1 williamr@2: #define j0l j0 williamr@2: #define j1l j1 williamr@2: #define lrintl lrint williamr@2: #define lroundl lround williamr@2: #define roundl round williamr@2: #define logl log williamr@2: #define log10l log10 williamr@2: #define log1pl log1p williamr@2: #define logbl logb williamr@2: #define rintl rint williamr@2: #define sqrtl sqrt williamr@2: #define y0l y0 williamr@2: #define y1l y1 williamr@2: #define significandl significand williamr@2: #define nearbyintl nearbyint williamr@2: #define finitel finite williamr@2: #define floorl floor williamr@2: #define fmal fma williamr@2: #define fminl fmin williamr@2: #define gammal gamma williamr@2: #define lgammal lgamma williamr@2: #define cosl cos williamr@2: #define acosl acos williamr@2: #define acoshl acosh williamr@2: #define asinl asin williamr@2: #define asinhl asinh williamr@2: #define atanl atan williamr@2: #define atanhl atanh williamr@2: #define sinl sin williamr@2: #define sinhl sinh williamr@2: #define coshl cosh williamr@2: #define tanl tan williamr@2: #define tanhl tanh williamr@2: #define atan2l atan2 williamr@2: #define powl pow williamr@2: #define dreml drem williamr@2: #define fmodl fmod williamr@2: #define hypotl hypot williamr@2: #define remainderl remainder williamr@2: #define jnl jn williamr@2: #define ynl yn williamr@2: #define scalbl scalb williamr@2: #define modfl modf williamr@2: #define remquol remquo williamr@2: #define llrintl llrint williamr@2: #define llroundl llround williamr@2: williamr@2: #endif /*__LIBM_ALIASES_H__*/