Searched refs:scale (Results 1 - 25 of 120) sorted by relevance

12345

/freebsd-10.0-release/contrib/groff/font/devlj4/generate/
H A Dspecial.awk6 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.0-release/usr.bin/bc/
H A Dbc.library42 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.0-release/usr.bin/systat/
H A Difcmds.c48 int scale; local
50 if (prefix(cmd, "scale")) {
51 if ((scale = get_scale(args)) != -1)
52 curscale = scale;
56 addstr("what scale? ");
H A Dconvtbl.c52 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 Dconvtbl.h40 enum scale { enum
/freebsd-10.0-release/usr.bin/dc/
H A Dbcode.c45 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;
574 bn_check(BN_set_word(n->number, bmachine.scale));
582 u_long scale; local
671 u_int scale = 0; local
1014 bmul_number(struct number *r, struct number *a, struct number *b, u_int scale) argument
1061 u_int scale; local
1098 u_int scale; local
1135 u_int scale; local
1299 u_int onecount, scale; local
1480 u_int scale; local
[all...]
H A Dmem.c36 n->scale = 0;
57 n->scale = a->scale;
H A Dinout.c216 n->scale++;
227 scale_number(n->number, n->scale);
228 for (i = 0; i < n->scale; i++)
308 fract_part->scale = b->scale;
335 if (b->scale > 0) {
346 scale_number(&stop, b->scale);
361 int_part->scale = 0;
362 normalize(int_part, fract_part->scale);
/freebsd-10.0-release/lib/libutil/
H A Dhumanize_number.c50 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.0-release/contrib/mdocml/
H A Dout.h41 double scale; member in struct:roffsu
58 (p)->scale = (v); } \
63 (p)->scale = (v); } \
H A Dterm_ascii.c229 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.0-release/lib/msun/src/
H A Ds_csqrt.c54 int scale; local
89 scale = 1;
91 scale = 0;
104 if (scale)
H A Ds_csqrtl.c54 int scale; local
89 scale = 1;
91 scale = 0;
104 if (scale)
H A Dk_exp.c53 * 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 Dk_expf.c60 float exp_x, scale; local
65 SET_FLOAT_WORD(scale, (0x7f + expt) << 23);
66 return (exp_x * scale);
/freebsd-10.0-release/contrib/compiler-rt/lib/
H A Dmuldf3.c29 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 Dmulsf3.c29 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 Ddivdf3.c32 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 Ddivsf3.c32 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 Dextendsfdf2.c122 const int scale = src_rep_t_clz(aAbs) - src_rep_t_clz(srcMinNormal); local
123 absResult = (dst_rep_t)aAbs << (dstSigBits - srcSigBits + scale);
125 const int resultExponent = dstExpBias - srcExpBias - scale + 1;
/freebsd-10.0-release/usr.bin/procstat/
H A Dprocstat_rlimit.c73 int scale; local
78 scale = humanize_number(buf, sizeof(buf) - 1, (int64_t)limit,
83 if (scale == 0)
/freebsd-10.0-release/contrib/groff/src/roff/troff/
H A Dhvunits.h31 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...]
H A Dnumber.cpp466 error("expected `;' after scale-indicator (got %1)",
561 "only `z' and `u' scale indicators valid in this context");
567 warning(WARN_SCALE, "scale indicator invalid in this context");
574 warning(WARN_SCALE, "`z' scale indicator invalid in this context");
586 *v = scale(*v, units_per_inch, divisor);
589 *v = scale(*v, units_per_inch*100, divisor*254);
597 *v = scale(*v, 65536, divisor);
600 *v = scale(*v, units_per_inch, divisor*72);
603 *v = scale(*v, units_per_inch, divisor*6);
609 *v = scale(*
653 units scale(units n, units x, units y) function
[all...]
/freebsd-10.0-release/contrib/groff/src/preproc/pic/
H A Dtex.cpp54 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.0-release/usr.bin/split/
H A Dsplit.c87 long scale; local
126 scale = 1024;
128 scale = 1024 * 1024;
130 scale = 1024 * 1024 * 1024;
132 scale = 1;
133 if (bytecnti > OFF_MAX / scale)
135 bytecnt = (off_t)(bytecnti * scale);

Completed in 181 milliseconds

12345