

            seed$m (2) --- set the seed for the rand$m random number generator  04/27/83


          | _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n

          |      subroutine seed$m (u)
          |      untyped u

          |      Library: vswtmath (Subsystem mathematical library)


          | _F_u_n_c_t_i_o_n

          |      The  'seed$m'  procedure  is used to reset the pseudo-random
          |      number generator to a known state.  It is called with any  4
          |      byte  value which is not equal to 32 bits of zero.  The seed
          |      can therefore be  4  characters,  a  long  pointer,  a  long
          |      integer,  or  a  real  number.  If the input is identical to
          |      zero then the SWT_MATH_ERROR$ condition is  signalled.   The
          |      condition  SWT_MATH_ERROR$  is  signalled  if  there  is  an
          |      argument error.  An on-unit can be established to deal  with
          |      this  error; the SWT Math Library contains a default handler
          |      named 'err$m' which the user may utilize.  'Seed$m' does not
          |      return a value.


          | _I_m_p_l_e_m_e_n_t_a_t_i_o_n

          |      Based on the structure of  the  'rand$m'  routine;  see  the
          |      source for specific details.


          | _C_a_l_l_s

          |      Primos signl$


          | _S_e_e _A_l_s_o

          |      err$m (2), rand$m (2),
          |      _S_W_T _M_a_t_h _L_i_b_r_a_r_y _U_s_e_r_'_s _G_u_i_d_e




















            seed$m (2)                    - 1 -                    seed$m (2)


