clamp_real_dp Function

private elemental function clamp_real_dp(v, lo, hi) result(res)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: v
real(kind=dp), intent(in) :: lo
real(kind=dp), intent(in) :: hi

Return Value real(kind=dp)


Contents