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