home *** CD-ROM | disk | FTP | other *** search
- SCALE(3I) Last changed: 3-2-98
-
-
- NNAAMMEE
- SSCCAALLEE - Returns (_x)(_b**_i), where _b is the base in the real number
- model representation of _x
-
- SSYYNNOOPPSSIISS
- SSCCAALLEE (([XX==]_x,, [II==]_i))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk, and IRIX systems
-
- SSTTAANNDDAARRDDSS
- Fortran 90
-
- DDEESSCCRRIIPPTTIIOONN
- The SSCCAALLEE intrinsic function returns
- _i
- (_x)(_b ), where _b is the base in the real number model representation
- of _x. For more information on the real number model, see the
- MMOODDEELLSS(3I) man page. It accepts the following arguments:
-
- _x Must be of type real
-
- _i Must be of type integer
-
- SSCCAALLEE is an elemental function. The name of this intrinsic cannot be
- passed as an argument.
-
- NNOOTTEESS
- This routine is implemented on CRAY T90 systems that support IEEE
- arithmetic by calls to scalar-only library routines.
-
- RREETTUURRNN VVAALLUUEESS
- The result type and type parameter are the same as _x. The result has
- the value
- _i
- (_x)(_b ), where _b is defined in the model for real numbers representing
- values of _x, provided that this result is within range. Argument _i
- should be within the range of MMIINNEEXXPPOONNEENNTT((_x)) <= _i <= MMAAXXEEXXPPOONNEENNTT((_x)).
- If _i is outside this range, the results are unpredictable.
-
- EEXXAAMMPPLLEESS
- SSCCAALLEE ((33..00,, 22)) has the value 12.0 for reals.
-
- SSEEEE AALLSSOO
- MMOODDEELLSS(3I)
-
- _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
- printed version of this man page.
-