/third_party/jerryscript/jerry-core/ecma/base/ |
D | ecma-helpers-number.c | 54 uint64_t fraction) /**< fraction */ in ecma_number_pack() argument 57 JERRY_ASSERT ((fraction & ~((1ull << ECMA_NUMBER_FRACTION_WIDTH) - 1)) == 0); in ecma_number_pack() 61 ((uint32_t) fraction)); in ecma_number_pack() 117 uint64_t fraction) /**< fraction */ in ecma_number_pack() argument 121 fraction); in ecma_number_pack() 124 JERRY_ASSERT ((fraction & ~((1ull << ECMA_NUMBER_FRACTION_WIDTH) - 1)) == 0); in ecma_number_pack() 178 uint64_t fraction; in ecma_number_get_fraction_field() local 180 ecma_number_unpack (num, NULL, NULL, &fraction); in ecma_number_get_fraction_field() 182 return fraction; in ecma_number_get_fraction_field() 229 uint64_t fraction = ecma_number_get_fraction_field (num); in ecma_number_is_nan() local [all …]
|
/third_party/skia/tests/sksl/intrinsics/ |
D | Modf.glsl | 11 vec4 fraction; 12 fraction.x = modf(value.x, whole.x); 13 ok.x = whole.x == 2.0 && fraction.x == 0.5; 14 fraction.xy = modf(value.xy, whole.xy); 15 ok.y = whole.xy == vec2(2.0, -2.0) && fraction.xy == vec2(0.5, -0.5); 16 fraction.xyz = modf(value.xyz, whole.xyz); 17 ok.z = whole.xyz == vec3(2.0, -2.0, 8.0) && fraction.xyz == vec3(0.5, -0.5, 0.0); 18 fraction = modf(value, whole); 19 ok.w = whole == expectedWhole && fraction == expectedFraction;
|
D | Modf.metal | 45 float4 fraction; 46 fraction.x = _skOutParamHelper0_modf(value.x, whole); 47 ok.x = whole.x == 2.0 && fraction.x == 0.5; 48 fraction.xy = _skOutParamHelper1_modf(value.xy, whole); 49 ok.y = all(whole.xy == float2(2.0, -2.0)) && all(fraction.xy == float2(0.5, -0.5)); 50 fraction.xyz = _skOutParamHelper2_modf(value.xyz, whole); 51 ok.z = all(whole.xyz == float3(2.0, -2.0, 8.0)) && all(fraction.xyz == float3(0.5, -0.5, 0.0)); 52 fraction = _skOutParamHelper3_modf(value, whole); 53 ok.w = all(whole == expectedWhole) && all(fraction == expectedFraction);
|
D | Modf.asm.frag | 18 OpName %fraction "fraction" 99 %fraction = OpVariable %_ptr_Function_v4float Function 114 %57 = OpAccessChain %_ptr_Function_float %fraction %int_0 122 %63 = OpLoad %v4float %fraction 137 %76 = OpLoad %v4float %fraction 139 OpStore %fraction %77 147 %86 = OpLoad %v4float %fraction 163 %103 = OpLoad %v4float %fraction 165 OpStore %fraction %104 173 %113 = OpLoad %v4float %fraction [all …]
|
/third_party/skia/resources/sksl/intrinsics/ |
D | Modf.sksl | 8 float4 whole, fraction; 10 fraction.x = modf(value.x, whole.x); 11 ok.x = whole.x == expectedWhole.x && fraction.x == expectedFraction.x; 12 fraction.xy = modf(value.xy, whole.xy); 13 ok.y = whole.xy == expectedWhole.xy && fraction.xy == expectedFraction.xy; 14 fraction.xyz = modf(value.xyz, whole.xyz); 15 ok.z = whole.xyz == expectedWhole.xyz && fraction.xyz == expectedFraction.xyz; 16 fraction.xyzw = modf(value.xyzw, whole.xyzw); 17 ok.w = whole.xyzw == expectedWhole.xyzw && fraction.xyzw == expectedFraction.xyzw;
|
/third_party/boost/boost/geometry/algorithms/detail/turns/ |
D | print_turns.hpp | 50 double fraction[2]; in operator ()() local 52 fraction[0] = turn.operations[0].fraction.numerator() in operator ()() 53 / turn.operations[0].fraction.denominator(); in operator ()() 60 out << ", fr: " << fraction[0]; in operator ()() 66 fraction[1] = turn.operations[1].fraction.numerator() in operator ()() 67 / turn.operations[1].fraction.denominator(); in operator ()() 74 out << ", fr: " << fraction[1]; in operator ()()
|
D | compare_turns.hpp | 89 geometry::math::equals(left.operations[OpId].fraction, in use_fraction() 90 right.operations[OpId].fraction) in use_fraction() 94 (left.operations[OpId].fraction < right.operations[OpId].fraction) in use_fraction()
|
/third_party/glslang/SPIRV/ |
D | hex_float.h | 685 uint_type fraction = static_cast<uint_type>((bits & HF::fraction_encode_mask) 688 const bool is_zero = exponent == 0 && fraction == 0; 702 while ((fraction & HF::fraction_top_bit) == 0) { 703 fraction = static_cast<uint_type>(fraction << 1); 708 fraction = static_cast<uint_type>(fraction << 1); // eat the leading 1 709 fraction &= HF::fraction_represent_mask; 715 while (fraction_nibbles > 0 && (fraction & 0xF) == 0) { 717 fraction = static_cast<uint_type>(fraction >> 4); 729 << std::setfill('0') << std::hex << fraction; 893 uint_type fraction = 0; [all …]
|
/third_party/flutter/skia/third_party/externals/spirv-tools/source/util/ |
D | hex_float.h | 683 uint_type fraction = static_cast<uint_type>((bits & HF::fraction_encode_mask) 686 const bool is_zero = exponent == 0 && fraction == 0; 700 while ((fraction & HF::fraction_top_bit) == 0) { 701 fraction = static_cast<uint_type>(fraction << 1); 706 fraction = static_cast<uint_type>(fraction << 1); // eat the leading 1 707 fraction &= HF::fraction_represent_mask; 713 while (fraction_nibbles > 0 && (fraction & 0xF) == 0) { 715 fraction = static_cast<uint_type>(fraction >> 4); 727 << std::setfill('0') << std::hex << fraction; 891 uint_type fraction = 0; [all …]
|
/third_party/ffmpeg/libavformat/ |
D | replaygain.c | 41 char *fraction; in parse_value() local 55 db = strtol(value, &fraction, 0); in parse_value() 56 if (*fraction++ == '.') { in parse_value() 57 while (av_isdigit(*fraction) && scale) { in parse_value() 58 mb += scale * (*fraction - '0'); in parse_value() 60 fraction++; in parse_value()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/util/ |
D | hex_float.h | 755 uint_type fraction = static_cast<uint_type>((bits & HF::fraction_encode_mask) 758 const bool is_zero = exponent == 0 && fraction == 0; 772 while ((fraction & HF::fraction_top_bit) == 0) { 773 fraction = static_cast<uint_type>(fraction << 1); 778 fraction = static_cast<uint_type>(fraction << 1); // eat the leading 1 779 fraction &= HF::fraction_represent_mask; 785 while (fraction_nibbles > 0 && (fraction & 0xF) == 0) { 787 fraction = static_cast<uint_type>(fraction >> 4); 799 << std::setfill('0') << std::hex << fraction; 963 uint_type fraction = 0; [all …]
|
/third_party/spirv-tools/source/util/ |
D | hex_float.h | 755 uint_type fraction = static_cast<uint_type>((bits & HF::fraction_encode_mask) 758 const bool is_zero = exponent == 0 && fraction == 0; 772 while ((fraction & HF::fraction_top_bit) == 0) { 773 fraction = static_cast<uint_type>(fraction << 1); 778 fraction = static_cast<uint_type>(fraction << 1); // eat the leading 1 779 fraction &= HF::fraction_represent_mask; 785 while (fraction_nibbles > 0 && (fraction & 0xF) == 0) { 787 fraction = static_cast<uint_type>(fraction >> 4); 799 << std::setfill('0') << std::hex << fraction; 963 uint_type fraction = 0; [all …]
|
/third_party/skia/third_party/externals/spirv-tools/source/util/ |
D | hex_float.h | 755 uint_type fraction = static_cast<uint_type>((bits & HF::fraction_encode_mask) 758 const bool is_zero = exponent == 0 && fraction == 0; 772 while ((fraction & HF::fraction_top_bit) == 0) { 773 fraction = static_cast<uint_type>(fraction << 1); 778 fraction = static_cast<uint_type>(fraction << 1); // eat the leading 1 779 fraction &= HF::fraction_represent_mask; 785 while (fraction_nibbles > 0 && (fraction & 0xF) == 0) { 787 fraction = static_cast<uint_type>(fraction >> 4); 799 << std::setfill('0') << std::hex << fraction; 963 uint_type fraction = 0; [all …]
|
/third_party/skia/gm/ |
D | stringart.cpp | 74 SkScalar fraction = 1.0f - TimeUtils::Scaled(1e-9 * nanos, 2.0f/kDesiredDurationSecs, 2.0f); in onAnimate() local 75 if (fraction <= 0.0f) { in onAnimate() 76 fraction = -fraction; in onAnimate() 79 SkASSERT(fraction >= 0.0f && fraction <= 1.0f); in onAnimate() 81 fNumSteps = (int) (fraction * kMaxNumSteps); in onAnimate()
|
/third_party/flutter/skia/gm/ |
D | stringart.cpp | 74 SkScalar fraction = 1.0f - TimeUtils::Scaled(1e-9 * nanos, 2.0f/kDesiredDurationSecs, 2.0f); in onAnimate() local 75 if (fraction <= 0.0f) { in onAnimate() 76 fraction = -fraction; in onAnimate() 79 SkASSERT(fraction >= 0.0f && fraction <= 1.0f); in onAnimate() 81 fNumSteps = (int) (fraction * kMaxNumSteps); in onAnimate()
|
/third_party/protobuf/src/google/protobuf/stubs/ |
D | mathutil.h | 133 const T fraction, const T margin); 138 const T fraction, const T margin) { in WithinFractionOrMargin() argument 140 GOOGLE_DCHECK((T(0) < fraction || T(0) == fraction) && in WithinFractionOrMargin() 141 fraction < T(1) && in WithinFractionOrMargin() 154 T relative_margin = static_cast<T>(fraction * Max(Abs(x), Abs(y))); in WithinFractionOrMargin()
|
/third_party/boost/libs/math/doc/internals/ |
D | fraction.qbk | 6 #include <boost/math/tools/fraction.hpp> 51 These functions all evaluate the continued fraction described by the /generator/ 52 type argument. The functions with an "_a" suffix evaluate the fraction: 56 and those with a "_b" suffix evaluate the fraction: 61 definition of a continued fraction, but note that the first /a/ value returned by 63 continued fraction have different defining equations to the remaining terms, which 81 In all the continued fraction evaluation functions the /tolerance/ parameter is the 82 precision desired in the result, evaluation of the fraction will 91 fraction for convergence. 108 can be computed from the simplest continued fraction of all: [all …]
|
/third_party/protobuf/src/google/protobuf/util/ |
D | field_comparator.h | 142 void SetFractionAndMargin(const FieldDescriptor* field, double fraction, 151 void SetDefaultFractionAndMargin(double fraction, double margin); 164 double fraction; member 166 Tolerance() : fraction(0.0), margin(0.0) {} in Tolerance() 167 Tolerance(double f, double m) : fraction(f), margin(m) {} in Tolerance()
|
D | field_comparator.cc | 138 void DefaultFieldComparator::SetDefaultFractionAndMargin(double fraction, in SetDefaultFractionAndMargin() argument 140 default_tolerance_ = Tolerance(fraction, margin); in SetDefaultFractionAndMargin() 145 double fraction, in SetFractionAndMargin() argument 151 map_tolerance_[field] = Tolerance(fraction, margin); in SetFractionAndMargin() 198 value_1, value_2, static_cast<T>(tolerance->fraction), in CompareDoubleOrFloat()
|
/third_party/boost/libs/math/doc/distributions/ |
D | geometric.qbk | 26 // Bounds on success fraction: 39 RealType p, // Success fraction. 43 RealType p, // Success fraction. 56 each with success fraction /p/, the geometric distribution gives 77 of the success fraction /p/, 147 Returns a *lower bound* on the success fraction: 152 the success fraction is [*less than] the value returned.]] 156 the best estimate for the success fraction is simply 1/['n], but if you 166 success fraction, whilst many texts refer to this method as giving an "exact" 181 Returns an *upper bound* on the success fraction: [all …]
|
D | negative_binomial.qbk | 26 // Bounds on success fraction: 39 RealType p, // Success fraction. 43 RealType p, // Success fraction. 55 For k + r Bernoulli trials each with success fraction p, the 70 The following graph illustrate how the PDF varies as the success fraction 142 Returns a *lower bound* on the success fraction: 148 the success fraction is [*less than] the value returned.]] 152 the best estimate for the success fraction is simply ['r/n], but if you 162 success fraction, whilst many texts refer to this method as giving an "exact" 178 Returns an *upper bound* on the success fraction: [all …]
|
D | binomial.qbk | 30 // Bounds on success fraction: 45 RealType p, // success fraction 50 RealType p, // success fraction 77 fraction /p/ fixed at 0.5, and vary the sample size: 82 vary the success fraction /p/: 117 Returns a lower bound on the success fraction: 123 the success fraction is [*less than] the value returned.]] 129 best estimate for the success fraction is simply ['k/n], but if you 194 Returns an upper bound on the success fraction: 200 the success fraction is [*greater than] the value returned.]] [all …]
|
/third_party/boost/boost/geometry/algorithms/detail/overlay/ |
D | handle_colocations.hpp | 55 SegmentRatio fraction; member 59 , fraction(fr) in segment_fraction() 68 ? fraction < other.fraction in operator <() 108 if (! (left_op.fraction == right_op.fraction)) in operator ()() 110 return left_op.fraction < right_op.fraction; in operator ()() 156 segment_fraction_type seg_frac(op.seg_id, op.fraction); in get_cluster_id() 173 segment_fraction_type seg_frac(op.seg_id, op.fraction); in add_cluster_id() 251 if (ref_op.fraction == op.fraction) in handle_colocation_cluster() 316 segment_fraction_type seg_frac(op.seg_id, op.fraction); in assign_cluster_to_turns() 726 << " " << turns[toi.turn_index].operations[0].fraction in handle_colocations() [all …]
|
/third_party/flutter/skia/third_party/externals/harfbuzz/test/shaping/data/in-house/tests/ |
D | automatic-fractions.tests | 1 …44,U+0034,U+0035,U+0036:[one.numr=0+600|two.numr=1+600|three.numr=2+600|fraction=3+252|four.small=… 2 …44,U+0034,U+0035,U+0036:[one.numr=0+600|two.numr=1+600|three.numr=2+600|fraction=3+252|four.small=… 3 …U+0665,U+0666:[uni0661.numr=0+600|uni0662.numr=1+600|uni0663.numr=2+600|fraction=3+252|uni0664.sma…
|
/third_party/harfbuzz/test/shaping/data/in-house/tests/ |
D | automatic-fractions.tests | 1 …44,U+0034,U+0035,U+0036:[one.numr=0+600|two.numr=1+600|three.numr=2+600|fraction=3+252|four.small=… 2 …44,U+0034,U+0035,U+0036:[one.numr=0+600|two.numr=1+600|three.numr=2+600|fraction=3+252|four.small=… 3 …U+0665,U+0666:[uni0661.numr=0+600|uni0662.numr=1+600|uni0663.numr=2+600|fraction=3+252|uni0664.sma…
|