/dragonfly/usr.bin/bc/ |
H A D | bc.library | 44 scale = 20 53 scale = scale + t + length(scale + t) + 1 112 scale = (length(x) + scale(x))/2 + 1 113 if (scale < s) scale = s 119 scale = scale(x)/2 + 1 120 if (scale < s) scale = s 165 scale = t + length(1.2*t) - scale(1.2*t) 188 scale = scale + 1 211 scale = scale + 1 216 scale = scale + 1 [all …]
|
/dragonfly/usr.bin/dc/ |
H A D | bcode.c | 961 r->scale = max(a->scale, b->scale); in badd() 990 r->scale = max(a->scale, b->scale); in bsub() 1065 scale = max(a->scale, b->scale); in bdiv() 1102 scale = max(a->scale, b->scale); in bmod() 1103 r->scale = max(b->scale, a->scale + bmachine.scale); in bmod() 1142 rmod->scale = max(b->scale, a->scale + bmachine.scale); in bdivmod() 1143 scale = max(a->scale, b->scale); in bdivmod() 1304 scale = max(bmachine.scale, n->scale); in bsqrt() 1322 r->scale = scale; in bsqrt() 1468 scale = max(a->scale, b->scale); in compare_numbers() [all …]
|
H A D | inout.c | 212 n->scale++; in readnumber() 299 fract_part->scale = b->scale; in printnumber() 326 if (b->scale > 0) { in printnumber() 337 scale_number(stop, b->scale); in printnumber() 352 int_part->scale = 0; in printnumber() 353 normalize(int_part, fract_part->scale); in printnumber()
|
H A D | mem.c | 36 n->scale = 0; in new_number() 56 n->scale = a->scale; in dup_number()
|
/dragonfly/contrib/openbsd_libm/src/ |
H A D | s_csqrtf.c | 68 float x, y, r, t, scale; in csqrtf() local 101 scale = 2.0f; in csqrtf() 106 scale = 1.220703125e-4f; /* 2^-13 */ in csqrtf() 110 scale = 0.5f; in csqrtf() 117 r = scale * fabsf((0.5f * y) / t); in csqrtf() 118 t *= scale; in csqrtf() 122 t = scale * fabsf((0.5f * y) / r); in csqrtf() 123 r *= scale; in csqrtf()
|
H A D | s_csqrtl.c | 68 long double x, y, r, t, scale; in csqrtl() local 98 scale = 2.0L; in csqrtl() 104 scale = 1.16415321826934814453125e-10; /* 2^-33 */ in csqrtl() 108 scale = 0.5L; in csqrtl() 115 r = scale * fabsl((0.5L * y) / t); in csqrtl() 116 t *= scale; in csqrtl() 120 t = scale * fabsl((0.5L * y) / r); in csqrtl() 121 r *= scale; in csqrtl()
|
H A D | s_csqrt.c | 69 double x, y, r, t, scale; in csqrt() local 103 scale = 2.0; in csqrt() 108 scale = 7.450580596923828125e-9; /* 2^-27 */ in csqrt() 112 scale = 0.5; in csqrt() 119 r = scale * fabs((0.5 * y) / t); in csqrt() 120 t *= scale; in csqrt() 124 t = scale * fabs( (0.5 * y) / r ); in csqrt() 125 r *= scale; in csqrt()
|
/dragonfly/usr.bin/systat/ |
H A D | convtbl.c | 46 uintmax_t scale; member 72 get_tbl_ptr(const uintmax_t size, const int scale) in get_tbl_ptr() argument 78 idx = scale < SC_AUTOBIT ? scale : SC_AUTOBIT; in get_tbl_ptr() 97 convert(const uintmax_t size, const int scale) in convert() argument 101 tp = get_tbl_ptr(size, scale); in convert() 102 return ((double)size * tp->mul / tp->scale); in convert() 107 get_string(const uintmax_t size, const int scale) in get_string() argument 111 tp = get_tbl_ptr(size, scale); in get_string()
|
H A D | ifcmds.c | 40 int scale; in ifcmd() local 43 if ((scale = get_scale(args)) != -1) in ifcmd() 44 curscale = scale; in ifcmd()
|
/dragonfly/sys/sys/ |
H A D | kcollect.h | 88 #define KCOLLECT_SCALE(fmt, scale) ((fmt) | ((uint64_t)(scale) << 8)) argument 89 #define KCOLLECT_GETFMT(scale) ((char)(scale)) argument 90 #define KCOLLECT_GETSCALE(scale) ((scale) >> 8) argument 99 kcallback_t func, uint64_t scale);
|
/dragonfly/lib/libutil/ |
H A D | humanize_number.c | 49 const char *suffix, int scale, int flags) in humanize_number() argument 60 if (scale < 0) in humanize_number() 62 else if (scale >= maxscale && in humanize_number() 63 ((scale & ~(HN_AUTOSCALE|HN_GETSCALE)) != 0)) in humanize_number() 114 #define SCALE2PREFIX(scale) (&prefixes[(scale) * 3]) in humanize_number() argument 136 if (scale & (HN_AUTOSCALE | HN_GETSCALE)) { in humanize_number() 153 if (scale & HN_GETSCALE) in humanize_number() 156 for (i = 0; i < scale && i < maxscale; i++) { in humanize_number()
|
/dragonfly/contrib/gcc-4.7/gcc/ |
H A D | tree-affine.c | 79 scale = double_int_ext_for_comb (scale, comb); in aff_combination_scale() 80 if (double_int_one_p (scale)) in aff_combination_scale() 83 if (double_int_zero_p (scale)) in aff_combination_scale() 115 comb->elts[comb->n].coef = scale; in aff_combination_scale() 134 scale = double_int_ext_for_comb (scale, comb); in aff_combination_add_elt() 135 if (double_int_zero_p (scale)) in aff_combination_add_elt() 176 if (double_int_one_p (scale)) in aff_combination_add_elt() 381 scale = double_int_ext_for_comb (scale, comb); in add_elt_to_tree() 384 if (double_int_one_p (scale)) in add_elt_to_tree() 415 scale = double_int_neg (scale); in add_elt_to_tree() [all …]
|
H A D | ira-costs.c | 904 int scale = 1 + (recog_data.operand_type[i] == OP_INOUT); in record_reg_classes() local 909 (qq->mem_cost + op_cost_add) * scale); in record_reg_classes() 913 = MIN (pp_costs[k], (qq_costs[k] + op_cost_add) * scale); in record_reg_classes() 1026 enum rtx_code index_code, int scale) in record_address_regs() argument 1073 record_address_regs (mode, as, arg0, 0, PLUS, code1, scale); in record_address_regs() 1105 PLUS, REG, scale); in record_address_regs() 1113 PLUS, REG, scale); in record_address_regs() 1145 GET_CODE (XEXP (XEXP (x, 1), 1)), 2 * scale); in record_address_regs() 1148 2 * scale); in record_address_regs() 1191 add_cost = (move_in_cost[i][rclass] * scale) / 2; in record_address_regs() [all …]
|
/dragonfly/contrib/gcc-4.7/gcc/config/i386/ |
H A D | avx2intrin.h | 1235 scale); in _mm_i32gather_pd() 1247 scale); in _mm_mask_i32gather_pd() 1261 scale); in _mm256_i32gather_pd() 1273 scale); in _mm256_mask_i32gather_pd() 1287 scale); in _mm_i64gather_pd() 1299 scale); in _mm_mask_i64gather_pd() 1313 scale); in _mm256_i64gather_pd() 1325 scale); in _mm256_mask_i64gather_pd() 1403 scale); in _mm_mask_i64gather_ps() 1444 scale); in _mm_i32gather_epi64() [all …]
|
/dragonfly/sys/kern/ |
H A D | kern_collect.c | 81 kcollect_register(int which, const char *id, kcallback_t func, uint64_t scale) in kcollect_register() argument 99 kcollect_scale.data[n] = scale; in kcollect_register() 184 kcollect_t scale; in sysctl_kcollect_data() local 219 scale = kcollect_scale; in sysctl_kcollect_data() 220 scale.ticks = ticks; in sysctl_kcollect_data() 221 scale.hz = hz; in sysctl_kcollect_data() 235 error = SYSCTL_OUT(req, &scale, sizeof(scale)); in sysctl_kcollect_data()
|
H A D | subr_prof.c | 59 if (uap->scale > (1 << 16)) in sys_profil() 62 if (uap->scale == 0) { in sys_profil() 70 upp->pr_scale = uap->scale; in sys_profil()
|
/dragonfly/contrib/gcc-8.0/gcc/ |
H A D | tree-affine.c | 94 if (scale == 1) in aff_combination_scale() 97 if (scale == 0) in aff_combination_scale() 125 comb->elts[comb->n].coef = scale; in aff_combination_scale() 145 if (scale == 0) in aff_combination_add_elt() 184 if (scale == 1) in aff_combination_add_elt() 455 if (scale == 1) in add_elt_to_tree() 463 if (scale == -1) in add_elt_to_tree() 474 if (wi::neg_p (scale)) in add_elt_to_tree() 477 scale = -scale; in add_elt_to_tree() 689 widest_int scale; in aff_combination_expand() local [all …]
|
/dragonfly/contrib/mdocml/ |
H A D | tbl_html.c | 54 if (su->scale < 0.0) in html_tbl_sulen() 59 return su->scale * 65536.0 / 24.0; in html_tbl_sulen() 61 return su->scale * 10.0; in html_tbl_sulen() 63 return su->scale * 10.0 / 2.54; in html_tbl_sulen() 66 return su->scale * 10.0 / 6.0; in html_tbl_sulen() 69 return su->scale; in html_tbl_sulen() 71 return su->scale * 10.0 / 6.0 / 12.0; in html_tbl_sulen() 73 return su->scale / 24.0; in html_tbl_sulen() 75 return su->scale / 100.0; in html_tbl_sulen()
|
H A D | term_ascii.c | 267 r = su->scale; in ascii_hspan() 270 r = su->scale * 240.0 / 2.54; in ascii_hspan() 273 r = su->scale * 65536.0; in ascii_hspan() 276 r = su->scale * 240.0; in ascii_hspan() 279 r = su->scale * 0.24; in ascii_hspan() 283 r = su->scale * 40.0; in ascii_hspan() 286 r = su->scale * 10.0 / 3.0; in ascii_hspan() 290 r = su->scale * 24.0; in ascii_hspan()
|
H A D | term_ps.c | 77 size_t scale; /* font scaling factor */ member 596 p->ps->scale = 11; in pspdf_alloc() 1281 (int)f, p->ps->scale); in ps_setfont() 1320 r = su->scale * in ps_hspan() 1324 r = su->scale * in ps_hspan() 1328 r = PNT2AFM(p, su->scale * 72.0); in ps_hspan() 1331 r = su->scale * in ps_hspan() 1335 r = PNT2AFM(p, su->scale * 12.0); in ps_hspan() 1338 r = PNT2AFM(p, su->scale * 1.0); in ps_hspan() 1341 r = su->scale * p->ps->lineheight; in ps_hspan() [all …]
|
/dragonfly/contrib/mpc/src/ |
H A D | norm.c | 137 unsigned long int scale, exp_re, exp_im; in mpc_norm() local 143 scale = exp_re / 2 + exp_im / 2 + (exp_re % 2 + exp_im % 2) / 2; in mpc_norm() 148 mpfr_mul_2ui (u, mpc_realref (b), scale, GMP_RNDN); in mpc_norm() 152 mpfr_mul_2ui (u, u, 2*scale, GMP_RNDN); in mpc_norm() 154 mpfr_mul_2ui (v, mpc_imagref (b), scale, GMP_RNDN); in mpc_norm() 158 mpfr_mul_2ui (v, v, 2*scale, GMP_RNDN); in mpc_norm() 162 inex_underflow = mpfr_div_2ui (a, a, 2*scale, rnd); in mpc_norm()
|
/dragonfly/contrib/gdtoa/ |
H A D | strtod.c | 66 (x, scale) U *x; int scale; in sulp() argument 68 (U *x, int scale) 93 int scale; local 440 scale = 0; 529 scale = 2*P; 605 j = bbe - scale; 635 bd2 += scale; 832 if (scale) { 869 dval(&rv) += sulp(&rv, scale); 1011 if (!scale) [all …]
|
/dragonfly/contrib/mpfr/src/ |
H A D | fms.c | 207 unsigned long scale = 0; in mpfr_fms() local 228 scale = uscale; in mpfr_fms() 230 inexact = mpfr_mul_2ui (scaled_z, z, scale, MPFR_RNDN); in mpfr_fms() 238 mpfr_mul_2ui (scaled_v, x, scale, MPFR_RNDN); in mpfr_fms() 244 mpfr_mul_2ui (scaled_v, y, scale, MPFR_RNDN); in mpfr_fms() 271 if (scale != 0) in mpfr_fms() 281 inex2 = mpfr_div_2ui (s, s, scale, MPFR_RNDN); in mpfr_fms()
|
H A D | fma.c | 205 unsigned long scale = 0; in mpfr_fma() local 226 scale = uscale; in mpfr_fma() 228 inexact = mpfr_mul_2ui (scaled_z, z, scale, MPFR_RNDN); in mpfr_fma() 236 mpfr_mul_2ui (scaled_v, x, scale, MPFR_RNDN); in mpfr_fma() 242 mpfr_mul_2ui (scaled_v, y, scale, MPFR_RNDN); in mpfr_fma() 269 if (scale != 0) in mpfr_fma() 279 inex2 = mpfr_div_2ui (s, s, scale, MPFR_RNDN); in mpfr_fma()
|
/dragonfly/sys/tools/sound/ |
H A D | feeder_rate_mkfilter.awk | 470 function genscale(bit, s1, s2, scale) 481 scale = "v"; 483 scale = sprintf("(v) << %d", abs(s1)); 485 scale = sprintf("(v) >> %d", s1); 487 scale = sprintf("(%s) * Z_SCALE_CAST(s)", scale); 490 scale = sprintf("(%s) >> %d", scale, s2); 493 bit, (bit < 10) ? "\t" : "", scale);
|