Home
last modified time | relevance | path

Searched refs:math (Results 1 – 25 of 801) sorted by relevance

12345678910>>...33

/third_party/python/Lib/test/
Dtest_math.py9 import math
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)
260 self.ftest('acos(-1)', math.acos(-1), math.pi)
261 self.ftest('acos(0)', math.acos(0), math.pi/2)
262 self.ftest('acos(1)', math.acos(1), 0)
[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/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;
107 … private static final ohos.global.icu.math.BigDecimal zero = ohos.global.icu.math.BigDecimal.ZERO;
108 private static final ohos.global.icu.math.BigDecimal one = ohos.global.icu.math.BigDecimal.ONE;
109 … private static final ohos.global.icu.math.BigDecimal two = new ohos.global.icu.math.BigDecimal(2);
110 private static final ohos.global.icu.math.BigDecimal ten = ohos.global.icu.math.BigDecimal.TEN;
111 …private static final ohos.global.icu.math.BigDecimal tenlong = new ohos.global.icu.math.BigDecimal…
114 …private static final ohos.global.icu.math.MathContext mcdef = ohos.global.icu.math.MathContext.DEF…
115 …private static final ohos.global.icu.math.MathContext mc3 = new ohos.global.icu.math.MathContext(3…
116 …private static final ohos.global.icu.math.MathContext mc6 = new ohos.global.icu.math.MathContext(6…
[all …]
/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;
104 private static final com.ibm.icu.math.BigDecimal zero = com.ibm.icu.math.BigDecimal.ZERO;
105 private static final com.ibm.icu.math.BigDecimal one = com.ibm.icu.math.BigDecimal.ONE;
106 private static final com.ibm.icu.math.BigDecimal two = new com.ibm.icu.math.BigDecimal(2);
107 private static final com.ibm.icu.math.BigDecimal ten = com.ibm.icu.math.BigDecimal.TEN;
108 …private static final com.ibm.icu.math.BigDecimal tenlong = new com.ibm.icu.math.BigDecimal((long) …
111 private static final com.ibm.icu.math.MathContext mcdef = com.ibm.icu.math.MathContext.DEFAULT;
112 private static final com.ibm.icu.math.MathContext mc3 = new com.ibm.icu.math.MathContext(3);
113 private static final com.ibm.icu.math.MathContext mc6 = new com.ibm.icu.math.MathContext(6);
[all …]
/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/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 …]
Dmath.test5 "description": "<math><tr><td><mo><tr>",
6 "input": "<math><tr><td><mo><tr>",
10 "math",
37 "description": "<math><tr><td><mo><tr>",
38 "input": "<math><tr><td><mo><tr>",
42 "math",
69 "description": "<math><thead><mo><tbody>",
70 "input": "<math><thead><mo><tbody>",
74 "math",
96 "description": "<math><tfoot><mo><tbody>",
[all …]
/third_party/mesa3d/src/intel/tools/tests/gen7.5/
Dmath.asm1 math sqrt(8) g25<1>.xF g24<4>.xF null<4>F { align16 1Q }; label
2 math inv(8) g5<1>F g4<8,8,1>F null<8,8,1>F { align1 1Q }; label
3 math inv(16) g10<1>F g8<8,8,1>F null<8,8,1>F { align1 1H }; label
4 math intmod(8) g21<1>.xyUD g1<0>.xUD g1<0>.yzzzUD { align16 1Q }; label
5 math inv(8) g11<1>.xyzF g2<0>.xyzzF null<4>F { align16 1Q }; label
6 math sqrt(8) g9<1>F g8<8,8,1>F null<8,8,1>F { align1 1Q }; label
7 math sqrt(16) g15<1>F g13<8,8,1>F null<8,8,1>F { align1 1H }; label
8 math pow(8) g20<1>F g14<8,8,1>F g20<0,1,0>F { align1 1Q }; label
9 math pow(16) g26<1>F g24<8,8,1>F g28<0,1,0>F { align1 1H }; label
10 math intmod(8) g4<1>UD g2<0,1,0>UD g2.3<0,1,0>UD { align1 1Q }; label
[all …]
/third_party/mesa3d/src/intel/tools/tests/gen7/
Dmath.asm1 math inv(8) g6<1>F g2<0,1,0>F null<8,8,1>F { align1 1Q }; label
2 math inv(16) g10<1>F g2<0,1,0>F null<8,8,1>F { align1 1H }; label
3 math inv(8) g11<1>.xyzF g2<0>.xyzzF null<4>F { align16 1Q }; label
4 math sqrt(8) g13<1>.xF g12<4>.xF null<4>F { align16 1Q }; label
5 math sqrt(8) g9<1>F g8<8,8,1>F null<8,8,1>F { align1 1Q }; label
6 math sqrt(16) g6<1>F g4<8,8,1>F null<8,8,1>F { align1 1H }; label
7 math pow(8) g20<1>F g14<8,8,1>F g20<0,1,0>F { align1 1Q }; label
8 math pow(16) g21<1>F g19<8,8,1>F g25<0,1,0>F { align1 1H }; label
9 math intmod(8) g13<1>UD g6<0>UD g5.4<0>.zUD { align16 1Q }; label
10 math pow(8) g14<1>.xF g13<4>.xF g12<4>.xF { align16 1Q }; label
[all …]
/third_party/mesa3d/src/intel/tools/tests/gen9/
Dmath.asm1 math sqrt(16) g20<1>F g18<8,8,1>F null<8,8,1>F { align1 1H }; label
2 math inv(8) g95<1>F g94<8,8,1>F null<8,8,1>F { align1 1Q }; label
3 math inv(16) g10<1>F g8<8,8,1>F null<8,8,1>F { align1 1H }; label
4 math intmod(8) g3<1>UD g1<0,1,0>UD g1.2<0,1,0>UD { align1 1Q }; label
5 math intmod(8) g4<1>UD g1<0,1,0>UD g1.2<0,1,0>UD { align1 2Q }; label
6 math sqrt(8) g24<1>F g23<8,8,1>F null<8,8,1>F { align1 1Q }; label
7 math rsq(8) g5<1>F g2<8,8,1>F null<8,8,1>F { align1 1Q }; label
8 math pow(8) g11<1>F g10<8,8,1>F 0x42fc6666F /* 126.2F */ { align1 1Q }; label
9 math pow(16) g18<1>F g16<8,8,1>F 0x42fc6666F /* 126.2F */ { align1 1H }; label
10 math log(8) g7<1>F g6<8,8,1>F null<8,8,1>F { align1 1Q }; label
[all …]
/third_party/mesa3d/src/intel/tools/tests/gen8/
Dmath.asm1 math sqrt(16) g27<1>F g25<8,8,1>F null<8,8,1>F { align1 1H }; label
2 math inv(8) g95<1>F g94<8,8,1>F null<8,8,1>F { align1 1Q }; label
3 math inv(16) g10<1>F g8<8,8,1>F null<8,8,1>F { align1 1H }; label
4 math intmod(8) g3<1>UD g1<0,1,0>UD g1.2<0,1,0>UD { align1 1Q }; label
5 math intmod(8) g4<1>UD g1<0,1,0>UD g1.2<0,1,0>UD { align1 2Q }; label
6 math sqrt(8) g24<1>F g23<8,8,1>F null<8,8,1>F { align1 1Q }; label
7 math rsq(8) g5<1>F g2<8,8,1>F null<8,8,1>F { align1 1Q }; label
8 math pow(8) g20<1>F g14<8,8,1>F 0x42fc6666F /* 126.2F */ { align1 1Q }; label
9 math pow(16) g26<1>F g24<8,8,1>F 0x42fc6666F /* 126.2F */ { align1 1H }; label
10 math log(8) g7<1>F g6<8,8,1>F null<8,8,1>F { align1 1Q }; label
[all …]
/third_party/openGLES/specs/katex/
Dkatex.js4221 var math = new mathMLTree.MathNode("math", [semantics]);
4224 return makeSpan(["katex-mathml"], [math]);
4309 if (symbols.math[symbol] && symbols.math[symbol].replace) {
4311 symbols.math[symbol].replace, font);
8295 math: {},
8311 var math = "math";
8334 defineSymbol(math, main, rel, "\u2261", "\\equiv");
8335 defineSymbol(math, main, rel, "\u227a", "\\prec");
8336 defineSymbol(math, main, rel, "\u227b", "\\succ");
8337 defineSymbol(math, main, rel, "\u223c", "\\sim");
[all …]
/third_party/openGLES/specs/es/katex/
Dkatex.js4221 var math = new mathMLTree.MathNode("math", [semantics]);
4224 return makeSpan(["katex-mathml"], [math]);
4309 if (symbols.math[symbol] && symbols.math[symbol].replace) {
4311 symbols.math[symbol].replace, font);
8295 math: {},
8311 var math = "math";
8334 defineSymbol(math, main, rel, "\u2261", "\\equiv");
8335 defineSymbol(math, main, rel, "\u227a", "\\prec");
8336 defineSymbol(math, main, rel, "\u227b", "\\succ");
8337 defineSymbol(math, main, rel, "\u223c", "\\sim");
[all …]
/third_party/openGLES/specs/es/3.2/katex/
Dkatex.js4221 var math = new mathMLTree.MathNode("math", [semantics]);
4224 return makeSpan(["katex-mathml"], [math]);
4309 if (symbols.math[symbol] && symbols.math[symbol].replace) {
4311 symbols.math[symbol].replace, font);
8295 math: {},
8311 var math = "math";
8334 defineSymbol(math, main, rel, "\u2261", "\\equiv");
8335 defineSymbol(math, main, rel, "\u227a", "\\prec");
8336 defineSymbol(math, main, rel, "\u227b", "\\succ");
8337 defineSymbol(math, main, rel, "\u223c", "\\sim");
[all …]
/third_party/openGLES/specs/gl/katex/
Dkatex.js4221 var math = new mathMLTree.MathNode("math", [semantics]);
4224 return makeSpan(["katex-mathml"], [math]);
4309 if (symbols.math[symbol] && symbols.math[symbol].replace) {
4311 symbols.math[symbol].replace, font);
8295 math: {},
8311 var math = "math";
8334 defineSymbol(math, main, rel, "\u2261", "\\equiv");
8335 defineSymbol(math, main, rel, "\u227a", "\\prec");
8336 defineSymbol(math, main, rel, "\u227b", "\\succ");
8337 defineSymbol(math, main, rel, "\u223c", "\\sim");
[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/mesa3d/src/intel/tools/tests/gen6/
Dmath.asm1 math inv(8) g7<1>F g10<8,8,1>F null<8,8,1>F { align1 1Q }; label
2 math inv(8) g13<1>F g18<8,8,1>F null<8,8,1>F { align1 2Q }; label
3 math pow(8) g16<1>F g15<8,8,1>F g14<8,8,1>F { align1 1Q }; label
4 math pow(8) g24<1>F g22<8,8,1>F g20<8,8,1>F { align1 2Q }; label
5 math cos(8) g3<1>F g2<8,8,1>F null<8,8,1>F { align1 1Q }; label
6 math cos(8) g5<1>F g3<8,8,1>F null<8,8,1>F { align1 2Q }; label
7 math sqrt(8) g16<1>F g15<8,8,1>F null<8,8,1>F { align1 1Q }; label
8 math log(8) g21<1>F g20<8,8,1>F null<8,8,1>F { align1 1Q }; label
9 math sqrt(8) g11<1>F g3<8,8,1>F null<8,8,1>F { align1 2Q }; label
10 math log(8) g2<1>F g13<8,8,1>F null<8,8,1>F { align1 2Q }; label
[all …]
/third_party/musl/libc-test/report_base/
DREPORT11 X ../../third_party/musl/libc-test/src/math/special/acosh.h:9: RN acosh(0x1.001f1c62cf304p+0) want …
12 X ../../third_party/musl/libc-test/src/math/special/acosh.h:10: RN acosh(0x1.00788c223616fp+0) want…
13 X ../../third_party/musl/libc-test/src/math/special/acosh.h:11: RN acosh(0x1.007b7a37c7606p+0) want…
14 X ../../third_party/musl/libc-test/src/math/special/acosh.h:12: RN acosh(0x1.01d173033243cp+0) want…
15 X ../../third_party/musl/libc-test/src/math/special/acosh.h:13: RN acosh(0x1.01d8f20e90409p+0) want…
16 X ../../third_party/musl/libc-test/src/math/special/acosh.h:14: RN acosh(0x1.01ef6122e68bep+0) want…
17 X ../../third_party/musl/libc-test/src/math/special/acosh.h:15: RN acosh(0x1.06822faf07879p+0) want…
18 X ../../third_party/musl/libc-test/src/math/special/acosh.h:17: RN acosh(0x1.069d65411ec51p+0) want…
19 X ../../third_party/musl/libc-test/src/math/special/acosh.h:18: RN acosh(0x1.071d6b2713d08p+0) want…
20 X ../../third_party/musl/libc-test/src/math/special/acosh.h:19: RN acosh(0x1.0728405f5140cp+0) want…
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/
DBUILD.gn149 # math unittest
150 "math/math_gtest/complex_test.cpp",
151 "math/math_gtest/math_acos_test.cpp",
152 "math/math_gtest/math_acosh_test.cpp",
153 "math/math_gtest/math_asin_test.cpp",
154 "math/math_gtest/math_asinh_test.cpp",
155 "math/math_gtest/math_atan2_test.cpp",
156 "math/math_gtest/math_atan_test.cpp",
157 "math/math_gtest/math_atanh_test.cpp",
158 "math/math_gtest/math_cbrt_test.cpp",
[all …]
/third_party/musl/
Dmusl_src.gni14 "src/math/arm/fabs.c",
15 "src/math/arm/fabsf.c",
16 "src/math/arm/fma.c",
17 "src/math/arm/fmaf.c",
18 "src/math/arm/sqrt.c",
19 "src/math/arm/sqrtf.c",
106 "src/math/aarch64/ceil.c",
107 "src/math/aarch64/ceilf.c",
108 "src/math/aarch64/fabs.c",
109 "src/math/aarch64/fabsf.c",
[all …]
Dmusl_template.gni442 "src/math/sincosf.c",
443 "src/math/expf.c",
444 "src/math/exp2f.c",
445 "src/math/exp2l.c",
446 "src/math/exp2.c",
447 "src/math/log.c",
448 "src/math/logl.c",
449 "src/math/log2.c",
450 "src/math/log2f.c",
451 "src/math/log2l.c",
[all …]
/third_party/typescript/tests/baselines/reference/
DexportImportMultipleFiles.symbols5 lib.math.add(3, 4); // Shouldnt be error
6 >lib.math.add : Symbol(lib.math.add, Decl(exportImportMultipleFiles_math.ts, 0, 0))
7 >lib.math : Symbol(lib.math, Decl(exportImportMultipleFiles_library.ts, 0, 0))
9 >math : Symbol(lib.math, Decl(exportImportMultipleFiles_library.ts, 0, 0))
10 >add : Symbol(lib.math.add, Decl(exportImportMultipleFiles_math.ts, 0, 0))
21 export import math = require("exportImportMultipleFiles_math");
22 >math : Symbol(math, Decl(exportImportMultipleFiles_library.ts, 0, 0))
24 math.add(3, 4); // OK
25 >math.add : Symbol(math.add, Decl(exportImportMultipleFiles_math.ts, 0, 0))
26 >math : Symbol(math, Decl(exportImportMultipleFiles_library.ts, 0, 0))
[all …]
DexportImportMultipleFiles.types5 lib.math.add(3, 4); // Shouldnt be error
6 >lib.math.add(3, 4) : any
7 >lib.math.add : (a: any, b: any) => any
8 >lib.math : typeof lib.math
10 >math : typeof lib.math
25 export import math = require("exportImportMultipleFiles_math");
26 >math : typeof math
28 math.add(3, 4); // OK
29 >math.add(3, 4) : any
30 >math.add : (a: any, b: any) => any
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/math/
DBigDecimal.java6 package ohos.global.icu.math;
8 import java.math.BigInteger;
235 …public static final ohos.global.icu.math.BigDecimal ZERO = new ohos.global.icu.math.BigDecimal((lo…
246 …public static final ohos.global.icu.math.BigDecimal ONE = new ohos.global.icu.math.BigDecimal((lon…
257 … public static final ohos.global.icu.math.BigDecimal TEN = new ohos.global.icu.math.BigDecimal(10);
265 public static final int ROUND_CEILING = ohos.global.icu.math.MathContext.ROUND_CEILING;
272 public static final int ROUND_DOWN = ohos.global.icu.math.MathContext.ROUND_DOWN;
279 public static final int ROUND_FLOOR = ohos.global.icu.math.MathContext.ROUND_FLOOR;
286 public static final int ROUND_HALF_DOWN = ohos.global.icu.math.MathContext.ROUND_HALF_DOWN;
293 public static final int ROUND_HALF_EVEN = ohos.global.icu.math.MathContext.ROUND_HALF_EVEN;
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/math/
DBigDecimal.java5 package com.ibm.icu.math;
7 import java.math.BigInteger;
236 …public static final com.ibm.icu.math.BigDecimal ZERO = new com.ibm.icu.math.BigDecimal((long) 0); …
248 …public static final com.ibm.icu.math.BigDecimal ONE = new com.ibm.icu.math.BigDecimal((long) 1); /…
260 public static final com.ibm.icu.math.BigDecimal TEN = new com.ibm.icu.math.BigDecimal(10);
269 public static final int ROUND_CEILING = com.ibm.icu.math.MathContext.ROUND_CEILING;
277 public static final int ROUND_DOWN = com.ibm.icu.math.MathContext.ROUND_DOWN;
285 public static final int ROUND_FLOOR = com.ibm.icu.math.MathContext.ROUND_FLOOR;
293 public static final int ROUND_HALF_DOWN = com.ibm.icu.math.MathContext.ROUND_HALF_DOWN;
301 public static final int ROUND_HALF_EVEN = com.ibm.icu.math.MathContext.ROUND_HALF_EVEN;
[all …]

12345678910>>...33