Home
last modified time | relevance | path

Searched refs:tmp8 (Results 1 – 10 of 10) sorted by relevance

/haiku/src/libs/mapm/
H A Dmapmcbrt.c57 M_APM last_x, guess, tmpN, tmp7, tmp8, tmp9; in m_apm_cbrt() local
72 tmp8 = M_get_stack_var(); in m_apm_cbrt()
108 m_apm_multiply(tmp8, guess, guess); in m_apm_cbrt()
109 m_apm_multiply(tmp7, tmp8, tmp8); in m_apm_cbrt()
110 m_apm_round(tmp8, local_precision, tmp7); in m_apm_cbrt()
111 m_apm_multiply(tmp9, tmpN, tmp8); in m_apm_cbrt()
113 m_apm_multiply(tmp8, MM_Four, guess); in m_apm_cbrt()
114 m_apm_subtract(tmp7, tmp8, tmp9); in m_apm_cbrt()
124 m_apm_subtract(tmp8, guess, last_x); in m_apm_cbrt()
126 if (tmp8->m_apm_sign == 0) in m_apm_cbrt()
[all …]
H A Dmapm5sin.c64 M_APM tmp8, tmp9; in M_5x_sin() local
66 tmp8 = M_get_stack_var(); in M_5x_sin()
70 M_raw_sin(tmp8, (places + 6), tmp9); in M_5x_sin()
71 M_5x_do_it(tmp9, (places + 4), tmp8); in M_5x_sin()
72 M_5x_do_it(tmp8, (places + 4), tmp9); in M_5x_sin()
73 M_5x_do_it(r, places, tmp8); in M_5x_sin()
80 M_APM tmp8, tmp9; in M_4x_cos() local
82 tmp8 = M_get_stack_var(); in M_4x_cos()
93 M_raw_cos(tmp8, (places + 8), tmp9); in M_4x_cos()
94 M_4x_do_it(tmp9, (places + 8), tmp8); in M_4x_cos()
[all …]
H A Dmapmrsin.c65 M_APM sum, term, tmp2, tmp7, tmp8; in M_raw_sin() local
73 tmp8 = M_get_stack_var(); in M_raw_sin()
77 m_apm_multiply(tmp8, xx, xx); in M_raw_sin()
78 m_apm_round(tmp2, (places + 6), tmp8); in M_raw_sin()
88 m_apm_multiply(tmp8, term, tmp2); in M_raw_sin()
90 if ((tmp8->m_apm_exponent < tolerance) || (tmp8->m_apm_sign == 0)) in M_raw_sin()
101 m_apm_divide(term, local_precision, tmp8, tmp7); in M_raw_sin()
129 M_APM sum, term, tmp7, tmp8, tmp9; in M_raw_cos() local
136 tmp8 = M_get_stack_var(); in M_raw_cos()
142 m_apm_multiply(tmp8, xx, xx); in M_raw_cos()
[all …]
H A Dmapmsqrt.c92 M_APM last_x, guess, tmpN, tmp7, tmp8, tmp9; in m_apm_sqrt() local
110 tmp8 = M_get_stack_var(); in m_apm_sqrt()
143 m_apm_multiply(tmp8, tmp9, guess); in m_apm_sqrt()
144 m_apm_round(tmp7, dplaces, tmp8); in m_apm_sqrt()
146 m_apm_multiply(tmp8, tmp9, guess); in m_apm_sqrt()
147 m_apm_multiply(tmp9, tmp8, MM_0_5); in m_apm_sqrt()
184 m_apm_multiply(tmp8, tmp9, tmpN); in m_apm_sqrt()
185 m_apm_round(rr, places, tmp8); in m_apm_sqrt()
H A Dmapm_exp.c162 M_APM tmp7, tmp8, tmp9; in m_apm_exp() local
177 tmp8 = M_get_stack_var(); in m_apm_exp()
228 m_apm_multiply(tmp8, tmp7, MM_lc_log2); in m_apm_exp()
229 m_apm_subtract(tmp7, x, tmp8); in m_apm_exp()
247 m_apm_subtract(tmp8, tmp7, MM_lc_log2); in m_apm_exp()
248 m_apm_copy(tmp7, tmp8); in m_apm_exp()
253 m_apm_add(tmp8, tmp7, MM_lc_log2); in m_apm_exp()
254 m_apm_copy(tmp7, tmp8); in m_apm_exp()
262 M_raw_exp(tmp8, dplaces, tmp9); in m_apm_exp()
274 m_apm_multiply(tmp9, tmp8, tmp8); in m_apm_exp()
[all …]
H A Dmapm_sin.c152 M_APM tmp7, tmp8, tmp9; in M_limit_angle_to_pi() local
162 tmp8 = M_get_stack_var(); in M_limit_angle_to_pi()
166 m_apm_multiply(tmp8, tmp9, MM_lc_2_PI); in M_limit_angle_to_pi()
167 m_apm_subtract(tmp9, aa, tmp8); in M_limit_angle_to_pi()
178 tmp8 = M_get_stack_var(); in M_limit_angle_to_pi()
182 m_apm_multiply(tmp8, tmp9, MM_lc_2_PI); in M_limit_angle_to_pi()
183 m_apm_subtract(tmp9, aa, tmp8); in M_limit_angle_to_pi()
H A Dmapm_pow.c87 M_APM tmp8, tmp9; in m_apm_pow() local
141 tmp8 = M_get_stack_var(); in m_apm_pow()
174 m_apm_multiply(tmp8, tmp9, yy); in m_apm_pow()
175 m_apm_exp(rr, places, tmp8); in m_apm_pow()
H A Dmapm_log.c132 M_APM tmp8, tmp9; in m_apm_log10() local
134 tmp8 = M_get_stack_var(); in m_apm_log10()
141 m_apm_multiply(tmp8, tmp9, MM_lc_log10R); in m_apm_log10()
142 m_apm_round(rr, places, tmp8); in m_apm_log10()
H A Dmapm_lg3.c85 M_APM tmp6, tmp7, tmp8, tmp9; in M_check_log_places() local
96 tmp8 = M_get_stack_var(); in M_check_log_places()
104 M_log_AGM_R_func(tmp8, dplaces, MM_One, tmp7); in M_check_log_places()
110 m_apm_subtract(MM_lc_log2, tmp9, tmp8); /* log(2) */ in M_check_log_places()
116 m_apm_subtract(MM_lc_log10, tmp9, tmp8); /* log(10) */ in M_check_log_places()
H A Dmapmasin.c204 M_APM tmp8, tmp9; in m_apm_arctan() local
224 tmp8 = M_get_stack_var(); in m_apm_arctan()
228 m_apm_add(tmp8, tmp9, MM_One); in m_apm_arctan()
229 m_apm_sqrt(tmp9, (places + 6), tmp8); in m_apm_arctan()
230 m_apm_divide(tmp8, (places + 6), xx, tmp9); in m_apm_arctan()
231 m_apm_arcsin(rr, places, tmp8); in m_apm_arctan()