Home
last modified time | relevance | path

Searched full:integer (Results 1 – 25 of 774) sorted by relevance

12345678910>>...31

/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/escompat/
DGlobal.sts29 * Parses integer number from `String` with specified radix
40 * Parses integer number from `String` with specified radix
51 * Parses integer number from `String` with specified radix
305 * Checks if float is similar to an integer value
309 * @returns boolean - true if the argument is similar to an integer value
316 * Checks if Float is similar to an integer value
320 * @returns boolean - true if the argument is similar to an integer value
327 * Checks if double is similar to an integer value
331 * @returns boolean - true if the argument is similar to an integer value
338 * Checks if Double is similar to an integer value
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/regression/
Dbigint_from_double.sts52 negativeTest("1.234e2", "not an integer");
53 negativeTest("1e-7", "not an integer");
54 negativeTest("0.0035", "not an integer");
55 negativeTest("0.00023e4", "not an integer");
56 negativeTest("+1e-1", "not an integer");
57 negativeTest("-35.42", "not an integer");
58 negativeTest("-3700e-3", "not an integer");
59 negativeTest("-0.039", "not an integer");
60 negativeTest("-0.0485e+3", "not an integer");
/arkcompiler/runtime_core/static_core/plugins/ets/doc/spec/
D11_enums.rst72 is set implicitly to a numeric value (see :ref:`Enumeration Integer Values`).
74 A :index:`compile-time error` occurs if ``integer`` and ``string`` type
79 of the enumeration constant to integer types or type *string* depends on the
101 integer
105 .. _Enumeration Integer Values:
107 Enumeration Integer Values
113 The integer value of an ``enum`` constant is set implicitly if an enumeration
116 A constant expression of type ``int``---a signed 32-bit integer (see
117 :ref:`Integer Types and Operations` for details)---can be used to set
121 enumeration integer value
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/17.experimental_features/02.array_creation_expressions/
Dexpr_n.params.yaml17 let v: number[] = new number[false] // CTE: dimension is not convertible to integer type
20 let v: number[] = new number[true] // CTE: dimension is not convertible to integer type
23 … let v: number[] = new number[new Object()] // CTE: dimension is not convertible to integer type
26 … let v: number[] = new number[new Error()] // CTE: dimension is not convertible to integer type
29 …t v: number[][] = new number[null][undefined] // CTE: dimension is not convertible to integer type
32 …umber[][] = new number[new Boolean(false)][1] // CTE: dimension is not convertible to integer type
35 …let v: number[][] = new number["abc"]["def"] // CTE: dimension is not convertible to integer type
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/24.relational_expressions/03.bigint_relational_operators/
Dlt.params.yaml79 - 16777215n # max safe integer in float
84 - -16777215n # min safe integer in float
90 - 9007199254740991n # max safe integer in double
94 - 9007199254740990n # max safe integer in double - 1
98 - -9007199254740991n # min safe integer in double
102 - -9007199254740989n # min safe integer in double + 2
Dle.params.yaml79 - 16777215n # max safe integer in float
84 - -16777215n # min safe integer in float
90 - 9007199254740991n # max safe integer in double
94 - 9007199254740990n # max safe integer in double - 1
98 - -9007199254740991n # min safe integer in double
102 - -9007199254740989n # min safe integer in double + 2
Dgt.params.yaml79 - 16777215n # max safe integer in float
84 - -16777215n # min safe integer in float
90 - 9007199254740991n # max safe integer in double
94 - 9007199254740990n # max safe integer in double - 1
98 - -9007199254740991n # min safe integer in double
102 - -9007199254740989n # min safe integer in double + 2
Dge.params.yaml79 - 16777215n # max safe integer in float
84 - -16777215n # min safe integer in float
90 - 9007199254740991n # max safe integer in double
94 - 9007199254740990n # max safe integer in double - 1
98 - -9007199254740991n # min safe integer in double
102 - -9007199254740989n # min safe integer in double + 2
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dinstructions.yaml55 …description: Compare two integer or reference values according to condition code(for reference onl…
61 description: Compare two float or integer values.
205 i8: signed 8-bit integer
206 i16: signed 16-bit integer
207 i32: signed 32-bit integer
208 i64: signed 64-bit integer
209 u8: unsigned 8-bit integer
210 u16: unsigned 16-bit integer
211 u32: unsigned 32-bit integer
212 u64: unsigned 64-bit integer
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/25.equality_expressions/03.bigint_equality_operators/
Deq.params.yaml87 - 16777215n # max safe integer in float
92 - -16777215n # min safe integer in float
98 - 9007199254740991n # max safe integer in double
104 - 9007199254740990n # max safe integer in double - 1
110 - -9007199254740991n # min safe integer in double
116 - -9007199254740989n # min safe integer in double + 2
Dne1.params.yaml87 - 16777215n # max safe integer in float
92 - -16777215n # min safe integer in float
98 - 9007199254740991n # max safe integer in double
104 - 9007199254740990n # max safe integer in double - 1
110 - -9007199254740991n # min safe integer in double
116 - -9007199254740989n # min safe integer in double + 2
Dne2.params.yaml87 - 16777215n # max safe integer in float
92 - -16777215n # min safe integer in float
98 - 9007199254740991n # max safe integer in double
104 - 9007199254740990n # max safe integer in double - 1
110 - -9007199254740991n # min safe integer in double
116 - -9007199254740989n # min safe integer in double + 2
/arkcompiler/runtime_core/static_core/irtoc/lang/
Dregmask.rb50 raise "RegMask is initialized with wrong type: #{value.class}" unless value.is_a?(Integer)
68 raise "RegMask is initialized with wrong type: #{value.class}" unless value.is_a?(Integer)
74 raise "Wrong `position` type" unless position.is_a? Integer
84 raise "Wrong `position` type" unless position.is_a? Integer
94 elsif other.is_a? Integer
112 elsif other.is_a? Integer
/arkcompiler/runtime_core/static_core/tests/verifier-tests/
Dbug_2107_2.pa17 #- title: Integer truncations and extensions.
18 # description: 'Perform specified integer extension or truncations of accumulator.
39 # Load different values (objects, strings, types, 64-bit floating point values, 32-bit integer va…
/arkcompiler/runtime_core/tests/verifier-tests/
Dbug_2107_2.pa17 #- title: Integer truncations and extensions.
18 # description: 'Perform specified integer extension or truncations of accumulator.
39 # Load different values (objects, strings, types, 64-bit floating point values, 32-bit integer va…
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Du32tou16.yaml18 title: Integer truncations and extensions.
20 Perform specified integer extension or truncations of accumulator.
21 …If extension bytecode treats its source as unsigned integer, the value is zero-extended to destina…
66 …nt values (objects, strings, types, 64-bit floating point values, 64-bit integer values) and invok…
Di64tou1.yaml18 title: Conversions from integer types to u1
20 Conversion from integer types to u1 obeys the following rules.
21 If converted integer is not equal to zero, the result is 1.
75 …nt values (objects, strings, types, 64-bit floating point values, 32-bit integer values) and invok…
Du64tou32.yaml18 title: Integer truncations and extensions.
20 Perform specified integer extension or truncations of accumulator.
21 …If extension bytecode treats its source as unsigned integer, the value is zero-extended to destina…
66 …nt values (objects, strings, types, 64-bit floating point values, 64-bit integer values) and invok…
Du32tou8.yaml18 title: Integer truncations and extensions.
20 Perform specified integer extension or truncations of accumulator.
21 …If extension bytecode treats its source as unsigned integer, the value is zero-extended to destina…
66 …nt values (objects, strings, types, 64-bit floating point values, 64-bit integer values) and invok…
Du32tou1.yaml18 title: Conversions from integer types to u1
20 Conversion from integer types to u1 obeys the following rules.
21 If converted integer is not equal to zero, the result is 1.
67 …nt values (objects, strings, types, 64-bit floating point values, 64-bit integer values) and invok…
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Du32toi16.yaml18 title: Integer truncations and extensions.
20 Perform specified integer extension or truncations of accumulator.
21 …If extension bytecode treats its source as unsigned integer, the value is zero-extended to destina…
72 …nt values (objects, strings, types, 64-bit floating point values, 64-bit integer values) and invok…
Du32tou8.yaml18 title: Integer truncations and extensions.
20 Perform specified integer extension or truncations of accumulator.
21 …If extension bytecode treats its source as unsigned integer, the value is zero-extended to destina…
67 …nt values (objects, strings, types, 64-bit floating point values, 64-bit integer values) and invok…
Du32tou1.yaml18 title: Conversions from integer types to u1
20 Conversion from integer types to u1 obeys the following rules.
21 If converted integer is not equal to zero, the result is 1.
68 …nt values (objects, strings, types, 64-bit floating point values, 64-bit integer values) and invok…
Du32toi8.yaml18 title: Integer truncations and extensions.
20 Perform specified integer extension or truncations of accumulator.
21 …If extension bytecode treats its source as unsigned integer, the value is zero-extended to destina…
72 …nt values (objects, strings, types, 64-bit floating point values, 64-bit integer values) and invok…
Du64toi32.yaml18 title: Integer truncations and extensions.
20 Perform specified integer extension or truncations of accumulator.
21 …If extension bytecode treats its source as unsigned integer, the value is zero-extended to destina…
72 …nt values (objects, strings, types, 64-bit floating point values, 64-bit integer values) and invok…

12345678910>>...31