qreal32 + qreal128 operator.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(qreal32), | intent(in) | :: | lhs | Left hand side. |
||
| type(qreal128), | intent(in) | :: | rhs | Right hand side. |
Operator result.
function qreal32_add_qreal128(lhs, rhs) result(opr)
!---------------------------------------------------------------------------------------------------------------------------------
!< `qreal32 + qreal128` operator.
!---------------------------------------------------------------------------------------------------------------------------------
type(qreal32), intent(in) :: lhs !< Left hand side.
type(qreal128), intent(in) :: rhs !< Right hand side.
type(qreal128) :: opr !< Operator result.
!---------------------------------------------------------------------------------------------------------------------------------
!---------------------------------------------------------------------------------------------------------------------------------
opr = lhs
opr = opr + rhs
!---------------------------------------------------------------------------------------------------------------------------------
endfunction qreal32_add_qreal128