Bigq operators              package:gmp              R Documentation

_B_a_s_i_c _a_r_i_t_h_m_e_t_i_c _o_p_e_r_a_t_o_r_s _f_o_r _l_a_r_g_e _r_a_t_i_o_n_a_l_s

_D_e_s_c_r_i_p_t_i_o_n:

     Addition, substraction, multiplication, division.

_U_s_a_g_e:

     add.bigq(a, b)
     sub.bigq(a, b=NULL)
     mul.bigq(a, b)
     div.bigq(a, b)
     abs.bigq(x)

_A_r_g_u_m_e_n_t_s:

   a,b,x: bigq, integer or string from an integer

     ...: Additional parameters

_D_e_t_a_i_l_s:

     Operators can be use directly when objects are of class bigq: a +
     b, a * b, etc.

_V_a_l_u_e:

     A bigq class representing the result of the arithmetic operation.

_A_u_t_h_o_r(_s):

     Immanuel Scholz and Antoine Lucas

_R_e_f_e_r_e_n_c_e_s:

     http://mulcyber.toulouse.inra.fr/projects/gmp/

_E_x_a_m_p_l_e_s:

     # 1/3+1=4/3
     as.bigq(1,3) + 1

