Searched refs:denom (Results 1 - 9 of 9) sorted by relevance

/barrelfish-master/lib/libc/stdlib/
H A Dlldiv.c34 lldiv(long long numer, long long denom) argument
38 retval.quot = numer / denom;
39 retval.rem = numer % denom;
43 retval.rem -= denom;
H A Ddiv.c42 div(num, denom)
43 int num, denom;
47 r.quot = num / denom;
48 r.rem = num % denom;
59 * r.rem will have the same sign as denom and the opposite
65 * If both are num and denom are positive, r will always
71 * subtract denom from r.rem.
75 r.rem -= denom;
H A Dldiv.c42 ldiv(num, denom)
43 long num, denom;
49 r.quot = num / denom;
50 r.rem = num % denom;
54 r.rem -= denom;
H A Dimaxdiv.c34 imaxdiv(intmax_t numer, intmax_t denom) argument
38 retval.quot = numer / denom;
39 retval.rem = numer % denom;
43 retval.rem -= denom;
/barrelfish-master/lib/msun/src/
H A Ds_ctanh.c78 double t, beta, s, rho, denom; local
134 denom = 1 + beta * s * s;
135 return (CMPLX((beta * rho * s) / denom, t / denom));
H A Ds_ctanhf.c43 float t, beta, s, rho, denom; local
74 denom = 1 + beta * s * s;
75 return (CMPLXF((beta * rho * s) / denom, t / denom));
/barrelfish-master/lib/compiler-rt/test/timing/
H A Dtiming.h23 conversion = (double) freq * (1e-9 * (double) info.numer / (double) info.denom);
/barrelfish-master/usr/eclipseclp/Alog/src/
H A Dadjlogs.c78 a fraction that is represented by numer[i]/denom[i] on the i'th
81 unsigned long *denom; variable
144 denom = (unsigned long *) malloc( np * sizeof(unsigned long) );
170 denom[i] = (synctime[1].time[i] - synctime[0].time[i]);
192 i, globaloffset[i], numer[i], denom[i] );
433 frac = ScaleLong( numer[p], denom[p], tdiff );
438 frac = ScaleLong( numer[p], denom[p], tdiff );
510 s(j)/s(i) == denom(i)/denom(j) (since numer(i)==numer(j)) */
511 delta = ScaleLong( denom[
[all...]
/barrelfish-master/lib/cxx/cxx/
H A Dchrono.cpp129 // mach_absolute_time() * MachInfo.numer / MachInfo.denom is the number of
130 // nanoseconds since the computer booted up. MachInfo.numer and MachInfo.denom
134 // MachInfo.numer / MachInfo.denom is often 1 on the latest equipment. Specialize
150 return static_cast<double>(MachInfo.numer) / MachInfo.denom;
169 if (MachInfo.numer == MachInfo.denom)

Completed in 110 milliseconds