logb Interface

public interface logb

Module Procedures

private pure elemental function logb_ii(b, x) result(res)

Returns the logarithm of x in the base b

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: b
integer, intent(in) :: x

Return Value real(kind=dp)

private pure elemental function logb_rr(b, x) result(res)

Returns the logarithm of x in the base b

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: b
real(kind=dp), intent(in) :: x

Return Value real(kind=dp)

private pure elemental function logb_cc(b, x) result(res)

Returns the logarithm of x in the base b

Arguments

Type IntentOptional Attributes Name
complex(kind=dp), intent(in) :: b
complex(kind=dp), intent(in) :: x

Return Value complex(kind=dp)