You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
871 B
24 lines
871 B
2 years ago
|
C Copyright(C) 1999-2020 National Technology & Engineering Solutions
|
||
|
C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
|
||
|
C NTESS, the U.S. Government retains certain rights in this software.
|
||
|
C
|
||
|
C See packages/seacas/LICENSE for details
|
||
|
C=======================================================================
|
||
|
REAL FUNCTION MYSIGN (PARM1, PARM2)
|
||
|
C=======================================================================
|
||
|
|
||
|
C --*** MYSIGN *** (ALGEBRA) Maximum function
|
||
|
C -- Written by Amy Gilkey - revised 07/24/87
|
||
|
C --
|
||
|
C --MYSIGN returns the maximum of two real numbers. This is a function
|
||
|
C --so that it can be passed to DOFNC2
|
||
|
c (SIGN intrinsic cannot be passed on SGI IRIX 5.1).
|
||
|
C --
|
||
|
C --Parameters:
|
||
|
C -- PARM1, PARM2 - IN - the maximum parameters
|
||
|
|
||
|
MYSIGN = SIGN (PARM1, PARM2)
|
||
|
|
||
|
RETURN
|
||
|
END
|