]> pd.if.org Git - pdclib/blob - functions/math/exp.c
7bf8ce38c4231d580bc2756bc839d2ee5d8a2af6
[pdclib] / functions / math / exp.c
1 // ----------------------------------------------------------------------------
2 // $Id$
3 // ----------------------------------------------------------------------------
4 // Public Domain C Library - http://pdclib.sourceforge.net
5 // This code is Public Domain. Use, modify, and redistribute at will.
6 // ----------------------------------------------------------------------------
7
8 double exp( double x ) { /* TODO */ };
9 float expf( float x ) { /* TODO */ };
10 long double expl( long double x ) { /* TODO */ };
11
12 double exp2( double x ) { /* TODO */ };
13
14 /* Therx code
15 {
16     double value = 1;
17     for( int i = 1; i <= x; i++ )
18     {
19         value *= 2;
20     }
21     return value;
22 }
23 */
24
25 float exp2f( float x ) { /* TODO */ };
26 long double exp2l( long double x ) { /* TODO */ };
27
28 double expm1( double x ) { /* TODO */ };
29 float expm1f( float x ) { /* TODO */ };
30 long double expm1l( long double x ) { /* TODO */ };
31
32 double frexp( double x, int * exp ) { /* TODO */ };
33 float frexpf( float x, int * exp ) { /* TODO */ };
34 long double frexpl( long double x, int * exp ) { /* TODO */ };
35
36 double ldexp( double x, int exp ) { /* TODO */ };
37 float ldexpf( float x, int exp ) { /* TODO */ };
38 long double ldexpl( long double x, int exp ) { /* TODO */ };