Home
last modified time | relevance | path

Searched full:integral (Results 1 – 25 of 123) sorted by relevance

12345

/arkcompiler/runtime_core/static_core/libpandafile/
Dtypes.yaml30 - integral
38 - integral
46 - integral
54 - integral
62 - integral
70 - integral
78 - integral
102 - integral
110 - integral
/arkcompiler/runtime_core/libpandafile/
Dtypes.yaml30 - integral
38 - integral
46 - integral
54 - integral
62 - integral
70 - integral
78 - integral
102 - integral
110 - integral
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/04.casting_contexts_and_conversions/02.class_or_interface_casting_conversions/
Dpredef_ref_prim.params.yaml21 - { dtype: Byte, stype: Integral, pval: 0x55 as byte }
26 - { dtype: Short, stype: Integral, pval: 0x5555 as short }
29 - { dtype: Int, stype: Integral, pval: 0x12121212 }
32 - { dtype: Long, stype: Integral, pval: 0x3434343456565656 as long }
Dpredef_ref.params.yaml24 - { dtype: Byte, stype: Integral, pval: 0x80 as byte }
32 - { dtype: Short, stype: Integral, pval: 0x5555 as short }
37 - { dtype: Int, stype: Integral, pval: '0x12121212' }
42 - { dtype: Long, stype: Integral, pval: 0x3434343456565656 as long }
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DGlobal.ets112 * @returns unconditionally returns `false`. Integral types can not be `NaN`.
121 * @returns unconditionally returns `false`. Integral types can not be `NaN`.
130 * @returns unconditionally returns `false`. Integral types can not be `NaN`.
139 * @returns unconditionally returns `false`. Integral types can not be `NaN`.
148 * @returns unconditionally returns `false`. Integral types can not be `NaN`.
157 * @returns unconditionally returns `false`. Integral types can not be `NaN`.
166 * @returns unconditionally returns `false`. Integral types can not be `NaN`.
175 * @returns unconditionally returns `false`. Integral types can not be `NaN`.
228 * @returns unconditionally returns `true`. Integral types can not be `NaN` or `Infinity`.
237 * @returns unconditionally returns `true`. Integral types can not be `NaN` or `Infinity`.
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/01.assignment-like_contexts/
Dboxing2_call.params.yaml25 - type: Integral
37 - type: Integral
45 - type: Integral
53 - type: Integral
Dboxing2.params.yaml22 dst_type: Integral
34 dst_type: Integral
Dref_widening.params.yaml47 - { stype: 'Byte', src: 'new Byte()', dtype: Integral }
48 - { stype: 'Short', src: 'new Short()', dtype: Integral }
49 - { stype: 'Int', src: 'new Int()', dtype: Integral }
50 - { stype: 'Long', src: 'new Long()', dtype: Integral }
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/04.casting_contexts_and_conversions/
Dwidening_refs.params.yaml19 - { stype: Byte, expr: new Byte(0x55 as byte), dtype: Integral }
22 - { stype: Short, expr: new Short(0x5555 as short), dtype: Integral }
24 - { stype: Int, expr: new Int(0x12121212 as int), dtype: Integral }
26 - { stype: Long, expr: new Long(0x3434343456565656 as long), dtype: Integral }
/arkcompiler/ets_frontend/ets2panda/test/ast/compiler/ets/
Dinvalid_class_declare.ets16 class Integral {}
19 /* @@? 1:3 Error TypeError: Class 'Integral' is already defined. */
/arkcompiler/runtime_core/static_core/libpandabase/utils/
Dbit_utils.h50 static_assert(std::is_integral<T>::value, "T must be integral"); in Clz()
66 static_assert(std::is_integral<T>::value, "T must be integral"); in Ctz()
82 static_assert(std::is_integral<T>::value, "T must be integral"); in Popcount()
107 static_assert(std::is_integral_v<T>, "T must be integral"); in MinimumBitsToStore()
121 static_assert(std::is_integral<T>::value, "T must be integral"); in Ffs()
135 static_assert(std::is_integral<T>::value, "T must be integral"); in IsAligned()
142 static_assert(std::is_integral<T>::value, "T must be integral"); in IsAligned()
149 static_assert(std::is_integral<T>::value, "T must be integral"); in RoundUp()
161 static_assert(std::is_integral<T>::value, "T must be integral"); in RoundDown()
277 static_assert(std::is_integral<T>::value, "T must be integral"); in ExtractBits()
/arkcompiler/runtime_core/libpandabase/utils/
Dbit_utils.h49 static_assert(std::is_integral<T>::value, "T must be integral"); in Clz()
65 static_assert(std::is_integral<T>::value, "T must be integral"); in Ctz()
81 static_assert(std::is_integral<T>::value, "T must be integral"); in Popcount()
106 static_assert(std::is_integral_v<T>, "T must be integral"); in MinimumBitsToStore()
120 static_assert(std::is_integral<T>::value, "T must be integral"); in Ffs()
134 static_assert(std::is_integral<T>::value, "T must be integral"); in IsAligned()
141 static_assert(std::is_integral<T>::value, "T must be integral"); in IsAligned()
148 static_assert(std::is_integral<T>::value, "T must be integral"); in RoundUp()
160 static_assert(std::is_integral<T>::value, "T must be integral"); in RoundDown()
275 static_assert(std::is_integral<T>::value, "T must be integral"); in ExtractBits()
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DInt.ets21 export final class Int extends Integral implements Comparable<Int>, JSONable<Int> {
62 * Minimal value that this type can have as an integral
67 * Maximal value that this type can have as an integral
263 …* Performs integral addition of this instance with provided one, returns the result as new instance
274 …* Performs integral subtraction of this instance with provided one, returns the result as new inst…
285 …* Performs integral multiplication of this instance with provided one, returns the result as new i…
296 …* Performs integral division of this instance with provided one, returns the result as new instance
DByte.ets21 export final class Byte extends Integral implements Comparable<Byte>, JSONable<Byte> {
62 * Minimal value that this type can have as an integral
67 * Maximal value that this type can have as an integral
295 …* Performs integral addition of this instance with provided one, returns the result as new instance
306 …* Performs integral subtraction of this instance with provided one, returns the result as new inst…
317 …* Performs integral multiplication of this instance with provided one, returns the result as new i…
328 …* Performs integral division of this instance with provided one, returns the result as new instance
DNumeric.ets67 * Common class for all integral types
69 export abstract class Integral extends Numeric {}
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/02.string_operator_contexts/
Dconversion.params.yaml34 - [Integral, new Byte(42 as byte), "\"42\""]
35 - [Integral, new Short(42 as short), "\"42\""]
36 - [Integral, new Int(42 as int), "\"42\""]
37 - [Integral, new Long(42 as long), "\"42\""]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/19.union_types/02.access_to_common_union_members/
Dcm_fld2.params.yaml68 // classes, fields of Integral type
70 fld: string|Integral = 'A'
73 fld: string|Integral = 'B'
76 fld: Integral = new Int(42)
79 fld: Integral = new Short(33 as short)
Dcm_meth2.params.yaml82 // classes, methods of Integral type
84 meth(): string|Integral {
89 meth(): string|Integral {
94 meth(): Integral {
99 meth(): Integral {
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/08.function_types_conversions/comp_obj/
Dcomp-clss.params.yaml414 - type: '(p: Integral) => byte'
415 init_value: '(p: Integral) => 0'
421 - type: '(p: Numeric) => Integral'
424 - type: '(p: Integral) => Integral'
425 init_value: '(p: Integral) => 0'
427 - type: '(p: Byte) => Integral'
434 - type: '(p: Integral) => Numeric'
435 init_value: '(p: Integral) => 0'
444 - type: '(p: Integral) => Object'
445 init_value: '(p: Integral) => 0'
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/19.union_types/01.union_types_normalization/
Dnorm.params.yaml59 type UT = OE | Integral | undefined | NU // => Object | undefined
255 type UT = undefined | Numeric | Integral | Floating // => Numeric | undefined
291 type UT = U1 | U2 | U3 | U4 | Integral // => Integral | undefined
310 type UT = byte | short | int | long | Integral | undefined // => Integral | undefined
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.widening_reference_conversions/comp_obj/
Dcomp-intf.params.yaml18 - { to_type: Integral, expr: new Byte(-128 as byte) }
25 - { to_type: Integral, expr: new Short(Byte.MAX_VALUE as short) }
32 - { to_type: Integral, expr: new Int(Byte.MAX_VALUE as int) }
39 - { to_type: Integral, expr: new Long(Byte.MAX_VALUE as long) }
/arkcompiler/ets_runtime/test/aottest/builtin_inlining/math/Pow/
DbuiltinMathPow.ts52 // * If exponent is an odd integral Number, return -inf. Otherwise, return +inf.
60 // * If exponent is an odd integral Number, return -0.0. Otherwise, return +0.0.
79 // * If exponent is an odd integral Number, return -0.0. Otherwise, return +0.0.
88 // * If exponent is an odd integral Number, return -inf. Otherwise, return +inf.
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.widening_reference_conversions/decl_var/
Ddecl-var.params.yaml18 - { to_type: Integral, expr: new Byte(-128 as byte) }
25 - { to_type: Integral, expr: new Short(Byte.MAX_VALUE as short) }
32 - { to_type: Integral, expr: new Int(Byte.MAX_VALUE as int) }
39 - { to_type: Integral, expr: new Long(Byte.MAX_VALUE as long) }
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.widening_reference_conversions/assn_var/
Dassn-var.params.yaml18 - { to_type: Integral, expr: new Byte(-128 as byte) }
25 - { to_type: Integral, expr: new Short(Byte.MAX_VALUE as short) }
32 - { to_type: Integral, expr: new Int(Byte.MAX_VALUE as int) }
39 - { to_type: Integral, expr: new Long(Byte.MAX_VALUE as long) }
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/06.contexts_and_conversions/05.implicit_conversions/05.widening_reference_conversions/call_meth/
Dcall-meth.params.yaml18 - { to_type: Integral, expr: new Byte(-128 as byte) }
25 - { to_type: Integral, expr: new Short(Byte.MAX_VALUE as short) }
32 - { to_type: Integral, expr: new Int(Byte.MAX_VALUE as int) }
39 - { to_type: Integral, expr: new Long(Byte.MAX_VALUE as long) }

12345