X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fmath%2Flog.c;fp=functions%2Fmath%2Flog.c;h=47c25ce4c721083386451922218e82db98395b41;hb=34893ecc2200dc7017c36a54cb6c5f4c2378b5ec;hp=0000000000000000000000000000000000000000;hpb=34b76b9d65477be9c7d35cd254f44be85b3786b4;p=pdclib 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 */ };