clamp_real_sp Function

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

Arguments

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

Return Value real(kind=sp)


Contents