[UP]


Manual Reference Pages  - log10 (3)

NAME

LOG10(3f) - [FORTRAN:INTRINSIC:MATHEMATICS] Base 10 logarithm function

CONTENTS

Syntax
Description
Arguments
Return Value
Example
Standard
Class

SYNTAX

result = LOG10(x)

DESCRIPTION

LOG10(X) computes the base 10 logarithm of X.

ARGUMENTS

X - The type shall be REAL.

RETURN VALUE

The return value is of type REAL or COMPLEX. The kind type parameter is the same as X.

EXAMPLE

Sample program:

    program demo_log10
      real(8) :: x = 10.0_8
      x = log10(x)
    end program demo_log10

STANDARD

[[FORTRAN 77]] and later

CLASS

[[Elemental procedure|Elemental function]]


log10 (3) March 18, 2019
Generated by manServer 1.08 from 65cdf620-3a87-4472-b663-36b1e830dea9 using man macros.