parquet_debug_exp_key Function

public function parquet_debug_exp_key(u) result(e)

exp_key under a public name. Test-only.

Public only because it has to be: this module reaches no bind(C) surface, so the C++-side debug-hook convention the rest of the library uses is unavailable to it, and a frozen transform that no test can call is a frozen transform nobody is checking. It is excluded from README.md's API overview, no library code calls it, and it is not a general-purpose logarithm -- see exp_key for the domain it is valid on.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(in) :: u

a uniform in [2**-53, 1]

Return Value real(kind=real64)

-log(u)


Source Code

    function parquet_debug_exp_key(u) result(e)
        real(real64), intent(in) :: u   !! a uniform in `[2**-53, 1]`
        real(real64) :: e               !! `-log(u)`

        e = exp_key(u)
    end function parquet_debug_exp_key