X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fmath%2Flog.c;fp=functions%2Fmath%2Flog.c;h=47c25ce4c721083386451922218e82db98395b41;hb=dcc8a8e99f69e090a03b7b868443addbc0817820;hp=0000000000000000000000000000000000000000;hpb=e794d9887cd8f94befd7861e39eccf46666c89fe;p=pdclib.old diff --git a/functions/math/log.c b/functions/math/log.c new file mode 100644 index 0000000..47c25ce --- /dev/null +++ b/functions/math/log.c @@ -0,0 +1,54 @@ +// ---------------------------------------------------------------------------- +// $Id$ +// ---------------------------------------------------------------------------- +// Public Domain C Library - http://pdclib.sourceforge.net +// This code is Public Domain. Use, modify, and redistribute at will. +// ---------------------------------------------------------------------------- + +// ---------------------------------------------------------------------------- +// C++ + +float log( float x ) { /* TODO */ }; +long double log( long double x ) { /* TODO */ }; + +float log10( float x ) { /* TODO */ }; +long double log10( long double x ) { /* TODO */ }; + +float log2( float x ) { /* TODO */ }; +long double log2( long double x ) { /* TODO */ }; + +float logb( float x ) { /* TODO */ }; +long double logb( long double x ) { /* TODO */ }; + +int ilogb( float x ) { /* TODO */ }; +int ilogb( long double x ) { /* TODO */ }; + +float log1p( float x ) { /* TODO */ }; +long double log1p( long double x ) { /* TODO */ }; + +// ---------------------------------------------------------------------------- +// Standard C + +double log( double x ) { /* TODO */ }; +float logf( float x ) { /* TODO */ }; +long double logl( long double x ) { /* TODO */ }; + +double log10( double x ) { /* TODO */ }; +float log10f( float x ) { /* TODO */ }; +long double log10l( long double x ) { /* TODO */ }; + +double log2( double x ) { /* TODO */ }; +float log2f( float x ) { /* TODO */ }; +long double log2l( long double x ) { /* TODO */ }; + +double logb( double x ) { /* TODO */ }; +float logbf( float x ) { /* TODO */ }; +long double logbl( long double x ) { /* TODO */ }; + +int ilogb( double x ) { /* TODO */ }; +int ilogbf( float x ) { /* TODO */ }; +int ilogbl( long double x ) { /* TODO */ }; + +double log1p( double x ) { /* TODO */ }; +float log1pf( float x ) { /* TODO */ }; +long double log1pl( long double x ) { /* TODO */ };