dint$m (2) --- get integer part of an longreal 04/27/83 | _C_a_l_l_i_n_g _I_n_f_o_r_m_a_t_i_o_n | longreal function dint$m (x) | longreal x | Library: vswtmath (Subsystem mathematical library) | _F_u_n_c_t_i_o_n | The 'dint$m' function implements the Fortran 'dint' func- | tion. That is, it takes one double precision value and | resets bits in the mantissa to remove any fractional part of | the value. The return value is a double precision real. | The 'dint$m' of 1.5 is 1.0, the 'dint$m' of -1.5 is -1.0, | and the 'dint$m' of anything less than 1.0 and greater than | -1.0 is equal to zero. | The 'dint$m' function has no single precision counterpart in | the SWT Math library. The routine, as defined, does not | recognize or signal any error conditions. It is written so | as to work of both 550 and 750 style machines, despite the | internal difference in register structure. | _I_m_p_l_e_m_e_n_t_a_t_i_o_n | The algorithm involved was developed 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 dint$m (2) - 1 - dint$m (2)