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