/freebsd-10.1-release/contrib/groff/font/devlj4/generate/ |
H A D | special.awk | 6 function scale(num) function 16 ascent["integralcrvmid"] = scale(0.84358) 17 descent["integralcrvmid"] = scale(0.25006) 18 ascent["integralbt"] = scale(0.84358) 19 descent["integralbt"] = scale(0.15164) 20 ascent["lt"] = scale(0.84358) 21 descent["lt"] = scale(0.15164) 22 ascent["parenlefttp"] = scale(0.84358) 23 descent["parenlefttp"] = scale(0.15164) 24 ascent["bracelefttp"] = scale(0.8435 [all...] |
/freebsd-10.1-release/usr.bin/bc/ |
H A D | bc.library | 42 scale = 20 48 t = scale 49 scale = 0 50 if (x > 0) scale = (0.435*x)/1 51 scale = scale + t + length(scale + t) + 1 79 scale = t 93 a = (1 - 10^scale) 97 t = scale [all...] |
/freebsd-10.1-release/usr.bin/systat/ |
H A D | ifcmds.c | 48 int scale; local 50 if (prefix(cmd, "scale")) { 51 if ((scale = get_scale(args)) != -1) 52 curscale = scale; 56 addstr("what scale? ");
|
H A D | convtbl.c | 52 uintmax_t scale; member in struct:convtbl 58 /* mul, scale, str, name */ 76 get_tbl_ptr(const uintmax_t size, const int scale) argument 82 idx = scale < SC_AUTO ? scale : SC_AUTO; 99 convert(const uintmax_t size, const int scale) argument 103 tp = get_tbl_ptr(size, scale); 104 return ((double)size * tp->mul / tp->scale); 109 get_string(const uintmax_t size, const int scale) argument 113 tp = get_tbl_ptr(size, scale); [all...] |
H A D | convtbl.h | 40 enum scale { enum
|
/freebsd-10.1-release/usr.bin/dc/ |
H A D | bcode.c | 45 u_int scale; member in struct:bmachine 256 return bmachine.scale; 309 fprintf(stderr, " %s (%u)\n" , p, n->scale); 385 if (n->scale == 0 && f != NULL) 387 else if (n->scale < sizeof(factors)/sizeof(factors[0])) { 388 rem = BN_div_word(i, factors[n->scale]); 403 bn_check(BN_set_word(p, n->scale)); 416 scale_number(n->number, s - n->scale); 417 n->scale = s; 573 bn_check(BN_set_word(n->number, bmachine.scale)); 581 u_long scale; local 670 u_int scale = 0; local 1013 bmul_number(struct number *r, struct number *a, struct number *b, u_int scale) argument 1060 u_int scale; local 1097 u_int scale; local 1134 u_int scale; local 1298 u_int onecount, scale; local 1479 u_int scale; local [all...] |
H A D | mem.c | 36 n->scale = 0; 57 n->scale = a->scale;
|
H A D | bcode.h | 25 u_int scale; member in struct:number 97 struct number *, u_int scale);
|
/freebsd-10.1-release/lib/libutil/ |
H A D | humanize_number.c | 50 const char *suffix, int scale, int flags) 65 if (scale < 0) 67 else if (scale >= maxscale && 68 ((scale & ~(HN_AUTOSCALE|HN_GETSCALE)) != 0)) 112 #define SCALE2PREFIX(scale) (&prefixes[(scale) * 3]) 134 if (scale & (HN_AUTOSCALE | HN_GETSCALE)) { 151 if (scale & HN_GETSCALE) 154 for (i = 0; i < scale && i < maxscale; i++) { 49 humanize_number(char *buf, size_t len, int64_t quotient, const char *suffix, int scale, int flags) argument
|
/freebsd-10.1-release/contrib/mdocml/ |
H A D | out.h | 41 double scale; member in struct:roffsu 58 (p)->scale = (v); } \ 63 (p)->scale = (v); } \
|
H A D | term_ascii.c | 229 r = 4 * su->scale; 232 r = 10 * su->scale; 235 r = (10 * su->scale) / 6; 238 r = (10 * su->scale) / 72; 241 r = su->scale / 1000; 244 r = su->scale * 2 - 1; 247 r = su->scale;
|
/freebsd-10.1-release/lib/msun/src/ |
H A D | s_csqrt.c | 54 int scale; local 89 scale = 1; 91 scale = 0; 104 if (scale)
|
H A D | s_csqrtl.c | 54 int scale; local 89 scale = 1; 91 scale = 0; 104 if (scale)
|
H A D | k_exp.c | 53 * minimize |exp(kln2) - 2**k|. We also scale the exponent of 77 double exp_x, scale; local 82 INSERT_WORDS(scale, (0x3ff + expt) << 20, 0); 83 return (exp_x * scale);
|
H A D | k_expf.c | 60 float exp_x, scale; local 65 SET_FLOAT_WORD(scale, (0x7f + expt) << 23); 66 return (exp_x * scale);
|
/freebsd-10.1-release/contrib/compiler-rt/lib/ |
H A D | muldf3.c | 29 int scale = 0; local 62 // normal number. Renormalize one or both of a and b, and set scale to 64 if (aAbs < implicitBit) scale += normalize(&aSignificand); 65 if (bAbs < implicitBit) scale += normalize(&bSignificand); 83 int productExponent = aExponent + bExponent - exponentBias + scale;
|
H A D | mulsf3.c | 29 int scale = 0; local 62 // normal number. Renormalize one or both of a and b, and set scale to 64 if (aAbs < implicitBit) scale += normalize(&aSignificand); 65 if (bAbs < implicitBit) scale += normalize(&bSignificand); 83 int productExponent = aExponent + bExponent - exponentBias + scale;
|
H A D | divdf3.c | 32 int scale = 0; local 65 // normal number. Renormalize one or both of a and b, and set scale to 67 if (aAbs < implicitBit) scale += normalize(&aSignificand); 68 if (bAbs < implicitBit) scale -= normalize(&bSignificand); 76 int quotientExponent = aExponent - bExponent + scale;
|
H A D | divsf3.c | 32 int scale = 0; local 65 // normal number. Renormalize one or both of a and b, and set scale to 67 if (aAbs < implicitBit) scale += normalize(&aSignificand); 68 if (bAbs < implicitBit) scale -= normalize(&bSignificand); 76 int quotientExponent = aExponent - bExponent + scale;
|
/freebsd-10.1-release/usr.bin/procstat/ |
H A D | procstat_rlimit.c | 73 int scale; local 78 scale = humanize_number(buf, sizeof(buf) - 1, (int64_t)limit, 83 if (scale == 0)
|
H A D | procstat_rusage.c | 88 format_value(long value, bool humanize, int scale) argument 92 if (scale != 0) 93 value <<= scale * 10; 96 scale, HN_DECIMAL);
|
/freebsd-10.1-release/contrib/groff/src/roff/troff/ |
H A D | hvunits.h | 31 friend inline vunits scale(vunits n, units x, units y); // scale n by x/y 32 friend inline vunits scale(vunits n, vunits x, vunits y); 60 friend inline hunits scale(hunits n, units x, units y); // scale n by x/y 61 friend inline hunits scale(hunits n, double x); 303 inline hunits scale(hunits n, units x, units y) function 306 r.n = scale(n.n, x, y); 310 inline vunits scale(vunits n, units x, units y) function 313 r.n = scale( 317 inline vunits scale(vunits n, vunits x, vunits y) function 324 inline hunits scale(hunits n, double x) function 331 inline units scale(units n, double x) function [all...] |
/freebsd-10.1-release/contrib/groff/src/preproc/pic/ |
H A D | tex.cpp | 54 double scale; member in class:tex_output 75 return position((pos.x - upper_left.x)/scale, 76 (upper_left.y - pos.y)/scale); 110 scale = compute_scale(sc, ll, ur); 111 height = (ur.y - ll.y)/scale; 112 width = (ur.x - ll.x)/scale; 195 printf("dt %.3f", lt.dash_width/scale); 198 printf("da %.3f", lt.dash_width/scale); 229 printf(" %.3f", -lt.dash_width/scale); 232 printf(" %.3f", lt.dash_width/scale); [all...] |
/freebsd-10.1-release/contrib/llvm/include/llvm/Support/ |
H A D | BlockFrequency.h | 33 uint32_t scale(uint32_t N, uint32_t D); 64 uint32_t scale(const BranchProbability &Prob);
|
/freebsd-10.1-release/contrib/llvm/lib/Support/ |
H A D | BlockFrequency.cpp | 84 uint32_t BlockFrequency::scale(uint32_t N, uint32_t D) { function in class:BlockFrequency 108 scale(Prob.getNumerator(), Prob.getDenominator()); 120 scale(Prob.getDenominator(), Prob.getNumerator()); 148 uint32_t BlockFrequency::scale(const BranchProbability &Prob) { function in class:BlockFrequency 149 return scale(Prob.getNumerator(), Prob.getDenominator());
|