Apply the Fortran SIGN intrinsic to hyperdual operands.
Selects the sign from primal values and propagates the selected magnitude.
y = sign(x, sign_source)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(hyperdual), | intent(in) | :: | v1 |
First input operand. |
||
| type(hyperdual), | intent(in) | :: | v2 |
Second input operand. |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=pr), | public | :: | ssign |