libm_aliases.h

Go to the documentation of this file.
00001 /*
00002  *  Name        : libm_aliases.h
00003  *  Part of     : libm
00004  *  Description : This Header contains the macro declarations which serves the purposes of
00005  *                                                              weak and strong aliases.
00006  *  Version     : 1.0
00007  *  Copyright © 2006 Nokia Corporation.
00008  * 
00009  * Redistribution and use in source and binary forms, with or without 
00010  * modification, are permitted provided that the following conditions are met:
00011  *  * Redistributions of source code must retain the above copyright notice, this 
00012  *    list of conditions and the following disclaimer. 
00013  *  * Redistributions in binary form must reproduce the above copyright notice, 
00014  *    this list of conditions and the following disclaimer in the documentation 
00015  *    and/or other materials provided with the distribution. 
00016  *  * Neither the name of the <ORGANIZATION> nor the names of its contributors 
00017  *    may be used to endorse or promote products derived from this software 
00018  *    without specific prior written permission. 
00019  *    
00020  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 
00021  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
00022  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
00023  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
00024  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 
00025  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
00026  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
00027  * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00028  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 
00029  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00030  * ==============================================================================
00031  */
00032 
00033 #ifndef __LIBM_ALIASES_H__
00034 #define __LIBM_ALIASES_H__
00035 
00036 #define frexpl  frexp
00037 #define nexttoward      nextafter
00038 #define nexttowardl     nextafter
00039 #define nextafterl nextafter
00040 #define ldexpl scalbn
00041 #define ldexpf scalbnf
00042 #define scalbnl scalbn
00043 
00044 
00045 
00046 /*
00047 following are the aliases defined for the longdouble apis
00048 */
00049 #define         cbrtl   cbrt
00050 #define         ceill   ceil
00051 #define         erfl    erf
00052 #define         erfcl   erfc
00053 #define         expl    exp
00054 #define         exp2l   exp2
00055 #define         expm1l  expm1
00056 #define         j0l     j0
00057 #define         j1l     j1
00058 #define         lrintl  lrint
00059 #define         lroundl lround
00060 #define         roundl  round
00061 #define         logl    log
00062 #define         log10l  log10
00063 #define         log1pl  log1p
00064 #define         logbl   logb
00065 #define         rintl   rint
00066 #define         sqrtl   sqrt
00067 #define         y0l     y0
00068 #define         y1l     y1
00069 #define         significandl    significand
00070 #define         nearbyintl              nearbyint
00071 #define         finitel                 finite
00072 #define         floorl                  floor
00073 #define         fmal                    fma
00074 #define         fminl                   fmin
00075 #define         gammal                  gamma
00076 #define         lgammal                 lgamma
00077 #define         cosl                    cos
00078 #define         acosl                   acos
00079 #define         acoshl                  acosh
00080 #define         asinl                   asin
00081 #define         asinhl                  asinh
00082 #define         atanl                   atan
00083 #define         atanhl                  atanh
00084 #define         sinl                    sin
00085 #define         sinhl                   sinh
00086 #define         coshl                   cosh
00087 #define         tanl                    tan
00088 #define         tanhl                   tanh
00089 #define         atan2l          atan2
00090 #define         powl                    pow
00091 #define         dreml                   drem
00092 #define         fmodl                   fmod
00093 #define         hypotl                  hypot
00094 #define         remainderl              remainder
00095 #define         jnl                             jn
00096 #define         ynl                             yn
00097 #define         scalbl                  scalb
00098 #define         modfl                   modf
00099 #define         remquol                 remquo
00100 #define         llrintl                 llrint
00101 #define         llroundl                llround
00102 
00103 #endif /*__LIBM_ALIASES_H__*/

Copyright © Nokia Corporation 2001-2008
Back to top