cos(x). Plain elemental inline around the intrinsic; see
safe_exp and the module docstring.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x |
elemental function safe_cos(x) result(y) !! `cos(x)`. Plain elemental inline around the intrinsic; see !! `safe_exp` and the module docstring. real(wp), intent(in) :: x real(wp) :: y y = cos(x) end function safe_cos