Debian Codegraph @

packages/seacas/libraries/plt/pltitl.f

raw
1 C Copyright(C) 1999-2020 National Technology & Engineering Solutions
2 C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
3 C NTESS, the U.S. Government retains certain rights in this software.
4 C
5 C See packages/seacas/LICENSE for details
6
7 C=======================================================================
8 INTEGER FUNCTION PLTITL(REALN)
9
10 IF (PLTFRC(REALN).EQ.0.) THEN
11 PLTITL = INT(REALN)
12 RETURN
13
14 END IF
15
16 AREAL = ABS(REALN)
17 PLTITL = INT(AREAL)
18 IF (REALN.LT.0.) THEN
19 PLTITL = -PLTITL - 1
20 END IF
21
22 RETURN
23
24 END