home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / f90 / scale.z / scale
Encoding:
Text File  |  1998-10-30  |  1.9 KB  |  52 lines

  1. SCALE(3I)                                              Last changed: 3-2-98
  2.  
  3.  
  4. NNAAMMEE
  5.      SSCCAALLEE - Returns (_x)(_b**_i), where _b is the base in the real number
  6.      model representation of _x
  7.  
  8. SSYYNNOOPPSSIISS
  9.      SSCCAALLEE (([XX==]_x,, [II==]_i))
  10.  
  11. IIMMPPLLEEMMEENNTTAATTIIOONN
  12.      UNICOS, UNICOS/mk, and IRIX systems
  13.  
  14. SSTTAANNDDAARRDDSS
  15.      Fortran 90
  16.  
  17. DDEESSCCRRIIPPTTIIOONN
  18.      The SSCCAALLEE intrinsic function returns
  19.           _i
  20.      (_x)(_b ), where _b is the base in the real number model representation
  21.      of _x.  For more information on the real number model, see the
  22.      MMOODDEELLSS(3I) man page.  It accepts the following arguments:
  23.  
  24.      _x    Must be of type real
  25.  
  26.      _i    Must be of type integer
  27.  
  28.      SSCCAALLEE is an elemental function.  The name of this intrinsic cannot be
  29.      passed as an argument.
  30.  
  31. NNOOTTEESS
  32.      This routine is implemented on CRAY T90 systems that support IEEE
  33.      arithmetic by calls to scalar-only library routines.
  34.  
  35. RREETTUURRNN VVAALLUUEESS
  36.      The result type and type parameter are the same as _x.  The result has
  37.      the value
  38.           _i
  39.      (_x)(_b ), where _b is defined in the model for real numbers representing
  40.      values of _x, provided that this result is within range.  Argument _i
  41.      should be within the range of MMIINNEEXXPPOONNEENNTT((_x)) <= _i <= MMAAXXEEXXPPOONNEENNTT((_x)).
  42.      If _i is outside this range, the results are unpredictable.
  43.  
  44. EEXXAAMMPPLLEESS
  45.      SSCCAALLEE ((33..00,, 22)) has the value 12.0 for reals.
  46.  
  47. SSEEEE AALLSSOO
  48.      MMOODDEELLSS(3I)
  49.  
  50.      _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, publication SR-2138, for the
  51.      printed version of this man page.
  52.