HomeSort by: relevance | last modified time | path
    Searched defs:scale (Results 1 - 25 of 57) sorted by relevancy

1 2 3

  /src/lib/libm/complex/
csqrt.c 39 double x, y, r, t, scale; local in function:csqrt
76 scale = 2.0;
81 scale = 7.450580596923828125e-9; /* 2^-27 */
85 scale = 0.5;
92 r = scale * fabs((0.5 * y) / t );
93 t *= scale;
96 t = scale * fabs((0.5 * y) / r);
97 r *= scale;
csqrtf.c 39 float x, y, r, t, scale; local in function:csqrtf
75 scale = 2.0f;
80 scale = 1.220703125e-4f; /* 2^-13 */
84 scale = 0.5f;
91 r = scale * fabsf((0.5f * y) / t);
92 t *= scale;
95 t = scale * fabsf((0.5f * y) / r);
96 r *= scale;
csqrtl.c 60 bool scale; local in function:csqrtl
91 /* Scale to avoid overflow. */
95 scale = true;
97 scale = false;
110 if (scale)
catrig.c 549 double scale; local in function:real_part_reciprocal
570 scale = 1;
571 SET_HIGH_WORD(scale, 0x7ff00000 - ix); /* 2**(1-ilogb(x)) */
572 x *= scale;
573 y *= scale;
574 return (x / (x * x + y * y) * scale);
catrigf.c 329 float scale; local in function:real_part_reciprocal
345 SET_FLOAT_WORD(scale, 0x7f800000 - ix);
346 x *= scale;
347 y *= scale;
348 return (x / (x * x + y * y) * scale);
catrigl.c 356 long double scale; local in function:real_part_reciprocal
372 scale = 1;
373 SET_LDBL_EXPSIGN(scale, 0x7fff - ix);
374 x *= scale;
375 y *= scale;
376 return (x/(x*x + y*y) * scale);
  /src/usr.bin/systat/
