/freebsd-current/lib/libc/stdlib/ |
H A D | ldiv.c | 38 ldiv(long num, long denom) argument 44 r.quot = num / denom; 45 r.rem = num % denom;
|
H A D | div.c | 38 div(int num, int denom) argument 42 r.quot = num / denom; 43 r.rem = num % denom;
|
H A D | imaxdiv.c | 33 imaxdiv(intmax_t numer, intmax_t denom) argument 37 retval.quot = numer / denom; 38 retval.rem = numer % denom;
|
H A D | lldiv.c | 33 lldiv(long long numer, long long denom) argument 37 retval.quot = numer / denom; 38 retval.rem = numer % denom;
|
/freebsd-current/usr.bin/random/ |
H A D | randomize_fd.h | 41 int randomize_fd(int fd, int type, int unique, double denom); 49 static const uint64_t denom = (1ull << 53); local 50 static const uint64_t mask = denom - 1; 62 * We are not allowed to emit 1.0, so denom must be one greater than 67 return ((double)rand64 / denom); 71 * Returns true with probability 1 / denom (a floating point number >= 1). 75 random_uniform_denom(double denom) argument 77 return ((uint64_t)(denom * random_unit_float()) == 0);
|
H A D | random.c | 55 double denom; local 62 denom = 0.; 110 denom = (randomize_lines ? 1. : 2.); 114 denom = strtod(*argv, &ep); 117 if (denom < 1. || *ep != '\0') 119 if (random_exit && denom > 256.) 141 ret = randomize_fd(fd, random_type, unique_output, denom); 146 /* Compute a random exit status between 0 and denom - 1. */ 148 return (arc4random_uniform(denom)); 151 * Filter stdin, selecting lines with probability 1/denom, on [all...] |
H A D | randomize_fd.c | 94 randomize_fd(int fd, int type, int unique, double denom) argument 219 if (random_uniform_denom(denom)) {
|
/freebsd-current/lib/msun/src/ |
H A D | s_ctanh.c | 77 double t, beta, s, rho, denom; local 135 denom = 1 + beta * s * s; 136 return (CMPLX((beta * rho * s) / denom, t / denom));
|
H A D | s_ctanhf.c | 42 float t, beta, s, rho, denom; local 73 denom = 1 + beta * s * s; 74 return (CMPLXF((beta * rho * s) / denom, t / denom));
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/ppc/ |
H A D | divtc3.c | 42 const long double denom = local 49 DD real = {.ld = __gcc_qdiv(realNumerator, denom)}; 50 DD imag = {.ld = __gcc_qdiv(imagNumerator, denom)}; 60 DD rDD = {.ld = denom};
|
/freebsd-current/sys/contrib/zstd/programs/ |
H A D | timefn.c | 70 return (((clockEnd - clockStart) * (PTime)rate.numer) / ((PTime)rate.denom))/1000ULL; 81 return ((clockEnd - clockStart) * (PTime)rate.numer) / ((PTime)rate.denom);
|
/freebsd-current/usr.bin/tip/libacu/ |
H A D | ventel.c | 58 #define delay(num,denom) busyloop(CPUSPEED*num/denom)
|
/freebsd-current/sys/arm64/rockchip/ |
H A D | rk_tsadc.c | 388 int denom, ntbl, raw, i; local 413 denom = tbl[i - 1].temp - tbl[i].temp; 414 raw = tbl[i - 1].raw + raw / denom; 422 int denom, ntbl, temp, i; local 464 denom = tbl[i - 1].raw - tbl[i].raw; 465 temp = tbl[i - 1].temp + temp / denom;
|
/freebsd-current/contrib/ntp/sntp/libevent/ |
H A D | evutil_time.c | 395 mi.denom *= 1000; 417 / (base->mach_timebase_units.denom);
|
/freebsd-current/contrib/libevent/ |
H A D | evutil_time.c | 395 mi.denom *= 1000; 417 / (base->mach_timebase_units.denom);
|
/freebsd-current/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | MallocOverflowSecurityChecker.cpp | 194 const Expr *denom = BOp->getRHS()->IgnoreParenImpCasts(); local 196 if (denom->EvaluateAsInt(Result, Context)) {
|
/freebsd-current/sys/dev/pms/RefTisa/sallsdk/spc/ |
H A D | mpi.c | 881 bit32 denom; local 886 denom = saRoot->QueueConfig.numInboundQueues; 887 if (saRoot->IBQnumber % denom == 0) /* % Qnumber*/ 895 denom = saRoot->QueueConfig.numOutboundQueues; 896 if (saRoot->OBQnumber % denom == 0) /* % Qnumber*/
|
/freebsd-current/contrib/wpa/src/utils/ |
H A D | os_unix.c | 118 if (!info.denom) { 124 nano = (abstime * info.numer) / info.denom;
|
/freebsd-current/contrib/ntp/sntp/libevent/test/ |
H A D | regress_main.c | 211 ((double)info.denom / (double)info.numer) * NANOS_PER_MSEC;
|
/freebsd-current/contrib/libevent/test/ |
H A D | regress_main.c | 211 ((double)info.denom / (double)info.numer) * NANOS_PER_MSEC;
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_mac.cpp | 540 if (timebase_info.denom == 0) mach_timebase_info(&timebase_info); 541 return (mach_absolute_time() * timebase_info.numer) / timebase_info.denom;
|
/freebsd-current/sys/dev/pms/RefTisa/tisa/sassata/common/ |
H A D | tdport.c | 7976 // bit32 denom = tdsaAllShared->QueueConfig.numOutboundQueues; 7997 bit32 denom = tdsaAllShared->QueueConfig.numInboundQueues; local 8002 if (tdsaAllShared->IBQnumber % denom == 0) /* % Qnumber*/ 8011 denom = tdsaAllShared->QueueConfig.numOutboundQueues; 8012 if (tdsaAllShared->OBQnumber % denom == 0) /* % Qnumber*/
|