

            dble$m (2) --- create a longreal from a longint          04/27/83


          | _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n

          |      longreal function dble$m (l)
          |      longint l

          |      Library: vswtmath (Subsystem mathematical library)


          | _F_u_n_c_t_i_o_n

          |      The  'dble$m'  function  implements  something  akin  to the
          |      Fortran 66 'dble' function, or the Fortran 77 'dreal'  func-
          |      tion.   It takes as an argument a 32 bit integer and returns
          |      a double precision floating point number of the same  value.
          |      This  function  should always be used when converting 32 bit
          |      integers to double precision real numbers because  the  code
          |      generated  by  some of the compilers will (potentially) lose
          |      up to 8 bits of mantissa precision.


          | _I_m_p_l_e_m_e_n_t_a_t_i_o_n

          |      The algorithm  involved  was  derived  from  known  register
          |      structure; see the source code for specifics.


          | _S_e_e _A_l_s_o

          |      _S_W_T _M_a_t_h _L_i_b_r_a_r_y _U_s_e_r_'_s _G_u_i_d_e





























            dble$m (2)                    - 1 -                    dble$m (2)


