Manual Reference Pages  - log10 (3fortran)

NAME

LOG10(3) - [MATHEMATICS] Base 10 or common logarithm

SYNOPSIS

result = log10(x)

         elemental real(kind=KIND) function log10(x)

real(kind=KIND),intent(in) :: x

CHARACTERISTICS

o X may be any kind of real value
o the result is the same type and characteristics as X.

DESCRIPTION

LOG10(3) computes the base 10 logarithm of X. This is generally called the "common logarithm".

OPTIONS

o X : A real value > 0 to take the log of.

RESULT

The logarithm to base 10 of X

EXAMPLES

Sample program:

    program demo_log10
    use, intrinsic :: iso_fortran_env, only : real32, real64, real128
    implicit none
    real(kind=real64) :: x = 10.0_real64

x = log10(x) write(*,’(*(g0))’)’log10(’,x,’) is ’,log10(x)

! elemental write(*, *)log10([1.0, 10.0, 100.0, 1000.0, 10000.0, & & 100000.0, 1000000.0, 10000000.0])

end program demo_log10

Results:

     > log10(1.000000000000000) is .000000000000000
     >   0.0000000E+00   1.000000       2.000000       3.000000       4.000000
     >    5.000000       6.000000       7.000000

STANDARD

FORTRAN 77

SEE ALSO

o acos(3) - Arccosine (inverse cosine) function
o acosh(3) - Inverse hyperbolic cosine function
o asin(3) - Arcsine function
o asinh(3) - Inverse hyperbolic sine function
o atan(3) - Arctangent AKA inverse tangent function
o atan2(3) - Arctangent (inverse tangent) function
o atanh(3) - Inverse hyperbolic tangent function
o cos(3) - Cosine function
o cosh(3) - Hyperbolic cosine function
o sin(3) - Sine function
o sinh(3) - Hyperbolic sine function
o tan(3) - Tangent function
o tanh(3) - Hyperbolic tangent function
o bessel_j0(3) - Bessel function of the first kind of order 0
o bessel_j1(3) - Bessel function of the first kind of order 1
o bessel_jn(3) - Bessel function of the first kind
o bessel_y0(3) - Bessel function of the second kind of order 0
o bessel_y1(3) - Bessel function of the second kind of order 1
o bessel_yn(3) - Bessel function of the second kind
o erf(3) - Error function
o erfc(3) - Complementary error function
o erfc_scaled(3) - Scaled complementary error function
o exp(3) - Base-e exponential function
o gamma(3) - Gamma function, which yields factorials for positive whole numbers
o hypot(3) - Returns the Euclidean distance - the distance between a point and the origin.
o log(3) - Natural logarithm
o log10(3) - Base 10 or common logarithm
o log_gamma(3) - Logarithm of the absolute value of the Gamma function
o norm2(3) - Euclidean vector norm
o sqrt(3) - Square-root function
o random_init(3) - Initializes the state of the pseudorandom number generator
o random_number(3) - Pseudo-random number
o random_seed(3) - Initialize a pseudo-random number sequence
Fortran intrinsic descriptions


Nemo Release 3.1 log10 (3fortran) November 02, 2024
Generated by manServer 1.08 from ad3200ee-285d-4fe2-8387-83d9763064b8 using man macros.