/haiku/src/libs/mapm/ |
H A D | m_apm_lc.h | 3 * M_APM - m_apm_lc.h 318 extern M_APM MM_0_5; 319 extern M_APM MM_0_85; 320 extern M_APM MM_5x_125R; 321 extern M_APM MM_5x_64R; 322 extern M_APM MM_5x_256R; 323 extern M_APM MM_5x_Eight; 324 extern M_APM MM_5x_Sixteen; 325 extern M_APM MM_5x_Twenty; 326 extern M_APM MM_lc_P [all...] |
H A D | mapmcnst.c | 3 * M_APM - mapmcnst.c 109 M_APM MM_Zero = NULL; 110 M_APM MM_One = NULL; 111 M_APM MM_Two = NULL; 112 M_APM MM_Three = NULL; 113 M_APM MM_Four = NULL; 114 M_APM MM_Five = NULL; 115 M_APM MM_Ten = NULL; 116 M_APM MM_0_5 = NULL; 117 M_APM MM_ [all...] |
H A D | mapmstck.c | 3 * M_APM - mapmstck.c 25 * local M_APM variables. 71 static M_APM *M_stack_array; 91 M_APM M_get_stack_var() 100 if ((vp = MAPM_MALLOC(M_stack_size * sizeof(M_APM))) == NULL) 107 M_stack_array = (M_APM *)vp; 114 (M_stack_size * sizeof(M_APM)))) == NULL) 121 M_stack_array = (M_APM *)vp;
|
H A D | mapm_sin.c | 3 * M_APM - mapm_sin.c 85 void m_apm_sin(M_APM r, int places, M_APM a) 87 M_APM tmp3; 95 void m_apm_cos(M_APM r, int places, M_APM a) 97 M_APM tmp3; 105 void m_apm_sin_cos(M_APM sinv, M_APM cosv, int places, M_APM a [all...] |
H A D | mapmhsin.c | 3 * M_APM - mapmhsin.c 46 void m_apm_sinh(M_APM rr, int places, M_APM aa) 48 M_APM tmp1, tmp2, tmp3; 69 void m_apm_cosh(M_APM rr, int places, M_APM aa) 71 M_APM tmp1, tmp2, tmp3; 92 void m_apm_tanh(M_APM rr, int places, M_APM aa) 94 M_APM tmp [all...] |
H A D | mapmgues.c | 3 * M_APM - mapmgues.c 93 void M_get_sqrt_guess(M_APM r, M_APM a) 112 void M_get_cbrt_guess(M_APM r, M_APM a) 123 void M_get_log_guess(M_APM r, M_APM a) 138 void M_get_asin_guess(M_APM r, M_APM a) 148 void M_get_acos_guess(M_APM [all...] |
H A D | mapmhasn.c | 3 * M_APM - mapmhasn.c 58 void m_apm_arcsinh(M_APM rr, int places, M_APM aa) 60 M_APM tmp0, tmp1, tmp2; 91 void m_apm_arccosh(M_APM rr, int places, M_APM aa) 93 M_APM tmp1, tmp2; 122 void m_apm_arctanh(M_APM rr, int places, M_APM aa) 124 M_APM tmp [all...] |
H A D | mapm_flr.c | 3 * M_APM - mapm_flr.c 55 void m_apm_floor(M_APM bb, M_APM aa) 57 M_APM mtmp; 96 void m_apm_ceil(M_APM bb, M_APM aa) 98 M_APM mtmp;
|
H A D | mapm_log.c | 3 * M_APM - mapm_log.c 129 void m_apm_log10(M_APM rr, int places, M_APM aa) 132 M_APM tmp8, tmp9; 146 void m_apm_log(M_APM r, int places, M_APM a) 148 M_APM tmp0, tmp1, tmp2;
|
H A D | mapm_pow.c | 3 * M_APM - mapm_pow.c 61 static M_APM M_last_xx_input; 62 static M_APM M_last_xx_log; 83 void m_apm_pow(M_APM rr, int places, M_APM xx, M_APM yy) 87 M_APM tmp8, tmp9;
|
H A D | mapm5sin.c | 3 * M_APM - mapm5sin.c 62 void M_5x_sin(M_APM r, int places, M_APM x) 64 M_APM tmp8, tmp9; 78 void M_4x_cos(M_APM r, int places, M_APM x) 80 M_APM tmp8, tmp9; 116 void M_5x_do_it(M_APM rr, int places, M_APM xx) 118 M_APM tmp [all...] |
H A D | mapm_div.c | 3 * M_APM - mapm_div.c 67 static M_APM M_div_worka; 68 static M_APM M_div_workb; 69 static M_APM M_div_tmp7; 70 static M_APM M_div_tmp8; 71 static M_APM M_div_tmp9; 90 void m_apm_integer_div_rem(M_APM qq, M_APM rr, M_APM aa, M_APM b [all...] |
H A D | mapmutl2.c | 3 * M_APM - mapmutl2.c 52 int m_apm_sign(M_APM atmp) 57 int m_apm_exponent(M_APM atmp) 65 int m_apm_significant_digits(M_APM atmp) 70 int m_apm_is_integer(M_APM atmp) 81 int m_apm_is_even(M_APM aa) 112 int m_apm_is_odd(M_APM bb) 120 void M_set_to_zero(M_APM z) 128 void m_apm_negate(M_APM d, M_APM [all...] |
H A D | mapm_rnd.c | 3 * M_APM - mapm_rnd.c 83 extern void M_get_rnd_seed(M_APM); 85 static M_APM M_rnd_aa; 86 static M_APM M_rnd_mm; 87 static M_APM M_rnd_XX; 88 static M_APM M_rtmp0; 89 static M_APM M_rtmp1; 172 M_APM btmp; 187 void m_apm_get_random(M_APM mrnd) 247 void M_get_rnd_seed(M_APM m [all...] |
H A D | mapm_rcp.c | 3 * M_APM - mapm_rcp.c 52 void m_apm_divide(M_APM rr, int places, M_APM aa, M_APM bb) 54 M_APM tmp0, tmp1; 101 void m_apm_reciprocal(M_APM rr, int places, M_APM aa) 103 M_APM last_x, guess, tmpN, tmp1, tmp2;
|
H A D | mapmasn0.c | 3 * M_APM - mapmasn0.c 65 void M_arcsin_near_0(M_APM rr, int places, M_APM aa) 67 M_APM tmp5, tmp6; 85 void M_arccos_near_0(M_APM rr, int places, M_APM aa) 87 M_APM tmp1, tmp2; 108 void M_arctan_near_0(M_APM rr, int places, M_APM aa) 110 M_APM tmp [all...] |
H A D | mapm_gcd.c | 3 * M_APM - mapm_gcd.c 61 void m_apm_gcd(M_APM r, M_APM u, M_APM v) 63 M_APM tmpM, tmpN, tmpT, tmpU, tmpV; 221 void m_apm_lcm(M_APM r, M_APM u, M_APM v) 223 M_APM tmpN, tmpG; 256 void m_apm_gcd_traditional(M_APM [all...] |
H A D | mapmipwr.c | 3 * M_APM - mapmipwr.c 49 void m_apm_integer_pow(M_APM rr, int places, M_APM aa, int mexp) 51 M_APM tmp0, tmpy, tmpz;
|
H A D | mapmpwr2.c | 3 * M_APM - mapmpwr2.c 47 void m_apm_integer_pow_nr(M_APM rr, M_APM aa, int mexp) 49 M_APM tmp0, tmpy, tmpz;
|
H A D | mapm_lg2.c | 3 * M_APM - mapm_lg2.c 70 void M_log_solve_cubic(M_APM rr, int places, M_APM nn) 72 M_APM tmp0, tmp1, tmp2, tmp3, guess; 150 void M_log_basic_iteration(M_APM rr, int places, M_APM nn) 152 M_APM tmp0, tmp1, tmp2, tmpX;
|
H A D | mapm_mul.c | 3 * M_APM - mapm_mul.c 81 extern void M_fast_multiply(M_APM, M_APM, M_APM); 84 void m_apm_multiply(M_APM r, M_APM a, M_APM b)
|
H A D | mapm_exp.c | 3 * M_APM - mapm_exp.c 144 static M_APM MM_exp_log2R; 145 static M_APM MM_exp_512R; 160 void m_apm_exp(M_APM r, int places, M_APM x) 162 M_APM tmp7, tmp8, tmp9; 293 M_APM b = MAPM version of *n 298 int M_exp_compute_nn(int *n, M_APM b, M_APM a) 300 M_APM tmp [all...] |
H A D | mapmasin.c | 3 * M_APM - mapmasin.c 122 void m_apm_arctan2(M_APM rr, int places, M_APM yy, M_APM xx) 124 M_APM tmp5, tmp6, tmp7; 202 void m_apm_arctan(M_APM rr, int places, M_APM xx) 204 M_APM tmp8, tmp9; 244 void M_arctan_large_input(M_APM rr, int places, M_APM x [all...] |
H A D | mapmrsin.c | 3 * M_APM - mapmrsin.c 63 void M_raw_sin(M_APM rr, int places, M_APM xx) 65 M_APM sum, term, tmp2, tmp7, tmp8; 127 void M_raw_cos(M_APM rr, int places, M_APM xx) 129 M_APM sum, term, tmp7, tmp8, tmp9;
|
/haiku/headers/libs/mapm/ |
H A D | m_apm.h | 3 * M_APM - m_apm.h 60 * change definition of the M_APM structure 183 typedef M_APM_struct *M_APM; typedef 195 extern M_APM MM_Zero; 196 extern M_APM MM_One; 197 extern M_APM MM_Two; 198 extern M_APM MM_Three; 199 extern M_APM MM_Four; 200 extern M_APM MM_Five; 201 extern M_APM MM_Te [all...] |