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 / ibset.z / ibset
Encoding:
Text File  |  2002-10-03  |  2.2 KB  |  57 lines

  1. IBSET(3I)                                             Last changed: 4-13-99
  2.  
  3.  
  4. NNAAMMEE
  5.      IIBBSSEETT, IIIIBBSSEETT, JJIIBBSSEETT, KKIIBBSSEETT - Sets one bit
  6.  
  7. SSYYNNOOPPSSIISS
  8.      IIBBSSEETT (([II==]_i,, [PPOOSS==]_p_o_s))
  9.      IIIIBBSSEETT (([II==]_i,, [PPOOSS==]_p_o_s))
  10.      JJIIBBSSEETT (([II==]_i,, [PPOOSS==]_p_o_s))
  11.      KKIIBBSSEETT (([II==]_i,, [PPOOSS==]_p_o_s))
  12.  
  13. IIMMPPLLEEMMEENNTTAATTIIOONN
  14.      UNICOS, UNICOS/mk, IRIX systems
  15.  
  16.      CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77
  17.  
  18. SSTTAANNDDAARRDDSS
  19.      Fortran
  20.  
  21.      Fortran extensions:  IIIIBBSSEETT, JJIIBBSSEETT, KKIIBBSSEETT
  22.  
  23. DDEESSCCRRIIPPTTIIOONN
  24.      The IIBBSSEETT, IIIIBBSSEETT, JJIIBBSSEETT, and KKIIBBSSEETT intrinsic functions set one bit
  25.      to 1.  They accepts the following arguments:
  26.  
  27.      _i         Must be of type integer.  For IIIIBBSSEETT, must be of type
  28.                integer (KIND=2).  For JJIIBBSSEETT, must be of type integer
  29.                (KIND=4).  For KKIIBBSSEETT, must be of type integer (KIND=8).
  30.  
  31.      _p_o_s       Must be of type integer.  It must be nonnegative and less
  32.                than BBIITT__SSIIZZEE (_i).
  33.  
  34.      These are elemental intrinsic functions.  The names of these
  35.      intrinsics cannot be passed as arguments.
  36.  
  37. RREETTUURRNN VVAALLUUEESS
  38.      The result type and type parameter are the same as _i.  The result has
  39.      the value of the sequence of bits of _i, except that bit _p_o_s of _i is
  40.      set to one.
  41.  
  42.      The bit model defines the interpretation of an integer value as a
  43.      sequence of bits.  For more information on the bit model, see the
  44.      MMOODDEELLSS(3I) man page.
  45.  
  46. EEXXAAMMPPLLEESS
  47.      IIBBSSEETT((1122,,11)) has the value 14.
  48.  
  49.      If VV has the value [1, 2, 3, 4], the value of IIBBSSEETT((PPOOSS==VV,,II==00)) is [2,
  50.      4, 8, 16].
  51.  
  52. SSEEEE AALLSSOO
  53.      MMOODDEELLSS(3I)
  54.  
  55.      _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
  56.      man page.
  57.