Returns the negative floating-point value -|X| .
Parameters
Result Type and Attributes
Same as X.
Results
The result is a negative floating-point value of X, -|X|.
Examples
In the following example, the absolute content of a floating-point variable is negated.
REAL(4) :: A, RES1 REAL(8) :: D, RES2 RES1 = FNABS(A) RES2 = FNABS(D)