Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(in) | :: | b | |||
real(kind=dp), | intent(in) | :: | x |
pure function funOverB(b, x) result(ret)
real(dp), intent(in) :: b, x
real(dp) :: ret
!ASSERT( (b + x) > 0.0_dp)
ret = 1.0_dp / (b + x)
end function funOverB