Searched refs:pow_2 (Results 1 – 3 of 3) sorted by relevance
/haiku/src/libs/mapm/ |
H A D | mapm_cpi.c | 112 M_APM tmp1, tmp2, a0, b0, c0, a1, b1, sum, pow_2; in M_calculate_PI_AGM() local 123 pow_2 = M_get_stack_var(); in M_calculate_PI_AGM() 129 m_apm_copy(pow_2, MM_Four); in M_calculate_PI_AGM() 152 m_apm_multiply(tmp2, tmp1, pow_2); in M_calculate_PI_AGM() 162 m_apm_multiply(tmp1, pow_2, MM_Two); in M_calculate_PI_AGM() 163 m_apm_copy(pow_2, tmp1); in M_calculate_PI_AGM()
|
H A D | mapm_lg3.c | 165 M_APM tmp1, tmp2, tmp3, tmp4, tmpC2, sum, pow_2, tmpA0, tmpB0; in M_log_AGM_R_func() local 176 pow_2 = M_get_stack_var(); in M_log_AGM_R_func() 183 m_apm_copy(pow_2, MM_0_5); in M_log_AGM_R_func() 208 m_apm_multiply(tmp2, MM_Two, pow_2); in M_log_AGM_R_func() 209 m_apm_copy(pow_2, tmp2); in M_log_AGM_R_func() 211 m_apm_multiply(tmp1, tmpC2, pow_2); in M_log_AGM_R_func()
|
H A D | mapm_gcd.c | 65 long pow_2; in m_apm_gcd() local 177 pow_2 = 1L << kr; in m_apm_gcd() 181 m_apm_set_long(tmpN, pow_2); in m_apm_gcd() 204 m_apm_set_long(tmpM, pow_2); in m_apm_gcd()
|