HP Fortran Programmer's Reference (September 2007)

Intrinsic procedures
Intrinsic procedure specifications
Chapter 11600
Result type/
type parameters
Integer. If KIND is present, the kind type parameter is that specified by KIND; otherwise, the
kind type parameter is that of default integer type.
Result value
If A>0, NINT(A) has the value INT(A+0.5);ifA <= 0, NINT(A) has the value INT(A–0.5). The
result is undefined if the processor cannot represent the result in the specified integer type.
Specific forms
IDNINT, IIDNNT,IIQNNT, ININT, IQNINT, JIDNNT,JIQNNT, JNINT, KIDNNT, KIQNNT, KNINT.
NOT(I)
Description
Performs a bitwise logical complement.
Class
Elemental function.
Argument
I must be of type integer.
Result type/
type parameters
Same as I.
Result value
The result has the value obtained by complementing I bit-by-bit according to the following
truth table:
Table 11-10 Truth table for NOT intrinsic
I NOT(I)
10