Home
last modified time | relevance | path

Searched refs:scale (Results 1 – 25 of 745) sorted by relevance

12345678910>>...30

/netbsd-src/external/gpl2/groff/dist/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.84358)
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Headers/
H A Davx512pfintrin.h20 #define _mm512_mask_prefetch_i32gather_pd(index, mask, addr, scale, hint) \ argument
22 (void const *)(addr), (int)(scale), \
25 #define _mm512_prefetch_i32gather_pd(index, addr, scale, hint) \ argument
27 (void const *)(addr), (int)(scale), \
30 #define _mm512_mask_prefetch_i32gather_ps(index, mask, addr, scale, hint) \ argument
33 (int)(scale), (int)(hint))
35 #define _mm512_prefetch_i32gather_ps(index, addr, scale, hint) \ argument
38 (int)(scale), (int)(hint))
40 #define _mm512_mask_prefetch_i64gather_pd(index, mask, addr, scale, hint) \ argument
42 (void const *)(addr), (int)(scale), \
[all …]
/netbsd-src/usr.bin/dc/
H A Dbcode.c43 u_int scale; member
267 return bmachine.scale; in bmachine_scale()
318 (void)fprintf(stderr, " %s (%u)\n" , p, n->scale); in pn()
392 if (n->scale == 0 && f != NULL) in split_number()
394 else if (n->scale < sizeof(factors)/sizeof(factors[0])) { in split_number()
395 rem = BN_div_word(i, factors[n->scale]); in split_number()
410 bn_check(BN_set_word(p, n->scale)); in split_number()
422 scale_number(n->number, (int)(s - n->scale)); in normalize()
423 n->scale = s; in normalize()
578 bn_check(BN_set_word(n->number, bmachine.scale)); in get_scale()
[all …]
/netbsd-src/external/gpl3/gcc/dist/libquadmath/math/
H A Dcsqrtq.c86 int scale = 0; in csqrtq() local
90 scale = 1; in csqrtq()
91 __real__ x = scalbnq (__real__ x, -2 * scale); in csqrtq()
92 __imag__ x = scalbnq (__imag__ x, -2 * scale); in csqrtq()
96 scale = 1; in csqrtq()
98 __real__ x = scalbnq (__real__ x, -2 * scale); in csqrtq()
101 __imag__ x = scalbnq (__imag__ x, -2 * scale); in csqrtq()
106 scale = -((FLT128_MANT_DIG + 1) / 2); in csqrtq()
107 __real__ x = scalbnq (__real__ x, -2 * scale); in csqrtq()
108 __imag__ x = scalbnq (__imag__ x, -2 * scale); in csqrtq()
[all …]
H A Dclogq.c41 int scale = 0; in clogq() local
52 scale = -1; in clogq()
53 absx = scalbnq (absx, scale); in clogq()
54 absy = (absy >= FLT128_MIN * 2 ? scalbnq (absy, scale) : 0); in clogq()
58 scale = FLT128_MANT_DIG; in clogq()
59 absx = scalbnq (absx, scale); in clogq()
60 absy = scalbnq (absy, scale); in clogq()
63 if (absx == 1 && scale == 0) in clogq()
68 else if (absx > 1 && absx < 2 && absy < 1 && scale == 0) in clogq()
78 && scale == 0) in clogq()
[all …]
H A Dclog10q.c47 int scale = 0; in clog10q() local
58 scale = -1; in clog10q()
59 absx = scalbnq (absx, scale); in clog10q()
60 absy = (absy >= FLT128_MIN * 2 ? scalbnq (absy, scale) : 0); in clog10q()
64 scale = FLT128_MANT_DIG; in clog10q()
65 absx = scalbnq (absx, scale); in clog10q()
66 absy = scalbnq (absy, scale); in clog10q()
69 if (absx == 1 && scale == 0) in clog10q()
75 else if (absx > 1 && absx < 2 && absy < 1 && scale == 0) in clog10q()
85 && scale == 0) in clog10q()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libquadmath/math/
H A Dcsqrtq.c86 int scale = 0; in csqrtq() local
90 scale = 1; in csqrtq()
91 __real__ x = scalbnq (__real__ x, -2 * scale); in csqrtq()
92 __imag__ x = scalbnq (__imag__ x, -2 * scale); in csqrtq()
96 scale = 1; in csqrtq()
98 __real__ x = scalbnq (__real__ x, -2 * scale); in csqrtq()
101 __imag__ x = scalbnq (__imag__ x, -2 * scale); in csqrtq()
106 scale = -((FLT128_MANT_DIG + 1) / 2); in csqrtq()
107 __real__ x = scalbnq (__real__ x, -2 * scale); in csqrtq()
108 __imag__ x = scalbnq (__imag__ x, -2 * scale); in csqrtq()
[all …]
H A Dclogq.c41 int scale = 0; in clogq() local
52 scale = -1; in clogq()
53 absx = scalbnq (absx, scale); in clogq()
54 absy = (absy >= FLT128_MIN * 2 ? scalbnq (absy, scale) : 0); in clogq()
58 scale = FLT128_MANT_DIG; in clogq()
59 absx = scalbnq (absx, scale); in clogq()
60 absy = scalbnq (absy, scale); in clogq()
63 if (absx == 1 && scale == 0) in clogq()
68 else if (absx > 1 && absx < 2 && absy < 1 && scale == 0) in clogq()
78 && scale == 0) in clogq()
[all …]
H A Dclog10q.c47 int scale = 0; in clog10q() local
58 scale = -1; in clog10q()
59 absx = scalbnq (absx, scale); in clog10q()
60 absy = (absy >= FLT128_MIN * 2 ? scalbnq (absy, scale) : 0); in clog10q()
64 scale = FLT128_MANT_DIG; in clog10q()
65 absx = scalbnq (absx, scale); in clog10q()
66 absy = scalbnq (absy, scale); in clog10q()
69 if (absx == 1 && scale == 0) in clog10q()
75 else if (absx > 1 && absx < 2 && absy < 1 && scale == 0) in clog10q()
85 && scale == 0) in clog10q()
[all …]
/netbsd-src/external/bsd/bc/dist/
H A Dlibmath.b36 scale = 20
53 /* n - the scale to compute the sum. */
54 /* z - orignal scale. */
73 z = scale;
75 scale = scale(x)+1;
79 scale += 1;
83 scale = n;
92 scale = z
118 if (x <= 0) return ((1 - 10^scale)/1)
121 z = scale;
[all …]
H A Dnumber.h94 bc_num bc_new_num (int length, int scale);
102 void bc_str2num (bc_num *num, char *str, int scale);
114 char bc_is_near_zero (bc_num num, int scale);
122 void bc_multiply (bc_num n1, bc_num n2, bc_num *prod, int scale);
124 int bc_divide (bc_num n1, bc_num n2, bc_num *quot, int scale);
126 int bc_modulo (bc_num num1, bc_num num2, bc_num *result, int scale);
129 bc_num *rem, int scale);
132 bc_num *result, int scale);
135 int scale);
137 int bc_sqrt (bc_num *num, int scale);
H A Dnumber.c64 bc_new_num (int length, int scale) in bc_new_num() argument
77 temp->n_scale = scale; in bc_new_num()
79 temp->n_ptr = (char *) malloc (length+scale); in bc_new_num()
82 memset (temp->n_ptr, 0, length+scale); in bc_new_num()
302 bc_is_near_zero (bc_num num, int scale) in bc_is_near_zero() argument
308 if (scale > num->n_scale) in bc_is_near_zero()
309 scale = num->n_scale; in bc_is_near_zero()
312 count = num->n_len + scale; in bc_is_near_zero()
619 new_sub_num (int length, int scale, char *value) in new_sub_num() argument
632 temp->n_scale = scale; in new_sub_num()
[all …]
/netbsd-src/external/mpl/dhcp/dist/omapip/
H A Dhandle.c148 omapi_handle_t scale, index; in omapi_object_handle_in_table() local
169 scale = (table -> limit - table -> first) / OMAPI_HANDLE_TABLE_SIZE; in omapi_object_handle_in_table()
174 index = (h - table -> first) / scale; in omapi_object_handle_in_table()
184 inner -> first = index * scale + table -> first; in omapi_object_handle_in_table()
185 inner -> limit = inner -> first + scale; in omapi_object_handle_in_table()
186 if (scale == OMAPI_HANDLE_TABLE_SIZE) in omapi_object_handle_in_table()
208 int index, base, scale; in omapi_handle_table_enclose() local
214 scale = (inner -> first - inner -> limit) * OMAPI_HANDLE_TABLE_SIZE; in omapi_handle_table_enclose()
222 base = inner -> first - inner -> first % scale; in omapi_handle_table_enclose()
235 new -> limit = base + scale; in omapi_handle_table_enclose()
[all …]
/netbsd-src/lib/libc/gen/
H A Dhumanize_number.c48 const char *suffix, int scale, int flags) in humanize_number() argument
57 _DIAGASSERT(scale >= 0); in humanize_number()
81 #define SCALE2PREFIX(scale) (&prefixes[(scale) << 1]) in humanize_number() argument
84 if (scale < 0 || (scale > maxscale && in humanize_number()
85 (scale & (HN_AUTOSCALE | HN_GETSCALE)) == 0)) in humanize_number()
126 if (scale & (HN_AUTOSCALE | HN_GETSCALE)) { in humanize_number()
149 if (scale & HN_GETSCALE) { in humanize_number()
158 for (i = 0; i < scale && i < maxscale; i++) in humanize_number()
/netbsd-src/usr.bin/systat/
H A Dconvtbl.c61 uintmax_t scale; member
85 get_tbl_ptr(const uintmax_t size, const int scale) in get_tbl_ptr() argument
91 idx = scale < SC_AUTO ? scale : SC_AUTO; in get_tbl_ptr()
108 convert(const uintmax_t size, const int scale) in convert() argument
112 tp = get_tbl_ptr(size, scale); in convert()
113 return ((double)size * tp->mul / tp->scale); in convert()
118 get_string(const uintmax_t size, const int scale) in get_string() argument
122 tp = get_tbl_ptr(size, scale); in get_string()
/netbsd-src/lib/libm/complex/
H A Dcsqrt.c39 double x, y, r, t, scale; in csqrt() local
76 scale = 2.0; in csqrt()
81 scale = 7.450580596923828125e-9; /* 2^-27 */ in csqrt()
85 scale = 0.5; in csqrt()
92 r = scale * fabs((0.5 * y) / t ); in csqrt()
93 t *= scale; in csqrt()
96 t = scale * fabs((0.5 * y) / r); in csqrt()
97 r *= scale; in csqrt()
H A Dcsqrtf.c39 float x, y, r, t, scale; in csqrtf() local
75 scale = 2.0f; in csqrtf()
80 scale = 1.220703125e-4f; /* 2^-13 */ in csqrtf()
84 scale = 0.5f; in csqrtf()
91 r = scale * fabsf((0.5f * y) / t); in csqrtf()
92 t *= scale; in csqrtf()
95 t = scale * fabsf((0.5f * y) / r); in csqrtf()
96 r *= scale; in csqrtf()
/netbsd-src/external/gpl3/gcc/dist/libgcc/config/libbid/
H A Dbid128_add.c476 int q1, q2, delta, scale, x1, ind, shift, tmp_inexact = 0; local
686 scale = P34 - q2;
688 if (ind < scale)
689 scale = ind;
690 if (scale == 0) {
694 if (scale <= 19) { // 10^scale fits in 64 bits
696 __mul_64x64_to_128MACH (res, C2_lo, ten2k64[scale]);
699 __mul_128x64_to_128 (res, C2_lo, ten2k128[scale - 20]);
705 __mul_128x64_to_128 (res, ten2k64[scale], C2);
708 y_exp = y_exp - ((UINT64) scale << 49);
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/libbid/
H A Dbid128_add.c476 int q1, q2, delta, scale, x1, ind, shift, tmp_inexact = 0; local
686 scale = P34 - q2;
688 if (ind < scale)
689 scale = ind;
690 if (scale == 0) {
694 if (scale <= 19) { // 10^scale fits in 64 bits
696 __mul_64x64_to_128MACH (res, C2_lo, ten2k64[scale]);
699 __mul_128x64_to_128 (res, C2_lo, ten2k128[scale - 20]);
705 __mul_128x64_to_128 (res, ten2k64[scale], C2);
708 y_exp = y_exp - ((UINT64) scale << 49);
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/whrlpool/asm/
H A Dwp-mmx.pl75 sub scale() subroutine
136 &scale ("esi","ecx");
138 &scale ("edi","edx");
143 &scale ("esi","ecx");
145 &scale ("edi","edx");
150 &scale ("esi","ecx");
152 &scale ("edi","edx");
157 &scale ("esi","ecx");
159 &scale ("edi","edx");
170 &scale ("esi","ecx");
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/whrlpool/asm/
H A Dwp-mmx.pl74 sub scale() subroutine
135 &scale ("esi","ecx");
137 &scale ("edi","edx");
142 &scale ("esi","ecx");
144 &scale ("edi","edx");
149 &scale ("esi","ecx");
151 &scale ("edi","edx");
156 &scale ("esi","ecx");
158 &scale ("edi","edx");
169 &scale ("esi","ecx");
[all …]
/netbsd-src/external/mit/xorg/share/fonts/
H A DMakefile.mkfontscale17 afterinstall: create.fonts.dir create.fonts.scale
29 create.fonts.dir: create.fonts.scale
34 .if !target(create.fonts.scale)
35 create.fonts.scale:
36 ${_MKMSG_CREATE} ${DESTDIR}${FILESDIR}/fonts.scale
37 rm -f ${DESTDIR}${FILESDIR}/fonts.scale
41 .PHONY: create.fonts.dir create.fonts.scale
/netbsd-src/sys/arch/m68k/fpe/
H A Dfpu_fscale.c58 int scale, sign, exp; in fpu_emul_fscale()
66 scale = sig = 0; in fpu_emul_fscale()
94 scale = buf[0]; in fpu_emul_fscale()
176 scale = buf[0]; in fpu_emul_fscale()
179 scale = buf[0] & 0xffff; in fpu_emul_fscale()
180 if (scale & 0x8000) { in fpu_emul_fscale()
181 scale |= 0xffff0000; in fpu_emul_fscale()
185 scale = buf[0] & 0xff; in fpu_emul_fscale()
186 if (scale & 0x80) { in fpu_emul_fscale()
187 scale | in fpu_emul_fscale()
57 int scale, sign, exp; fpu_emul_fscale() local
[all...]
/netbsd-src/external/gpl2/groff/dist/src/preproc/pic/
H A Dtex.cpp56 double scale; member in tex_output
77 return position((pos.x - upper_left.x)/scale, in transform()
78 (upper_left.y - pos.y)/scale); in transform()
112 scale = compute_scale(sc, ll, ur); in start_picture()
113 height = (ur.y - ll.y)/scale; in start_picture()
114 width = (ur.x - ll.x)/scale; in start_picture()
197 printf("dt %.3f", lt.dash_width/scale); in line()
200 printf("da %.3f", lt.dash_width/scale); in line()
231 printf(" %.3f", -lt.dash_width/scale); in spline()
234 printf(" %.3f", lt.dash_width/scale); in spline()
[all …]
/netbsd-src/external/bsd/mdocml/dist/
H A Dtbl_html.c53 if (su->scale < 0.0) in html_tbl_sulen()
58 return su->scale * 65536.0 / 24.0; in html_tbl_sulen()
60 return su->scale * 10.0; in html_tbl_sulen()
62 return su->scale * 10.0 / 2.54; in html_tbl_sulen()
65 return su->scale * 10.0 / 6.0; in html_tbl_sulen()
68 return su->scale; in html_tbl_sulen()
70 return su->scale * 10.0 / 6.0 / 12.0; in html_tbl_sulen()
72 return su->scale / 24.0; in html_tbl_sulen()
74 return su->scale / 100.0; in html_tbl_sulen()

12345678910>>...30