Home
last modified time | relevance | path

Searched full:modulo (Results 1 – 25 of 59) sorted by relevance

123

/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_sdk/arkts/@arkts/math/Decimal/
DsetTests.ets32 suite.addTest("Decimal set with modulo", testSetWithModulo);
75 arktest.assertEQ(Decimal.modulo, expected);
79 … 20, rounding: 4, toExpNeg: -7, toExpPos: 21, minE: -9e15, maxE: 9e15, crypto: false, modulo: 1 });
87 arktest.assertEQ(Decimal.modulo, 1);
89 … precision: 40, rounding : 4, toExpNeg: -1000, toExpPos: 1000, minE: -1e9, maxE: 1e9, modulo: 4 });
96 arktest.assertEQ(Decimal.modulo, 4);
168 tModulo(0, { modulo: 0 });
169 tModulo(1, { modulo: 1 });
170 tModulo(2, { modulo: 2 });
171 tModulo(3, { modulo: 3 });
[all …]
DModulo.ets16 import {Modulo} from "@arkts.math.Decimal"
20 let a: Modulo = 5
21 assertTrue(typeof a == "number", "Modulo type is not a number!")
DRounding.ets16 import {Modulo, Rounding} from "@arkts.math.Decimal"
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/03.types/15.literal_types/01.supertypes_of_literal_types/
Dprimitive_type_default_tests_73.ets17 desc: Type compatibility test for number type in modulo operation.
/arkcompiler/runtime_core/tests/cts-generator/cts-template/
Ddivi.yaml19 title: Two address integer division or modulo with immediate on accumulator
21 …Perform two address integer division or modulo on accumulator and immediate and store result into …
Dmodi.yaml19 title: Two address integer division or modulo with immediate on accumulator
21 …Perform two address integer division or modulo on accumulator and immediate and store result into …
Dmod2.64.yaml18 title: Two address integer division and modulo on accumulator
20 … Perform integer division or modulo on accumulator and register and store result into accumulator
Ddivu2.64.yaml18 title: Two address integer division and modulo on accumulator
20 … Perform integer division or modulo on accumulator and register and store result into accumulator
Dmodu2.64.yaml18 title: Two address integer division and modulo on accumulator
20 … Perform integer division or modulo on accumulator and register and store result into accumulator
Ddiv2.64.yaml18 title: Two address integer division and modulo on accumulator
20 … Perform integer division or modulo on accumulator and register and store result into accumulator
Ddivu2.yaml18 title: Two address integer division and modulo on accumulator
20 … Perform integer division or modulo on accumulator and register and store result into accumulator
Dmodu2.yaml18 title: Two address integer division and modulo on accumulator
20 … Perform integer division or modulo on accumulator and register and store result into accumulator
Dmod2.yaml18 title: Two address integer division and modulo on accumulator
20 … Perform integer division or modulo on accumulator and register and store result into accumulator
Dmod.yaml18 title: Three address integer division or modulo
19 … description: Perform integer division or modulo on two registers and store result into accumulator
/arkcompiler/runtime_core/static_core/tests/cts-generator/cts-template/
Dmodi.yaml19 title: Two address integer division or modulo with immediate on accumulator
21 …Perform two address integer division or modulo on accumulator and immediate and store result into …
Ddivi.yaml19 title: Two address integer division or modulo with immediate on accumulator
21 …Perform two address integer division or modulo on accumulator and immediate and store result into …
Ddivu2.64.yaml18 title: Two address integer division and modulo on accumulator
20 … Perform integer division or modulo on accumulator and register and store result into accumulator
Dmodu2.64.yaml18 title: Two address integer division and modulo on accumulator
20 … Perform integer division or modulo on accumulator and register and store result into accumulator
Dmod2.64.yaml18 title: Two address integer division and modulo on accumulator
20 … Perform integer division or modulo on accumulator and register and store result into accumulator
Ddivu2.yaml18 title: Two address integer division and modulo on accumulator
20 … Perform integer division or modulo on accumulator and register and store result into accumulator
Ddiv2.64.yaml18 title: Two address integer division and modulo on accumulator
20 … Perform integer division or modulo on accumulator and register and store result into accumulator
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/07.expressions/01.evaluation_of_expressions/03.operator_precedence/
Ddiv.ets27 // modulo
Dmul.ets27 // modulo
Dmod.ets39 // modulo
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_bigint.cpp74 // 3. Return a BigInt representing bigint modulo 2bits. in AsUintN()
93 // 3. Let mod be ℝ(bigint) modulo 2bits. in AsIntN()

123