Home
last modified time | relevance | path

Searched refs:integral (Results 1 – 25 of 541) sorted by relevance

12345678910>>...22

/third_party/boost/libs/mp11/test/
Dmp_plus.cpp14 template<class T, T N> using integral = std::integral_constant<T, N>; typedef
20 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_plus<>, integral<int, 0>>)); in main()
22 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_plus<integral<char, 1>>, integral<int, 1>>)); in main()
23 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_plus<integral<short, 2>>, integral<int, 2>>)); in main()
24 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_plus<integral<int, 3>>, integral<int, 3>>)); in main()
25 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_plus<integral<unsigned, 4>>, integral<unsigned, 4>>)); in main()
27 …BOOST_TEST_TRAIT_TRUE((std::is_same<mp_plus<integral<char, 1>, integral<char, 2>>, integral<int, 3… in main()
28 …OST_TEST_TRAIT_TRUE((std::is_same<mp_plus<integral<short, 1>, integral<short, 2>, integral<short, … in main()
29 …T_TRAIT_TRUE((std::is_same<mp_plus<integral<int, 1>, integral<int, 2>, integral<int, 3>, integral<… in main()
/third_party/boost/libs/hana/test/type/
Dintegral.cpp24 decltype(hana::integral(hana::metafunction<mf>)()),
28 decltype(hana::integral(hana::metafunction<mf>)(hana::type_c<x1>)),
32 decltype(hana::integral(hana::metafunction<mf>)(hana::type_c<x1>, hana::type_c<x2>)),
37 decltype(hana::integral(hana::template_<tpl>)()),
41 decltype(hana::integral(hana::template_<tpl>)(hana::type_c<x1>)),
45 decltype(hana::integral(hana::template_<tpl>)(hana::type_c<x1>, hana::type_c<x2>)),
50 decltype(hana::integral(hana::metafunction_class<mfc>)()),
54 decltype(hana::integral(hana::metafunction_class<mfc>)(hana::type_c<x1>)),
58 decltype(hana::integral(hana::metafunction_class<mfc>)(hana::type_c<x1>, hana::type_c<x2>)),
66 auto invalid_integral = hana::integral(invalid_hana_metafunction{});
[all …]
/third_party/skia/third_party/externals/freetype/src/psaux/
Dpsconv.c202 FT_Fixed integral = 0; in PS_Conv_ToFixed() local
231 integral = PS_Conv_ToInt( &p, limit ); in PS_Conv_ToFixed()
236 if ( integral > 0x7FFF ) in PS_Conv_ToFixed()
239 integral = (FT_Fixed)( (FT_UInt32)integral << 16 ); in PS_Conv_ToFixed()
265 if ( !integral && power_ten > 0 ) in PS_Conv_ToFixed()
298 if ( !integral && !decimal ) in PS_Conv_ToFixed()
308 if ( integral >= 0xCCCCCCCL ) in PS_Conv_ToFixed()
310 integral *= 10; in PS_Conv_ToFixed()
326 integral /= 10; in PS_Conv_ToFixed()
332 if ( !integral && !decimal ) in PS_Conv_ToFixed()
[all …]
/third_party/freetype/src/psaux/
Dpsconv.c202 FT_Fixed integral = 0; in PS_Conv_ToFixed() local
231 integral = PS_Conv_ToInt( &p, limit ); in PS_Conv_ToFixed()
236 if ( integral > 0x7FFF ) in PS_Conv_ToFixed()
239 integral = (FT_Fixed)( (FT_UInt32)integral << 16 ); in PS_Conv_ToFixed()
265 if ( !integral && power_ten > 0 ) in PS_Conv_ToFixed()
298 if ( !integral && !decimal ) in PS_Conv_ToFixed()
308 if ( integral >= 0xCCCCCCCL ) in PS_Conv_ToFixed()
310 integral *= 10; in PS_Conv_ToFixed()
326 integral /= 10; in PS_Conv_ToFixed()
332 if ( !integral && !decimal ) in PS_Conv_ToFixed()
[all …]
/third_party/flutter/skia/third_party/externals/freetype/src/psaux/
Dpsconv.c203 FT_Fixed integral = 0; in PS_Conv_ToFixed() local
232 integral = PS_Conv_ToInt( &p, limit ); in PS_Conv_ToFixed()
237 if ( integral > 0x7FFF ) in PS_Conv_ToFixed()
240 integral = (FT_Fixed)( (FT_UInt32)integral << 16 ); in PS_Conv_ToFixed()
266 if ( !integral && power_ten > 0 ) in PS_Conv_ToFixed()
299 if ( !integral && !decimal ) in PS_Conv_ToFixed()
309 if ( integral >= 0xCCCCCCCL ) in PS_Conv_ToFixed()
311 integral *= 10; in PS_Conv_ToFixed()
327 integral /= 10; in PS_Conv_ToFixed()
333 if ( !integral && !decimal ) in PS_Conv_ToFixed()
[all …]
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/math/
DFixed1616.java25 public static int integral(int fixed) { in integral() method in Fixed1616
33 public static int fixed(int integral, int fractional) { in fixed() argument
34 return ((integral & 0xffff) << 16) | (fractional & 0xffff); in fixed()
47 sb.append(Fixed1616.integral(fixed)); in toString()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/math/
DFixed1616.java25 public static int integral(int fixed) { in integral() method in Fixed1616
33 public static int fixed(int integral, int fractional) { in fixed() argument
34 return ((integral & 0xffff) << 16) | (fractional & 0xffff); in fixed()
47 sb.append(Fixed1616.integral(fixed)); in toString()
/third_party/boost/libs/math/doc/vector_functionals/
Dnorms.qbk109 Supports real, integral, and complex arithmetic.
121 Supports real, integral, and complex arithmetic.
123 If the input it integral, the output is a double precision float.
136 Supports both real, integral, and complex arithmetic.
137 If the input is integral, the output is a double precision float.
140 Only supports integral /p/ for two reasons: The computation is much slower for real /p/, and the no…
153 Supports both real, integral, and complex arithmetic.
154 If the input is integral, the output is a double precision float.
167 Supports real, integral, and complex numbers.
170 Works with real, complex, and integral inputs.
[all …]
/third_party/boost/libs/type_traits/doc/
Dis_scalar.qbk14 integral, floating point, enumeration, pointer, and pointer-to-member types.
28 [:`is_scalar<double>::value` is an integral constant
31 [:`is_scalar<int (*)(long)>::value` is an integral constant
34 [:`is_scalar<int (MyClass::*)(long)>::value` is an integral constant
37 [:`is_scalar<int (MyClass::*)>::value` is an integral constant
Dis_object.qbk29 [:`is_object<int (*)(void)>::value` is an integral constant
32 [:`is_object<int (MyClass::*)(void)const>::value` is an integral constant
35 [:`is_object<int &>::value` is an integral constant
38 [:`is_object<int (double)>::value` is an integral constant
41 [:`is_object<const void>::value` is an integral constant
Dextent.qbk30 [:`extent<int[4]>::value` is an integral constant
33 [:`extent<int[][2]>::value` is an integral constant
36 [:`extent<int[][2], 1>::value` is an integral constant
39 [:`extent<int*>::value` is an integral constant
42 [:`extent<boost::array<int, 3> >::value` is an integral constant
Dis_signed.qbk29 [:`is_signed<unsigned int>::value` is an integral constant
32 [:`is_signed<myclass>::value` is an integral constant
35 [:`is_signed<char>::value` is an integral constant
38 [:`is_signed<long long>::value` is an integral constant
Dis_const.qbk28 [:`is_const<int* const>::value` is an integral constant
31 [:`is_const<int const*>::value` is an integral constant
35 [:`is_const<int const&>::value` is an integral constant
39 [:`is_const<int>::value` is an integral constant
Dis_unsigned.qbk29 [:`is_unsigned<int>::value` is an integral constant
32 [:`is_unsigned<myclass>::value` is an integral constant
35 [:`is_unsigned<char>::value` is an integral constant
38 [:`is_unsigned<unsigned long long>::value` is an integral constant
Drank.qbk27 [:`rank<int[1]>::value` is an integral constant
30 [:`rank<int[][2]>::value` is an integral constant
33 [:`rank<int*>::value` is an integral constant
36 [:`rank<boost::array<int, 3> >::value` is an integral constant
Dintegral_promotion.qbk18 __type If integral promotion can be applied to an rvalue of type `T`, then
19 applies integral promotion to `T` and keeps cv-qualifiers of `T`,
22 __std_ref 4.5 except 4.5/3 (integral bit-field).
Dpromote.qbk18 __type If integral or floating point promotion can be applied to an rvalue
19 of type `T`, then applies integral and floating point promotions to `T` and
23 __std_ref 4.5 except 4.5/3 (integral bit-field) and 4.6.
Dis_same.qbk26 [:`is_same<int, int>::value` is an integral constant
29 [:`is_same<int const, int>::value` is an integral constant
32 [:`is_same<int&, int>::value` is an integral constant
/third_party/boost/libs/mpl/doc/src/refmanual/
DIntegralConstant.rst10 integral type. Every |Integral Constant| is also a nullary |Metafunction|,
11 returning itself. An integral constant *object* is implicitly convertible to the
12 corresponding run-time value of the wrapped integral type.
24 | ``n::value_type`` | An integral type | Constant time. …
26 | ``n::value`` | An integral constant expression | Constant time. …
49 | ``n::value`` | The value of the wrapped integral constant. …
Dintegral_c.rst47 | ``T`` | An integral type | Wrapper's value type. |
49 | ``N`` | An integral constant | A value to wrap. |
58 For arbitrary integral type ``t`` and integral constant ``n``:
DIntegralSequenceWrapper.rst12 sequence and |c1...cn| are integral constants of an integral type ``T`` to
47 | |seq_c|\ ``>::value_type`` | An integral type | Amortized constant time. |
53 | |seqn_c|\ ``>::value_type`` | An integral type | Amortized constant time. |
67 ``s`` is a sequence ``seq`` of integral constant wrappers ``integral_c<T,``\ |c1|\ ``>``,
/third_party/boost/libs/mp11/doc/mp11/
Dintegral.adoc10 [#integral] anchor
11 # Integral Constants, <boost/mp11/integral.hpp>
16 For an Mp11 integral constant type `T`, `T::value` is an integral constant in the C++ sense.
/third_party/boost/libs/math/doc/tr1/
Dtr1_ref.qbk23 // [5.2.1.4] (complete) elliptic integral of the first kind:
28 // [5.2.1.5] (complete) elliptic integral of the second kind:
33 // [5.2.1.6] (complete) elliptic integral of the third kind:
59 // [5.2.1.12] (incomplete) elliptic integral of the first kind:
64 // [5.2.1.13] (incomplete) elliptic integral of the second kind:
69 // [5.2.1.14] (incomplete) elliptic integral of the third kind:
74 // [5.2.1.15] exponential integral:
166 // [5.2.1.4] (complete) elliptic integral of the first kind:
171 Returns the complete elliptic integral of the first kind of /k/:
177 // [5.2.1.5] (complete) elliptic integral of the second kind:
[all …]
/third_party/boost/libs/numeric/conversion/doc/
Dnumeric_cast.qbk24 * Conversions from an integral type with a wider range than the target integral type.
25 * Conversions from unsigned to signed (and vice versa) integral types.
26 * Conversions from floating point types to integral types.
30 integral types \[3.9.1.4\], which must obey the laws of arithmetic modulo 2n
39 to integral types. The implementation must guarantee that for a conversion
138 // NOTE: *operations* on unsigned integral types cannot cause overflow
/third_party/boost/libs/outcome/doc/src/content/reference/traits/
Dis_error_type.md3 description = "A customisable integral constant type true for `E` types which are to receive error …
6 A customisable integral constant type true for `E` types which are to receive
8 is available for integral `T` types when combined with `E` types in this

12345678910>>...22