pure function funA_0_1(b) result(ret) real(dp), intent(in) :: b real(dp) :: ret ret = funA(b, 0.0_dp, 1.0_dp) end function funA_0_1