For example,
SUBROUTINE DoSomething (Z,L)
IMPLICIT DOUBLE PRECISION (A-H,O-Z)
D=Z*77.1234567D0
L=D
RETURN
END
And for talking purposes, let us assume D is equal to -1.5, would in this case L be equals to -1 or -2. In other words, does it round up or round down?
Thanks in advance.
Conversion to an integer type for assignment follows use of the intrinsic function
int. The effect is defined as (F2008 13.7.81)In this case, then,
Lwill take the value-1.