Searched refs:frac (Results 1 - 25 of 81) sorted by relevance

1234

/macosx-10.10/tcl-105/tcl_ext/snack/snack/generic/
H A DjkSynthesis.c126 double a[2],b[2],c[2],frac,z; local
152 frac = i*z;
153 out[i] = (float)(LIN(a,frac)*in[i] + LIN(b,frac)*out[i-1] + LIN(c,frac)*out[i-2]);
322 double frac,a,b,v[2],tmp; local
345 frac = fr*z;
347 out[i++]=(float)(LIN(mf->ampl,frac)*2*(y*rand()-.5));
356 frac = fr*z;
357 ph = fmod (ph + LIN(mf->freq,frac)/s
[all...]
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/libraries/liblutil/
H A Dmeter.c139 double frac, cycle_length, speed, now; local
149 frac = ((double)position) / ((double) meter->goal_value);
151 if (frac <= 0.0) return 0;
152 if (frac >= 1.0) {
163 frac,
173 frac,
225 double frac,
259 char *bar_pos = frac < 0.0 ?
261 frac < 1.0 ?
262 buf + (int) (bar_lengthd * frac)
223 text_update( void **display_datap, double frac, time_t remaining_time, time_t elapsed, double byte_rate) argument
349 linear_update( void **estimator_datap, double start, double frac, time_t *remaining) argument
[all...]
/macosx-10.10/ntp-92/include/
H A Dntp_datum.h25 unsigned long frac; member in struct:vmedate
/macosx-10.10/OpenLDAP-499.27/OpenLDAP/include/
H A Dlutil_meter.h35 int (*display_update) (void **datap, double frac, time_t remaining_time, time_t elapsed, double byte_rate);
41 int (*estimator_update) (void **datap, double start, double frac, time_t *remaining_time);
/macosx-10.10/ruby-106/ruby/ext/tk/lib/tkextlib/tcllib/
H A Druler.rb62 def shade(org, dest, frac)
63 tk_send('shade', org, dest, frac)
/macosx-10.10/curl-83.1.2/curl/src/
H A Dtool_cb_prg.c49 double frac; local
85 frac = (double)point / (double)total;
86 percent = frac * 100.0f;
88 num = (int) (((double)barwidth) * frac);
/macosx-10.10/emacs-93/emacs/lisp/calc/
H A Dcalc-macs.el87 (if (memq (car a) '(frac float))
103 (if (memq (car a) '(frac float))
119 (memq (car a) '(bigpos bigneg frac))))
123 (memq (car a) '(bigpos bigneg frac float))))
127 (memq (car a) '(bigpos bigneg frac float hms))))
131 (memq (car a) '(bigpos bigneg frac float cplx polar))))
135 (memq (car a) '(bigpos bigneg frac float cplx polar hms))))
148 '(bigpos bigneg frac float cplx polar hms date sdev intv mod))))
153 '(bigpos bigneg frac float cplx polar hms date
172 (memq (car a) '(bigpos bigneg frac floa
[all...]
H A Dcalc-frac.el1 ;;; calc-frac.el --- fraction functions for Calc
44 (let ((func (if (calc-is-hyperbolic) 'calcFunc-frac 'calcFunc-pfrac)))
46 (calc-enter-result 2 "frac" (list func
49 (calc-enter-result 1 "frac" (list func
63 (calc-change-mode 'calc-frac-format (list fmt n) t))
69 (calc-change-mode 'calc-frac-format (if n '("//" nil) '("/" nil)) t)))
72 (defun calc-frac-mode (n)
75 (calc-change-mode 'calc-prefer-frac n nil t)
76 (message (if calc-prefer-frac
86 (defun math-make-frac (nu
[all...]
H A Dcalc-funcs.el800 (calcFunc-euler n '(frac 1 2))))))
802 (defvar math-bernoulli-b-cache '((frac -174611
804 (frac 43867 (bigpos 0 944 170 217 94 109 5))
805 (frac -3617 (bigpos 0 880 842 622 670 10))
806 (frac 1 (bigpos 600 249 724 74))
807 (frac -691 (bigpos 0 368 674 307 1))
808 (frac 1 (bigpos 160 900 47))
809 (frac -1 (bigpos 600 209 1))
810 (frac 1 30240) (frac
[all...]
H A Dcalc-keypd.el223 ( "FRAC" calc-frac-mode )
401 radix frac inv
404 frac calc-prefer-frac
452 (setq frac (assq cmd '( ( calc-plus . "+" )
459 (setq calc-keypad-input (concat input (cdr frac))))
487 (if frac "1" "0"))))
489 (if (and (equal cmd ".") frac)
/macosx-10.10/libdispatch-442.1.4/src/shims/
H A Dtime.h64 long double frac; member in struct:_dispatch_host_time_data_s
82 long double big_tmp = ((long double)machtime * data->frac) + .5;
101 long double big_tmp = ((long double)nsec / data->frac) + .5;
/macosx-10.10/xnu-2782.1.97/osfmk/kern/
H A Dsched_average.c83 #define frac(n) (((base(n) - 1) * LOAD_SCALE) / base(n)) macro
86 frac(5), /* 5 second average */
87 frac(30), /* 30 second average */
88 frac(60), /* 1 minute average */
92 #undef frac macro
/macosx-10.10/ruby-106/ruby/ext/bigdecimal/
H A Dbigdecimal.h140 /*(frac[0] to frac[MaxPrec] are available). */
143 /* the array frac[] is actually used. */
156 BDIGIT frac[FLEXIBLE_ARRAY_SIZE]; /* Array of fraction part. */ member in struct:__anon12285
216 VP_EXPORT int VpCtoV(Real *a, const char *int_chr, size_t ni, const char *frac, size_t nf, const char *exp_chr, size_t ne);
255 #define VpSetOne(a) {(a)->Prec=(a)->exponent=(a)->frac[0]=1;(a)->sign=VP_SIGN_POSITIVE_FINITE;}
261 #define VpSetPosZero(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_POSITIVE_ZERO)
262 #define VpSetNegZero(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_NEGATIVE_ZERO)
267 #define VpSetNaN(a) ((a)->frac[0]=0,(a)->Prec=1,(a)->sign=VP_SIGN_NaN)
274 #define VpSetPosInf(a) ((a)->frac[
[all...]
H A Dbigdecimal.c345 hash ^= rb_memhash(p->frac, sizeof(BDIGIT)*p->Prec);
588 #define VpAllocReal(prec) (Real *)VpMemAlloc(offsetof(Real, frac) + (prec) * sizeof(BDIGIT))
589 #define VpReallocReal(ptr, prec) (Real *)VpMemRealloc((ptr), offsetof(Real, frac) + (prec) * sizeof(BDIGIT))
602 MEMCPY(pv->frac, x->frac, BDIGIT, pv->MaxPrec);
670 return LONG2NUM((long)(VpGetSign(p)*(BDIGIT_DBL_SIGNED)p->frac[0]));
1256 if(VpHasVal(div)) { /* frac[0] must be zero for NaN,INF,Zero */
1257 VpInternalRound(c, 0, c->frac[c->Prec-1], (BDIGIT)(VpBaseVal()*(BDIGIT_DBL)res->frac[0]/div->frac[
5213 VpCtoV(Real *a, const char *int_chr, size_t ni, const char *frac, size_t nf, const char *exp_chr, size_t ne) argument
[all...]
/macosx-10.10/groff-38/groff/src/preproc/grn/
H A Dhdb.cpp294 register int c, i, j, m, frac; local
302 i = m = frac = 0;
310 frac = 1;
312 if (frac)
323 j = m = frac = 0;
331 frac = 1;
333 if (frac)
/macosx-10.10/libdispatch-442.1.4/src/
H A Dtime.c57 _dispatch_host_time_data.frac = tbi.numer;
58 _dispatch_host_time_data.frac /= tbi.denom;
63 _dispatch_host_time_data.frac = (long double)NSEC_PER_SEC /
/macosx-10.10/ruby-106/ruby/ext/bigdecimal/lib/bigdecimal/
H A Dutil.rb70 _,f,_,z = self.frac.split
/macosx-10.10/ntp-92/ntpd/
H A Drefclock_bancomm.c126 long frac; member in struct:vmedate
377 tptr->frac,
386 pp->nsec = tptr->frac;
495 time_vme->frac = (u_long) atoi(cbuf);
523 time_vme->frac = (dmin & 0x000fffff) * 1000;
524 time_vme->frac += ((dmin & 0x00f00000) >> 20) * 100;
539 time_vme->frac = stfp->usec*1000;
540 time_vme->frac += stfp->hnsec * 100;
/macosx-10.10/vim-55/src/
H A Dtermlib.c541 long frac, /* 10^(#digits after decimal point) */ local
547 frac = 1000;
553 frac = frac * 10;
561 /* Calculate number of characters for padding counter/frac ms delay */
563 counter = (counter * _bauds[ospeed] * (long)affcnt) / frac;
/macosx-10.10/ICU-531.30/icuSources/i18n/
H A Dhebrwcal.cpp395 int64_t frac = (int64_t)months * MONTH_FRACT + BAHARAD; // Fractional part of day # local
396 day = months * 29 + (int32_t)(frac / DAY_PARTS); // Whole # part of calculation
397 frac = frac % DAY_PARTS; // Time of day
406 if (wd == 1 && frac > 15*HOUR_PARTS+204 && !isLeapYear(year) ) {
412 else if (wd == 0 && frac > 21*HOUR_PARTS+589 && isLeapYear(year-1) ) {
/macosx-10.10/less-25/less/
H A Doption.c682 long frac = 0; local
691 frac = (frac * 10) + (*s - '0');
696 frac /= 10;
699 frac *= 10;
703 return (frac);
/macosx-10.10/ntp-92/sntp/
H A Dmain.c405 double frac, whole; local
406 frac = modf(offset, &whole);
411 tp.tv_usec += frac * USEC_PER_SEC;
432 tp.tv_usec = frac * USEC_PER_SEC;
/macosx-10.10/MITKerberosShim-66/profile/
H A Dprof_file.c363 unsigned long frac; local
397 frac = st.st_mtimensec;
399 frac = st.st_mtimespec.tv_nsec;
401 frac = st.st_mtim.tv_nsec;
403 frac = 0;
406 && frac == data->frac_ts
459 data->frac_ts = frac;
/macosx-10.10/gpatch-3/patch/
H A Dpartime.c698 int frac; local
699 s = parse_decimal (s, 2, 0, 23, 60 * 60, &t->tm.tm_hour, &frac);
700 t->tm.tm_min = frac / 60;
701 t->tm.tm_sec = frac % 60;
753 int frac; local
754 s = parse_decimal (s, 2, 0, 60, 1, &t->tm.tm_sec, &frac);
755 t->tm.tm_sec += frac;
/macosx-10.10/ntp-92/libsntp/
H A Dlibsntp_query.c306 double frac, whole;
307 frac = modf(offset, &whole);
310 tv->tv_usec += frac * USEC_PER_SEC;

Completed in 402 milliseconds

1234