exp(x). Plain elemental inline around the intrinsic — zero
overhead, codegen identical to writing exp(x) directly. No
production module calls this today (PR-8 removed the
RDB_BITWISE_REPRO dispatch that once routed it to
safe_exp_polynomial, which enabled nothing); see the module
docstring.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=wp), | intent(in) | :: | x |
elemental function safe_exp(x) result(y) !! `exp(x)`. Plain elemental inline around the intrinsic — zero !! overhead, codegen identical to writing `exp(x)` directly. No !! production module calls this today (PR-8 removed the !! `RDB_BITWISE_REPRO` dispatch that once routed it to !! `safe_exp_polynomial`, which enabled nothing); see the module !! docstring. real(wp), intent(in) :: x real(wp) :: y y = exp(x) end function safe_exp