pure function funA_3_2(b) result(ret) real(dp), intent(in) :: b real(dp) :: ret ret = funA(b, 3.0_dp, 2.0_dp) end function funA_3_2