[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


log10

Compute the base 10 logarithms.

Compatibility:

This function is compatible with the following targets:

ANSI

BeOS

EMB/RTOS

Mac OS

Palm OS

Win32


Prototype:
#include <math.h>

double log10(double x);
float log10f(float);
long double log10l(long double);
Parameters:

Parameters for this function are:

x  
float, double or long double  
value to be computed  

Return:

log10() returns log10x. If x < 0 log10() may assign EDOM to errno. See "Floating point error testing.," for information on newer error testing procedures.

See Also:

"Inlined Intrinsics Option"

"exp"

"errno"

For example of usage see::
"log(), log10() example"


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000