ifcmds.c 56 int scale; local in function:ifcmd
58 if (prefix(cmd, "scale")) {
59 if ((scale = get_scale(args)) != -1)
60 curscale = scale;
64 addstr("what scale? ");
convtbl.h 42 enum scale { enum
convtbl.c 61 uintmax_t scale; member in struct:convtbl
67 /* mul, scale, str, name */
85 get_tbl_ptr(const uintmax_t size, const int scale)
91 idx = scale < SC_AUTO ? scale : SC_AUTO;
108 convert(const uintmax_t size, const int scale)
112 tp = get_tbl_ptr(size, scale);
113 return ((double)size * tp->mul / tp->scale);
118 get_string(const uintmax_t size, const int scale)
122 tp = get_tbl_ptr(size, scale);
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/builtins/
divsf3.c 31 int scale = 0; local in function:__divsf3
64 // normal number. Renormalize one or both of a and b, and set scale to
66 if (aAbs < implicitBit) scale += normalize(&aSignificand);
67 if (bAbs < implicitBit) scale -= normalize(&bSignificand);
75 int quotientExponent = aExponent - bExponent + scale;
divdf3.c 31 int scale = 0; local in function:__divdf3
64 // normal number. Renormalize one or both of a and b, and set scale to
66 if (aAbs < implicitBit) scale += normalize(&aSignificand);
67 if (bAbs < implicitBit) scale -= normalize(&bSignificand);
75 int quotientExponent = aExponent - bExponent + scale;
divtf3.c 31 int scale = 0; local in function:__divtf3
64 // normal number. Renormalize one or both of a and b, and set scale to
66 if (aAbs < implicitBit) scale += normalize(&aSignificand);
67 if (bAbs < implicitBit) scale -= normalize(&bSignificand);
75 int quotientExponent = aExponent - bExponent + scale;
  /src/sys/external/bsd/drm2/dist/drm/
drm_rect.c 142 int scale = 0; local in function:drm_calc_scale
153 scale = src / dst;
155 return scale;
168 * If the scale is below 1 << 16, round down. If the scale is above
169 * 1 << 16, round up. This will calculate the scale with the most
203 * If the scale is below 1 << 16, round down. If the scale is above
204 * 1 << 16, round up. This will calculate the scale with the most
  /src/usr.bin/vmstat/
drvstats.h 48 int *scale; /* Sticky scale for bytes */ member in struct:_drive
  /src/sys/arch/m68k/fpe/
fpu_fscale.c 58 int scale, sign, exp; local in function:fpu_emul_fscale
66 scale = sig = 0;
94 scale = buf[0];
176 scale = buf[0];
179 scale = buf[0] & 0xffff;
180 if (scale & 0x8000) {
181 scale |= 0xffff0000;
185 scale = buf[0] & 0xff;
186 if (scale & 0x80) {
187 scale |= 0xffffff00
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/i915/gt/
intel_llc.c 104 const int scale = 180; local in function:calc_ia_freq
117 ia_freq = consts->max_ia_freq - diff * scale / 2;
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/hw/
ipp.h 56 uint16_t scale; member in struct:ipp_prescale_params
  /src/usr.bin/dc/
bcode.h 25 u_int scale; member in struct:number
97 struct number *, u_int scale);
  /src/sys/dev/ic/
ath_netbsd.c 258 u_int32_t scale; local in function:ath_sysctl_tpscale
263 (void)ath_hal_gettpscale(sc->sc_ah, &scale);
264 node.sysctl_data = &scale;
268 return !ath_hal_settpscale(sc->sc_ah, scale)
  /src/sbin/dmesg/
dmesg.c 134 pnsec(long nsec, long fsec, int scale)
136 if (scale > 6)
139 printf("%*.*ld%.*s", scale, scale, fsec, 6 - scale, "000000");
159 int scale; local in function:main
268 scale = 0;
287 scale++; \
312 scale = 0;
348 for (nsec = fsec, j = 9 - scale; --j >= 0;
    [all...]
  /src/sys/arch/evbmips/loongson/
loongson_clock.c 62 #define scale(x, f) (x * scale_d[f] / scale_m[f]) macro
92 * clock scale register on a warm boot, the MIPS clock code gets
199 * the last timer interrupt, scale it to CPU clock, return that plus the
218 * - we need to use the previous sc_step in order to scale the
231 sc_count += scale(diff, sc_step);
266 return sc_count + scale(diff, sc_step);
  /src/sys/dev/pci/voyager/
pwmclock.c 85 #define scale(x, f) (x * scale_d[f] / scale_m[f]) macro
147 * clock scale register on a warm boot, the MIPS clock code gets
259 * the last timer interrupt, scale it to CPU clock, return that plus the
288 * - we need to use the previous sc_step in order to scale the
301 sc->sc_count += scale(diff, sc->sc_step);
331 return sc->sc_count + scale(diff, sc->sc_step);
  /src/sys/external/bsd/drm2/dist/drm/i2c/
ch7006_mode.c 111 subc, scale, scale_mask, norm_mask, e_hd, e_vd) { \
134 .dispmode = bitfs(CH7006_DISPMODE_SCALING_RATIO, scale) | \
141 subc, scale, scale_mask, norm_mask) \
142 __MODE(f, hd, vd, ht, vt, hsynp, vsynp, subc, scale, \
341 uint64_t scale, aspect; local in function:ch7006_setup_properties
351 scale = norm->vtotal*fixed1;
352 do_div(scale, mode->vtotal);
357 hpos = round_fixed((norm->hvirtual * aspect - mode->hdisplay * scale)
363 vpos = max(0, norm->vdisplay - round_fixed(mode->vdisplay*scale)
  /src/lib/libc/gdtoa/
strtod.c 75 (x, scale) U *x; int scale; variable in typeref:typename:int
77 (U *x, int scale)
85 if (!scale || (i = 2*P + 1 - ((word0(x) & Exp_mask) >> Exp_shift)) <= 0)
97 int scale; local in function:_int_strtod_l
433 scale = 0;
522 scale = 2*P;
526 if (scale && (j = 2*P + 1 - ((word0(&rv) & Exp_mask)
610 j = bbe - scale;
640 bd2 += scale;
    [all...]
  /src/sys/dev/spi/
mcp3k.c 421 int32_t val, scale; local in function:mcp3kadc_envsys_refresh
425 scale = sc->sc_adc_max + 1;
475 scale >>= 1; /* MSB is the sign */
478 /* scale the value for Vref and convert to mV */
479 edata->value_cur = (sc->sc_vref_mv * val / scale) * 1000;

Completed in 22 milliseconds

1 2 3