LightKrylov
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
log2
Interface
FreeBSD Documentation License
4 statements
Source File
Utils.f90
LightKrylov_utils
log2
Contents
Module Procedures
log2_rsp
log2_rdp
public interface log2
Utility function to compute the base-2 logarithm of a real number.
Module Procedures
private pure function log2_rsp(x) result(y)
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=sp),
intent(in)
::
x
Return Value
real(kind=sp)
private pure function log2_rdp(x) result(y)
Arguments
Type
Intent
Optional
Attributes
Name
real(kind=dp),
intent(in)
::
x
Return Value
real(kind=dp)