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