LOG10()

LOG10()

Decadic logarithm of a number

Syntax

      LOG10( <nNumber> ) -> nLogarithm

Arguments

<nNumber> number to logarithm

Returns

<nLogarithm> decadic logarithm of <nNumber>

Description

The function LOG10() calculates the decadic logarithm of <nNumber>, i.e. 10ˆ<nLogarithm> == <nNumber>.

Examples

      ? log10( 10.0 )         // --> 1.0
      ? log10( sqrt( 10.0 ) ) // --> 0.5

Tests

      log10( 10.0 )         == 1.0
      log10( sqrt( 10.0 ) ) == 0.5

Compliance

LOG10() is compatible with CT3’s LOG10().

Platforms

All

Files

Source is math.c, library is libct.

Advertisements

2 responses to “LOG10()

  1. Pingback: Harbour All Function – L | Viva Clipper !

  2. Pingback: Harbour Math Functions | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s