Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in) | :: | r |
MYSQRT(3f) is a trivial function for demonstration purposes. |
elemental pure function mysqrt(r) result(answer)
!> MYSQRT(3f) is a trivial function for demonstration purposes.
! It calls the intrinsic SQRT
real,intent(in) :: r
real :: answer
answer=sqrt(r)
end function mysqrt