Searched refs:denominator (Results 1 - 25 of 28) sorted by relevance

12

/openbsd-current/gnu/llvm/clang/tools/scan-build-py/tests/functional/src/
H A Demit-one.c3 int div(int numerator, int denominator) argument
5 return numerator / denominator;
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dml/calcs/
H A Dbw_fixed.c57 struct bw_fixed bw_frc_to_fixed(int64_t numerator, int64_t denominator) argument
61 bool arg2_negative = denominator < 0;
69 ASSERT(denominator != 0);
72 arg2_value = abs_i64(denominator);
/openbsd-current/usr.bin/units/
H A Dunits.c48 char *denominator[MAXSUBUNITS]; member in struct:unittype
202 theunit->numerator[0] = theunit->denominator[0] = NULL;
247 for (ptr = theunit->denominator; *ptr; ptr++) {
248 if (ptr > theunit->denominator && **ptr &&
353 : theunit->denominator, item)) {
386 for (count = 0, ptr = theunit->denominator; *ptr; ptr++, count++);
387 qsort(theunit->denominator, count, sizeof(char *), compare);
397 den = theunit->denominator;
508 product = theunit->denominator;
538 Reduces numerator and denominator o
[all...]
/openbsd-current/gnu/gcc/gcc/
H A Dlambda.h42 represents the denominator for every element in the matrix. */
48 int denominator; member in struct:__anon299
53 #define LTM_DENOMINATOR(T) ((T)->denominator)
58 The DENOMINATOR represents the denominator for each coefficient in the
68 int denominator; member in struct:__anon300
72 #define LBV_DENOMINATOR(T) ((T)->denominator)
82 DENOMINATOR is the denominator for all of the coefficients and constants in
91 int denominator; member in struct:lambda_linear_expression_s
98 #define LLE_DENOMINATOR(T) ((T)->denominator)
H A Dlambda-code.c289 fprintf (outfile, " denominator: %d\n", LLE_DENOMINATOR (expr));
813 /* Include the denominator in the GCD. */
1581 /* Handle any denominator that occurs. */
1584 tree denominator = build_int_cst (type, LBV_DENOMINATOR (lbv)); local
1586 build2 (CEIL_DIV_EXPR, type, name, denominator));
1754 /* Handle any denominator that occurs. */
1762 /* name = {ceil, floor}(name/denominator) */
/openbsd-current/sys/dev/pci/drm/amd/display/dc/basics/
H A Dfixpt31_32.c71 struct fixed31_32 dc_fixpt_from_fraction(long long numerator, long long denominator) argument
76 bool arg2_negative = denominator < 0;
79 unsigned long long arg2_value = arg2_negative ? -denominator : denominator;
/openbsd-current/gnu/gcc/gcc/config/arc/
H A Dlib1funcs.asm123 ; inputs: r0 = numerator, r1 = denominator
133 sub.f 0,r1,0 ; is denominator -ve?
134 sub.lt r1,0,r1 ; negate denominator
165 ; inputs: r0 = numerator, r1 = denominator
/openbsd-current/gnu/usr.bin/gcc/gcc/config/arc/
H A Dlib1funcs.asm119 ; inputs: r0 = numerator, r1 = denominator
129 sub.f 0,r1,0 ; is denominator -ve?
130 sub.lt r1,0,r1 ; negate denominator
161 ; inputs: r0 = numerator, r1 = denominator
/openbsd-current/gnu/gcc/gcc/config/h8300/
H A Dlib1funcs.asm282 ; D != 0 - which means the denominator is
341 mov.b A2H,A2H ; is the denominator -ve
373 mov.b A2H,A2H ; is the denominator -ve
396 mov.l A1P,A1P ; is the denominator -ve
415 mov.l A1P,A1P ; is the denominator -ve
426 ; denominator in A2/A3
517 ; A2/A3 denominator (A1P for H8/300H)
602 mov.w A1E,A1E ; denominator top word 0?
/openbsd-current/gnu/usr.bin/gcc/gcc/config/h8300/
H A Dlib1funcs.asm282 ; D != 0 - which means the denominator is
343 mov.b A2H,A2H ; is the denominator -ve
377 mov.b A2H,A2H ; is the denominator -ve
401 mov.l A1P,A1P ; is the denominator -ve
421 mov.l A1P,A1P ; is the denominator -ve
432 ; denominator in A2/A3
509 ; A2/A3 denominator (A1P for H8/300H)
593 mov.w A1E,A1E ; denominator top word 0?
/openbsd-current/gnu/llvm/llvm/include/llvm/ProfileData/
H A DMemProfData.inc136 // Multiply by 1000 to convert denominator lifetime to seconds (using a
/openbsd-current/gnu/llvm/compiler-rt/include/profile/
H A DMemProfData.inc136 // Multiply by 1000 to convert denominator lifetime to seconds (using a
/openbsd-current/sys/dev/pci/drm/amd/display/include/
H A Dfixed31_32.h79 * result = numerator / denominator
81 struct fixed31_32 dc_fixpt_from_fraction(long long numerator, long long denominator);
/openbsd-current/gnu/gcc/gcc/config/
H A Dfp-bit.c974 fractype denominator;
1011 ( numerator / denominator) * 2^(numerator exponent - denominator exponent)
1016 denominator = b->fraction.ll;
1018 if (numerator < denominator)
1029 if (numerator >= denominator)
1032 numerator -= denominator;
/openbsd-current/gnu/usr.bin/gcc/gcc/config/
H A Dfp-bit.c927 fractype denominator;
964 ( numerator / denominator) * 2^(numerator exponent - denominator exponent)
969 denominator = b->fraction.ll;
971 if (numerator < denominator)
982 if (numerator >= denominator)
985 numerator -= denominator;
/openbsd-current/gnu/usr.bin/perl/cpan/Math-BigRat/lib/Math/
H A DBigRat.pm7 # _d : denominator
257 # Get numerator and denominator. If any of the arguments is undefined,
282 # If the denominator is defined, the numerator is not a string
286 # If the denominator is undefined, the numerator might be a string
390 if ($d < 0) { # make sure denominator is positive
1060 # At this point, both the numerator and denominator are finite numbers, and
1061 # the denominator (divisor) is non-zero.
1144 # At this point, both the numerator and denominator are finite numbers, and
1145 # the denominator (divisor) is non-zero.
1288 sub denominator { subroutine
[all...]
/openbsd-current/sys/dev/usb/
H A Duvideo.c3043 fivals->stepwise.min.denominator = 10000000;
3046 fivals->stepwise.max.denominator = 10000000;
3049 fivals->stepwise.step.denominator = 10000000;
3061 fivals->discrete.denominator = 10000000;
3166 parm->parm.capture.timeperframe.denominator == 0) {
3170 parm->parm.capture.timeperframe.denominator /
3196 parm->parm.capture.timeperframe.denominator = 10000000;
H A Dutvfu.c1825 parm->parm.capture.timeperframe.denominator = 1;
1831 parm->parm.capture.timeperframe.denominator = 1;
/openbsd-current/gnu/usr.bin/perl/lib/unicore/
H A Dmktables12621 # See if the denominator is a power of 2.
12623 my $denominator = $1;
12624 if (defined $denominator && (($denominator & ($denominator - 1)) == 0)) {
12626 # Here the denominator is a power of 2. This means it has an exact
12682 my $denominator = $3;
12687 my $gcd = gcd($numerator, $denominator);
12692 $denominator /= $gcd;
12693 $$fraction_ref = "$sign$numerator/$denominator";
[all...]
/openbsd-current/sys/dev/pci/drm/amd/display/dc/link/
H A Dlink_dpms.c1059 uint32_t denominator = 1; local
1076 denominator = 54 * 8 * 1000;
1078 peak_kbps = dc_fixpt_from_fraction(kbps, denominator);
/openbsd-current/gnu/usr.bin/perl/cpan/Math-BigInt/lib/Math/
H A DBigInt.pm2072 # Numerator (dividend) is +/-inf, and denominator is finite and non-zero.
2123 # At this point, both the numerator and denominator are finite numbers, and
2124 # the denominator (divisor) is non-zero.
2245 # Numerator (dividend) is +/-inf, and denominator is finite and non-zero.
4199 # Fractional parts with the numerator and denominator as integers. E.g.,
4247 sub denominator { subroutine
4252 return $upgrade -> denominator($x, @r)
5771 # thingy, and the absolute value of the denominator as a library thingy.
6001 $x->fparts(); # numerator and denominator
6003 $x->denominator(); # denominato
[all...]
/openbsd-current/gnu/gcc/gcc/config/m68hc11/
H A Dlarith.asm690 ;; X = denominator
/openbsd-current/gnu/usr.bin/gcc/gcc/config/m68hc11/
H A Dlarith.asm690 ;; X = denominator
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn10/
H A Ddcn10_hw_sequencer.c2029 uint64_t *denominator,
2055 denom = *denominator;
2074 *denominator = denom;
2028 reduceSizeAndFraction(uint64_t *numerator, uint64_t *denominator, bool checkUint32Bounary) argument
/openbsd-current/gnu/usr.bin/perl/
H A Dregcomp.c15057 * is a denominator. It can have a leading '+' and '0's that should be
15058 * skipped. But we have never allowed a negative denominator, so treat
15076 /* Store the first real character in the denominator */
15567 UV numerator, denominator, gcd, trial; local
15571 /* We can't just find the numerator, denominator, and do the
15601 /* Set to look at just the denominator */
15606 /* Convert the denominator to numeric */
15607 if (! grok_atoUV(this_lookup_name, &denominator, &end_ptr)) {
15614 || denominator == 0)
15619 /* Get the greatest common denominator usin
[all...]

Completed in 521 milliseconds

12