home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / f90 / max.z / max
Encoding:
Text File  |  2002-10-03  |  3.2 KB  |  80 lines

  1. MAX(3I)                                               Last changed: 4-13-99
  2.  
  3.  
  4. NNAAMMEE
  5.      MMAAXX, MMAAXX00, AAMMAAXX11, DDMMAAXX11, QQMMAAXX11, MMAAXX11, AAMMAAXX00 - Returns maximum values
  6.  
  7. SSYYNNOOPPSSIISS
  8.      MMAAXX00 (([AA11==]_a_1,, [AA22==]_a_2 [,,[AA33==]_a_3] ... ))
  9.  
  10.      AAMMAAXX11 (([AA11==]_a_1,, [AA22==]_a_2 [,,[AA33==]_a_3] ... ))
  11.  
  12.      DDMMAAXX11 (([AA11==]_a_1,, [AA22==]_a_2 [,,[AA33==]_a_3] ... ))
  13.  
  14.      QQMMAAXX11 (([AA11==]_a_1,, [AA22==]_a_2 [,,[AA33==]_a_3] ... ))
  15.  
  16.      MMAAXX11 (([AA11==]_a_1,, [AA22==]_a_2 [,,[AA33==]_a_3] ... ))
  17.  
  18.      AAMMAAXX00 (([AA11==]_a_1,, [AA22==]_a_2 [,,[AA33==]_a_3] ... ))
  19.  
  20. IIMMPPLLEEMMEENNTTAATTIIOONN
  21.      UNICOS, UNICOS/mk, IRIX systems
  22.  
  23.      CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77
  24.  
  25. SSTTAANNDDAARRDDSS
  26.      Fortran
  27.  
  28.      Fortran extension:  QQMMAAXX11
  29.  
  30. DDEESSCCRRIIPPTTIIOONN
  31.      The MMAAXX, MMAAXX00, AAMMAAXX11, DDMMAAXX11, QQMMAAXX11, MMAAXX11, and AAMMAAXX00 intrinsic
  32.      functions determine maximum values.  MMAAXX is the generic name; the
  33.      others are specifics.  They accept the following arguments:
  34.  
  35.      _a_1,, _a_2,, _a_3,, ......
  36.           The arguments must be all of type real or all of type integer.
  37.           All arguments must have the same data type.
  38.  
  39.           The kind types of the arguments can differ.  This is an extension
  40.           to the Fortran standard.
  41.  
  42.      These are elemental intrinsic functions.  The names of these
  43.      intrinsics cannot be passed as arguments.
  44.  
  45. NNOOTTEESS
  46.      On UNICOS systems, both execution speed and the number of bits used in
  47.      mathematical operations are affected when compiling with
  48.      ff9900 --OO ffaassttiinntt, which is the default setting.  For more information,
  49.      see _C_F_9_0 _C_o_m_m_a_n_d_s _a_n_d _D_i_r_e_c_t_i_v_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l.
  50.  
  51. RREETTUURRNN VVAALLUUEESS
  52.      The value of the result is that of the largest argument.
  53.  
  54.      MMAAXX accepts type real or integer and returns a result with the same
  55.      type and kind type as its arguments.
  56.  
  57.      MMAAXX00 accepts and returns type integer.
  58.  
  59.      AAMMAAXX11 accepts and returns type single-precision real.
  60.  
  61.      DDMMAAXX11 accepts and returns type double-precision real.
  62.  
  63.      QQMMAAXX11 accepts and returns type quad-precision real.
  64.  
  65.      MMAAXX11 accepts type real and returns type default integer.
  66.  
  67.      AAMMAAXX00 accepts type integer and returns type default real.
  68.  
  69.      The data type and kind type for single-precision, double-precision,
  70.      and quad-precision values differ depending on your platform.  For
  71.      platform-specific information, see the TERMINOLOGY section of the
  72.      IINNTTRROO__IINNTTRRIINN(3I) man page.
  73.  
  74. EEXXAAMMPPLLEESS
  75.      MMAAXX((--99..00,, 77..00,, 22..00)) has the value 7.0.
  76.  
  77. SSEEEE AALLSSOO
  78.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
  79.      man page.
  80.