Home
last modified time | relevance | path

Searched full:math (Results 1 – 25 of 4653) sorted by relevance

12345678910>>...187

/third_party/musl/porting/liteos_a/kernel/
Dmusl.gni54 "$MUSLPORTINGDIR/src/math/__cos.c",
55 "$MUSLPORTINGDIR/src/math/__cosdf.c",
56 "$MUSLPORTINGDIR/src/math/__cosl.c",
57 "$MUSLPORTINGDIR/src/math/__expo2.c",
58 "$MUSLPORTINGDIR/src/math/__expo2f.c",
59 "$MUSLPORTINGDIR/src/math/__fpclassify.c",
60 "$MUSLPORTINGDIR/src/math/__fpclassifyf.c",
61 "$MUSLPORTINGDIR/src/math/__fpclassifyl.c",
62 "$MUSLPORTINGDIR/src/math/__invtrigl.c",
63 "$MUSLPORTINGDIR/src/math/__math_divzero.c",
[all …]
/third_party/jerryscript/tests/jerry/
Dmath-trig.js19 assert (isNaN (Math.cos (NaN)));
20 assert ((Math.cos (+0.0)) == 1.0);
21 assert ((Math.cos (-0.0)) == 1.0);
22 assert (isNaN (Math.cos (Infinity)));
23 assert (isNaN (Math.cos (-Infinity)));
25 assert (Math.cos (Math.PI) > -1.0 * mod_p);
26 assert (Math.cos (Math.PI) < -1.0 * mod_m);
28 assert (Math.cos (Math.PI / 2) > -delta);
29 assert (Math.cos (Math.PI / 2) < +delta);
30 assert (Math.cos (-Math.PI / 2) > -delta);
[all …]
/third_party/optimized-routines/math/
DDir.mk6 S := $(srcdir)/math
7 B := build/math
9 math-lib-srcs := $(wildcard $(S)/*.[cS])
10 math-test-srcs := \
15 math-test-host-srcs := $(wildcard $(S)/test/rtest/*.[cS])
17 math-includes := $(patsubst $(S)/%,build/%,$(wildcard $(S)/include/*.h))
19 math-libs := \
23 math-tools := \
30 math-host-tools := \
33 math-lib-objs := $(patsubst $(S)/%,$(B)/%.o,$(basename $(math-lib-srcs)))
[all …]
/third_party/typescript/tests/baselines/reference/
DexponentiationOperatorSyntaxError2.js73 Math.pow(delete --temp, 3);
74 Math.pow(delete ++temp, 3);
75 Math.pow(delete temp--, 3);
76 Math.pow(delete temp++, 3);
77 Math.pow(1, Math.pow(delete --temp, 3));
78 Math.pow(1, Math.pow(delete ++temp, 3));
79 Math.pow(1, Math.pow(delete temp--, 3));
80 Math.pow(1, Math.pow(delete temp++, 3));
81 Math.pow(typeof --temp, 3);
82 Math.pow(typeof temp--, 3);
[all …]
DemitExponentiationOperator3.js44 Math.pow((-++temp), 3);
45 Math.pow((+--temp), 3);
46 Math.pow((-temp++), 3);
47 Math.pow((+temp--), 3);
48 Math.pow((-(Math.pow(1, ++temp))), 3);
49 Math.pow((-(Math.pow(1, --temp))), 3);
50 Math.pow((-(Math.pow(1, temp++))), 3);
51 Math.pow((-(Math.pow(1, temp--))), 3);
52 Math.pow((-3), temp++);
53 Math.pow((-3), temp--);
[all …]
DstrictNullEmptyDestructuring.types25 let { } = Math.random() ? {} : null;
26 >Math.random() ? {} : null : {} | null
27 >Math.random() : number
28 >Math.random : () => number
29 >Math : Math
34 ({} = Math.random() ? {} : null);
35 >({} = Math.random() ? {} : null) : {}
36 >{} = Math.random() ? {} : null : {}
38 >Math.random() ? {} : null : {} | null
39 >Math.random() : number
[all …]
DexponentiationOperatorSyntaxError1.js43 Math.pow(// Error: early syntax error using ES7 SimpleUnaryExpression on left-hand side without ()
45 Math.pow(+1, 2);
46 Math.pow(1, Math.pow(-2, 3));
47 Math.pow(1, Math.pow(-2, -3));
48 Math.pow(-1, Math.pow(-2, -3));
49 Math.pow(-(Math.pow(1, 2)), 3);
51 Math.pow(-++temp, 3);
52 Math.pow(+--temp, 3);
53 Math.pow(-temp++, 3);
54 Math.pow(+temp--, 3);
[all …]
DemitCompoundExponentiationOperator2.js29 comp = Math.pow(comp, 1);
30 comp = Math.pow(comp, comp = Math.pow(comp, 1));
31 comp = Math.pow(comp, comp = Math.pow(comp, 1 + 2));
32 comp = Math.pow(comp, comp = Math.pow(comp, 1 - 2));
33 comp = Math.pow(comp, comp = Math.pow(comp, 1 * 2));
34 comp = Math.pow(comp, comp = Math.pow(comp, 1 / 2));
35 comp = Math.pow(comp, comp = Math.pow(comp, (1 + 2)));
36 comp = Math.pow(comp, comp = Math.pow(comp, (1 - 2)));
37 comp = Math.pow(comp, comp = Math.pow(comp, (1 * 2)));
38 comp = Math.pow(comp, comp = Math.pow(comp, (1 / 2)));
[all …]
DemitExponentiationOperator2.js59 Math.pow(++temp, 3);
60 Math.pow(--temp, 3);
61 Math.pow(temp++, 3);
62 Math.pow(temp--, 3);
63 --temp + Math.pow(temp, 3);
64 --temp - Math.pow(temp, 3);
65 --temp * Math.pow(temp, 3);
66 --temp / Math.pow(temp, 3);
67 --temp % Math.pow(temp, 3);
68 Math.pow(temp--, 3);
[all …]
DemitExponentiationOperator4.js42 Math.pow(temp, 3);
43 Math.pow(--temp, 3);
44 Math.pow(++temp, 3);
45 Math.pow(temp--, 3);
46 Math.pow(temp++, 3);
47 Math.pow(1, Math.pow(--temp, 3));
48 Math.pow(1, Math.pow(++temp, 3));
49 Math.pow(1, Math.pow(temp--, 3));
50 Math.pow(1, Math.pow(temp++, 3));
51 Math.pow((void --temp), 3);
[all …]
DcompoundExponentiationAssignmentLHSCannotBeAssigned.js72 x1 = Math.pow(x1, a);
73 x1 = Math.pow(x1, b);
74 x1 = Math.pow(x1, true);
75 x1 = Math.pow(x1, 0);
76 x1 = Math.pow(x1, '');
77 x1 = Math.pow(x1, E.a);
78 x1 = Math.pow(x1, {});
79 x1 = Math.pow(x1, null);
80 x1 = Math.pow(x1, undefined);
82 x2 = Math.pow(x2, a);
[all …]
DexponentiationOperatorWithInvalidSimpleUnaryExpressionOperands.js42 Math.pow((!--temp), 3);
43 Math.pow((!temp--), 3);
44 Math.pow((!3), 4);
45 Math.pow((!temp++), 4);
46 Math.pow((!temp--), 4);
47 Math.pow((!--temp), Math.pow(3, 1));
48 Math.pow((!temp--), Math.pow(3, 1));
49 Math.pow((!3), Math.pow(4, 1));
50 Math.pow((!temp++), Math.pow(4, 1));
51 Math.pow((!temp--), Math.pow(4, 1));
[all …]
DexponentiationOperatorInTemplateStringWithSyntaxError1.js35 "" + (1 + Math.pow(typeof t1, Math.pow(t2, t1)));
36 "" + (Math.pow(-t1, t2) - t1);
37 "" + (Math.pow(-++t1, t2) - t1);
38 "" + (Math.pow(-t1++, t2) - t1);
39 "" + Math.pow(!t1, Math.pow(t2, --t1));
40 "" + Math.pow(typeof t1, Math.pow(t2, t1));
41 "" + (Math.pow(-t1, t2) - t1) + (Math.pow(-t1, t2) - t1);
42 "" + (Math.pow(-++t1, t2) - t1) + (Math.pow(-++t1, t2) - t1);
43 "" + (Math.pow(-t1++, t2) - t1) + (Math.pow(-t1++, t2) - t1);
44 "" + Math.pow(!t1, Math.pow(t2, --t1)) + Math.pow(!t1, Math.pow(t2, --t1));
[all …]
DemitExponentiationOperatorInTemplateString1.js34 "" + Math.pow(t1, t2);
35 "" + Math.pow(t1, Math.pow(t2, t1));
36 "" + (t1 + Math.pow(t2, t1));
37 "" + (Math.pow(t1, t2) + t1);
38 "" + (t1 + Math.pow(t2, t2) + t1);
39 "" + typeof (Math.pow(t1, Math.pow(t2, t1)));
40 "" + (1 + typeof (Math.pow(t1, Math.pow(t2, t1))));
41 "" + Math.pow(t1, t2) + Math.pow(t1, t2);
42 "" + Math.pow(t1, Math.pow(t2, t1)) + Math.pow(t1, Math.pow(t2, t1));
43 "" + (t1 + Math.pow(t2, t1)) + (t1 + Math.pow(t2, t1));
[all …]
DemitExponentiationOperatorInTemplateString1ES6.js34 `${Math.pow(t1, t2)}`;
35 `${Math.pow(t1, Math.pow(t2, t1))}`;
36 `${t1 + Math.pow(t2, t1)}`;
37 `${Math.pow(t1, t2) + t1}`;
38 `${t1 + Math.pow(t2, t2) + t1}`;
39 `${typeof (Math.pow(t1, Math.pow(t2, t1)))}`;
40 `${1 + typeof (Math.pow(t1, Math.pow(t2, t1)))}`;
41 `${Math.pow(t1, t2)}${Math.pow(t1, t2)}`;
42 `${Math.pow(t1, Math.pow(t2, t1))}${Math.pow(t1, Math.pow(t2, t1))}`;
43 `${t1 + Math.pow(t2, t1)}${t1 + Math.pow(t2, t1)}`;
[all …]
DemitExponentiationOperatorInTemplateString2.js34 "hello " + Math.pow(t1, t2);
35 "hello " + Math.pow(t1, Math.pow(t2, t1));
36 "hello " + (t1 + Math.pow(t2, t1));
37 "hello " + (Math.pow(t1, t2) + t1);
38 "hello " + (t1 + Math.pow(t2, t2) + t1);
39 "hello " + typeof (Math.pow(t1, Math.pow(t2, t1)));
40 "hello " + (1 + typeof (Math.pow(t1, Math.pow(t2, t1))));
41 "hello " + Math.pow(t1, t2) + Math.pow(t1, t2);
42 "hello " + Math.pow(t1, Math.pow(t2, t1)) + Math.pow(t1, Math.pow(t2, t1));
43 "hello " + (t1 + Math.pow(t2, t1)) + (t1 + Math.pow(t2, t1));
[all …]
DemitCompoundExponentiationOperator1.js25 comp = Math.pow(comp, 1);
26 comp = Math.pow(comp, Math.pow(comp, comp));
27 comp = Math.pow(comp, Math.pow(comp, Math.pow(comp, 2)));
28 comp = Math.pow(comp, Math.pow(comp, comp) + 2);
29 comp = Math.pow(comp, Math.pow(comp, comp) - 2);
30 comp = Math.pow(comp, Math.pow(comp, comp) * 2);
31 comp = Math.pow(comp, Math.pow(comp, comp) / 2);
32 comp = Math.pow(comp, Math.pow(comp, comp) % 2);
33 comp = Math.pow(comp, Math.pow((comp - 2), 5));
34 comp = Math.pow(comp, Math.pow((comp + 2), 5));
[all …]
DconstEnum2.types21 e = 199 * Math.floor(Math.random() * 1000),
23 >199 * Math.floor(Math.random() * 1000) : number
25 >Math.floor(Math.random() * 1000) : number
26 >Math.floor : (x: number) => number
27 >Math : Math
29 >Math.random() * 1000 : number
30 >Math.random() : number
31 >Math.random : () => number
32 >Math : Math
36 f = d - (100 * Math.floor(Math.random() % 8))
[all …]
DexponentiationOperatorWithInvalidOperands.js88 var r1a1 = Math.pow(a, a); //ok
89 var r1a2 = Math.pow(a, b);
90 var r1a3 = Math.pow(a, c); //ok
91 var r1a4 = Math.pow(a, d);
92 var r1a5 = Math.pow(a, e);
93 var r1a6 = Math.pow(a, f);
94 var r1b1 = Math.pow(b, a);
95 var r1b2 = Math.pow(b, b);
96 var r1b3 = Math.pow(b, c);
97 var r1b4 = Math.pow(b, d);
[all …]
/third_party/python/Lib/test/
Dtest_math.py1 # Python test set -- math module
9 import math
56 # Here's a pure Python version of the math.factorial algorithm, for
97 described at http://www.luschny.de/math/factorial/binarysplitfact.html
200 if math.isnan(expected) and math.isnan(got):
203 elif math.isinf(expected) or math.isinf(got):
254 self.ftest('pi', math.pi, 3.141592653589793238462643)
255 self.ftest('e', math.e, 2.718281828459045235360287)
256 self.assertEqual(math.tau, 2*math.pi)
259 self.assertRaises(TypeError, math.acos)
[all …]
/third_party/mesa3d/docs/isl/
Dccs.rst81math:`u_6` :math:`u_5` :math:`u_4` :math:`v_7` :math:`v_6` :math:`v_5` :math:`v_4` :mat…
82math:`u_6` :math:`u_5` :math:`v_3 \oplus u_1` :math:`v_7` :math:`v_6` :math:`v_5` :math:`v_4` :mat…
83math:`u_6` :math:`u_5` :math:`v_2 \oplus u_1` :math:`v_7` :math:`v_6` :math:`v_5` :math:`v_4` :mat…
84math:`u_6` :math:`u_5` :math:`u_4` :math:`v_7` :math:`v_6` :math:`v_5` :math:`v_4` :mat…
85math:`u_6` :math:`u_5` :math:`u_4` :math:`v_7` :math:`v_6` :math:`v_5` :math:`v_4` :mat…
86math:`u_6` :math:`u_5` :math:`u_4` :math:`v_6` :math:`v_5` :math:`v_4` :math:`v_3` :mat…
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bigdec/
DDiagBigDecimalTest.java14 import java.math.BigInteger;
23 import com.ibm.icu.math.BigDecimal;
43 /* -- for digits=0 (fixed point): java.math.BigDecimal */
59 /* 1998.12.14 add toBigDecimal and BigDecimal(java.math.BigDecimal) */
76 /* 2000.03.27 1.00 move to com.ibm.icu.math package; open source release; */
84 * <code>com.ibm.icu.math.BigDecimal</code> and
85 * <code>com.ibm.icu.math.MathContext</code> classes (or, by changing the
96 * @see com.ibm.icu.math.BigDecimal
97 * @see com.ibm.icu.math.MathContext
104 private static final com.ibm.icu.math.BigDecimal zero = com.ibm.icu.math.BigDecimal.ZERO;
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bigdec/
DDiagBigDecimalTest.java15 import java.math.BigInteger;
24 import ohos.global.icu.math.BigDecimal;
45 /* -- for digits=0 (fixed point): java.math.BigDecimal */
61 /* 1998.12.14 add toBigDecimal and BigDecimal(java.math.BigDecimal) */
78 /* 2000.03.27 1.00 move to ohos.global.icu.math package; open source release; */
86 * <code>ohos.global.icu.math.BigDecimal</code> and
87 * <code>ohos.global.icu.math.MathContext</code> classes (or, by changing the
98 * @see ohos.global.icu.math.BigDecimal
99 * @see ohos.global.icu.math.MathContext
107 … private static final ohos.global.icu.math.BigDecimal zero = ohos.global.icu.math.BigDecimal.ZERO;
[all …]
/third_party/parse5/test/data/parser-feedback/
Dtests9.test5 "description": "<!DOCTYPE html><math></math>",
6 "input": "<!DOCTYPE html><math></math>",
17 "math",
22 "math"
28 "description": "<!DOCTYPE html><body><math></math>",
29 "input": "<!DOCTYPE html><body><math></math>",
45 "math",
50 "math"
56 "description": "<!DOCTYPE html><math><mi>",
57 "input": "<!DOCTYPE html><math><mi>",
[all …]
/third_party/node/benchmark/fixtures/
Dcoverage-many-branches.js10 this.opts = opts ?? (Math.random() > 0.5 ? {} : undefined);
41 if (Math.random() > 0.5) {
46 x: Math.random() * x,
47 y: Math.random() * y
61 if (Math.random() > 0.5) {
66 x: Math.random() * x,
67 y: Math.random() * y
80 if (add(Math.random() * 10, Math.random() * 10) > 10) {
82 let r = addSpecial(Math.random() * 10, Math.random() * 10) > 10 ?
83 mult(Math.random() * 10, Math.random() * 10) :
[all …]

12345678910>>...187