Floating-point Negative Multiply and Subtract
Returns the result of a floating-point negative multiply-subtract.
Parameters
Result Type and Attributes
Same as A, X, and Y.
Results
The result has a value equal to -(A*X - Y).
Examples
In the following example, the result of FNMSUB is of type REAL(4). It is converted to REAL(8) and then assigned to RES.
REAL(4) :: A, B, C REAL(8) :: RES RES = FNMSUB(A, B, C) END