Debian Codegraph @

packages/seacas/applications/algebra/ag_mysign.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 C=======================================================================
7 REAL FUNCTION MYSIGN (PARM1, PARM2)
8 C=======================================================================
9
10 C --*** MYSIGN *** (ALGEBRA) Maximum function
11 C -- Written by Amy Gilkey - revised 07/24/87
12 C --
13 C --MYSIGN returns the maximum of two real numbers. This is a function
14 C --so that it can be passed to DOFNC2
15 c (SIGN intrinsic cannot be passed on SGI IRIX 5.1).
16 C --
17 C --Parameters:
18 C -- PARM1, PARM2 - IN - the maximum parameters
19
20 MYSIGN = SIGN (PARM1, PARM2)
21
22 RETURN
23 END