Home
last modified time | relevance | path

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

12345678910>>...41

/external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/util/
DConverter.java36 import com.jme3.math.FastMath;
54 public static com.jme3.math.Vector3f convert(javax.vecmath.Vector3f oldVec) { in convert()
55 com.jme3.math.Vector3f newVec = new com.jme3.math.Vector3f(); in convert()
60 …public static com.jme3.math.Vector3f convert(javax.vecmath.Vector3f oldVec, com.jme3.math.Vector3f… in convert()
67 public static javax.vecmath.Vector3f convert(com.jme3.math.Vector3f oldVec) { in convert()
73 …public static javax.vecmath.Vector3f convert(com.jme3.math.Vector3f oldVec, javax.vecmath.Vector3f… in convert()
80 …public static javax.vecmath.Quat4f convert(com.jme3.math.Quaternion oldQuat, javax.vecmath.Quat4f … in convert()
88 public static javax.vecmath.Quat4f convert(com.jme3.math.Quaternion oldQuat) { in convert()
94 …public static com.jme3.math.Quaternion convert(javax.vecmath.Quat4f oldQuat, com.jme3.math.Quatern… in convert()
99 public static com.jme3.math.Quaternion convert(javax.vecmath.Quat4f oldQuat) { in convert()
[all …]
/external/guava/guava/src/com/google/common/math/
DDoubleMath.java17 package com.google.common.math;
20 import static com.google.common.math.DoubleUtils.IMPLICIT_BIT;
21 import static com.google.common.math.DoubleUtils.SIGNIFICAND_BITS;
22 import static com.google.common.math.DoubleUtils.getExponent;
23 import static com.google.common.math.DoubleUtils.getSignificand;
24 import static com.google.common.math.DoubleUtils.isFinite;
25 import static com.google.common.math.DoubleUtils.isNormal;
26 import static com.google.common.math.DoubleUtils.next;
27 import static com.google.common.math.DoubleUtils.scaleNormalize;
28 import static com.google.common.math.MathPreconditions.checkInRange;
[all …]
DIntMath.java17 package com.google.common.math;
21 import static com.google.common.math.MathPreconditions.checkNoOverflow;
22 import static com.google.common.math.MathPreconditions.checkNonNegative;
23 import static com.google.common.math.MathPreconditions.checkPositive;
24 import static com.google.common.math.MathPreconditions.checkRoundingUnnecessary;
26 import static java.math.RoundingMode.HALF_EVEN;
27 import static java.math.RoundingMode.HALF_UP;
34 import java.math.BigInteger;
35 import java.math.RoundingMode;
DBigIntegerMath.java17 package com.google.common.math;
21 import static com.google.common.math.MathPreconditions.checkNonNegative;
22 import static com.google.common.math.MathPreconditions.checkPositive;
23 import static com.google.common.math.MathPreconditions.checkRoundingUnnecessary;
24 import static java.math.RoundingMode.CEILING;
25 import static java.math.RoundingMode.FLOOR;
26 import static java.math.RoundingMode.HALF_EVEN;
31 import java.math.BigDecimal;
32 import java.math.BigInteger;
33 import java.math.RoundingMode;
DLongMath.java17 package com.google.common.math;
21 import static com.google.common.math.MathPreconditions.checkNoOverflow;
22 import static com.google.common.math.MathPreconditions.checkNonNegative;
23 import static com.google.common.math.MathPreconditions.checkPositive;
24 import static com.google.common.math.MathPreconditions.checkRoundingUnnecessary;
27 import static java.math.RoundingMode.HALF_EVEN;
28 import static java.math.RoundingMode.HALF_UP;
33 import java.math.BigInteger;
34 import java.math.RoundingMode;
/external/guava/guava-tests/test/com/google/common/math/
DDoubleUtilsTest.java1 package com.google.common.math;
3 import static com.google.common.math.MathTesting.ALL_BIGINTEGER_CANDIDATES;
4 import static com.google.common.math.MathTesting.ALL_DOUBLE_CANDIDATES;
5 import static com.google.common.math.MathTesting.EXPONENTS;
6 import static com.google.common.math.MathTesting.FINITE_DOUBLE_CANDIDATES;
8 import java.math.BigInteger;
DBigIntegerMathTest.java17 package com.google.common.math;
19 import static com.google.common.math.MathTesting.ALL_BIGINTEGER_CANDIDATES;
20 import static com.google.common.math.MathTesting.ALL_ROUNDING_MODES;
21 import static com.google.common.math.MathTesting.ALL_SAFE_ROUNDING_MODES;
22 import static com.google.common.math.MathTesting.NEGATIVE_BIGINTEGER_CANDIDATES;
23 import static com.google.common.math.MathTesting.NEGATIVE_INTEGER_CANDIDATES;
24 import static com.google.common.math.MathTesting.NONZERO_BIGINTEGER_CANDIDATES;
25 import static com.google.common.math.MathTesting.POSITIVE_BIGINTEGER_CANDIDATES;
26 import static java.math.BigInteger.ONE;
27 import static java.math.BigInteger.TEN;
[all …]
DDoubleMathTest.java17 package com.google.common.math;
19 import static com.google.common.math.MathTesting.ALL_DOUBLE_CANDIDATES;
20 import static com.google.common.math.MathTesting.ALL_ROUNDING_MODES;
21 import static com.google.common.math.MathTesting.ALL_SAFE_ROUNDING_MODES;
22 import static com.google.common.math.MathTesting.FRACTIONAL_DOUBLE_CANDIDATES;
23 import static com.google.common.math.MathTesting.INTEGRAL_DOUBLE_CANDIDATES;
24 import static com.google.common.math.MathTesting.NEGATIVE_INTEGER_CANDIDATES;
25 import static com.google.common.math.MathTesting.POSITIVE_FINITE_DOUBLE_CANDIDATES;
26 import static java.math.RoundingMode.CEILING;
27 import static java.math.RoundingMode.DOWN;
[all …]
DMathTesting.java17 package com.google.common.math;
19 import static java.math.BigInteger.ONE;
20 import static java.math.BigInteger.ZERO;
21 import static java.math.RoundingMode.CEILING;
22 import static java.math.RoundingMode.DOWN;
23 import static java.math.RoundingMode.FLOOR;
24 import static java.math.RoundingMode.HALF_DOWN;
25 import static java.math.RoundingMode.HALF_EVEN;
26 import static java.math.RoundingMode.HALF_UP;
27 import static java.math.RoundingMode.UP;
[all …]
DLongMathTest.java17 package com.google.common.math;
19 import static com.google.common.math.MathTesting.ALL_INTEGER_CANDIDATES;
20 import static com.google.common.math.MathTesting.ALL_LONG_CANDIDATES;
21 import static com.google.common.math.MathTesting.ALL_ROUNDING_MODES;
22 import static com.google.common.math.MathTesting.ALL_SAFE_ROUNDING_MODES;
23 import static com.google.common.math.MathTesting.EXPONENTS;
24 import static com.google.common.math.MathTesting.NEGATIVE_INTEGER_CANDIDATES;
25 import static com.google.common.math.MathTesting.NEGATIVE_LONG_CANDIDATES;
26 import static com.google.common.math.MathTesting.NONZERO_LONG_CANDIDATES;
27 import static com.google.common.math.MathTesting.POSITIVE_INTEGER_CANDIDATES;
[all …]
DIntMathTest.java17 package com.google.common.math;
19 import static com.google.common.math.MathTesting.ALL_INTEGER_CANDIDATES;
20 import static com.google.common.math.MathTesting.ALL_ROUNDING_MODES;
21 import static com.google.common.math.MathTesting.ALL_SAFE_ROUNDING_MODES;
22 import static com.google.common.math.MathTesting.EXPONENTS;
23 import static com.google.common.math.MathTesting.NEGATIVE_INTEGER_CANDIDATES;
24 import static com.google.common.math.MathTesting.NONZERO_INTEGER_CANDIDATES;
25 import static com.google.common.math.MathTesting.POSITIVE_INTEGER_CANDIDATES;
26 import static java.math.BigInteger.valueOf;
27 import static java.math.RoundingMode.FLOOR;
[all …]
/external/clang/include/clang/Basic/
DBuiltins.def812 // Builtin math library functions
813 LIBBUILTIN(acos, "dd", "fe", "math.h", ALL_LANGUAGES)
814 LIBBUILTIN(acosl, "LdLd", "fe", "math.h", ALL_LANGUAGES)
815 LIBBUILTIN(acosf, "ff", "fe", "math.h", ALL_LANGUAGES)
817 LIBBUILTIN(asin, "dd", "fe", "math.h", ALL_LANGUAGES)
818 LIBBUILTIN(asinl, "LdLd", "fe", "math.h", ALL_LANGUAGES)
819 LIBBUILTIN(asinf, "ff", "fe", "math.h", ALL_LANGUAGES)
821 LIBBUILTIN(atan, "dd", "fe", "math.h", ALL_LANGUAGES)
822 LIBBUILTIN(atanl, "LdLd", "fe", "math.h", ALL_LANGUAGES)
823 LIBBUILTIN(atanf, "ff", "fe", "math.h", ALL_LANGUAGES)
[all …]
/external/llvm/utils/lit/lit/
DUtil.py95 import itertools, math
102 power = int(math.ceil(math.log(maxValue, 10)))
105 N = int(math.ceil(maxValue / barH))
124 pDigits = int(math.ceil(math.log(maxValue, 10)))
128 cDigits = int(math.ceil(math.log(len(items), 10)))
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/
DNumberFormatTest.java19 import java.math.RoundingMode;
52 out = format.format(new java.math.BigInteger(String in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
58 out = format.format(new java.math.BigInteger(String in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
63 java.math.BigInteger big; in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
65 big = new java.math.BigInteger(String.valueOf(Long.MAX_VALUE)) in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
66 .add(new java.math.BigInteger("1")); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
72 big = new java.math.BigInteger(String.valueOf(Long.MIN_VALUE)) in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
73 .add(new java.math.BigInteger("-1")); in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
79 out = format.format(new java.math.BigDecimal("51.348"), in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
84 out = format.format(new java.math.BigDecimal("51"), new StringBuffer(), in test_formatLjava_lang_ObjectLjava_lang_StringBufferLjava_text_FieldPosition()
/external/libvorbis/
Dconfigure.ac132 CFLAGS="-O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char"
133 # PROFILE="-Wall -Wextra -pg -g -O20 -ffast-math -D_REENTRANT -fsigned-char -fno-inli…
134 …PROFILE="-Wall -Wextra -pg -g -O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fsigned-char -fno-inline"
136 # glibc < 2.1.3 has a serious FP bug in the math inline header
144 #include <math.h>
151 #include <math.h>
165 AC_MSG_WARN([* autoconf is disabling all math inlining. This will *])
177 CFLAGS="-O3 -Wall -Wextra -ffast-math -mfused-madd -D_REENTRANT"
178 PROFILE="-pg -g -O3 -ffast-math -mfused-madd -D_REENTRANT";;
181 CFLAGS="-O3 -Wall -Wextra -ffast-math -mfused-madd -mcpu=750 -D_REENTRANT"
[all …]
/external/llvm/utils/release/
DfindRegressions-simple.py2 import re, string, sys, os, time, math
106 if math.isnan(d_old[t][x]) and math.isnan(d_new[t][x]):
109 elif math.isnan(d_old[t][x]) and not math.isnan(d_new[t][x]):
112 elif not math.isnan(d_old[t][x]) and math.isnan(d_new[t][x]):
/external/antlr/antlr-3.4/runtime/Python/tests/
Dt015calc.g7 import math
32 log returns [result]: 'ln' r=exp {result = math.log(r)}
36 exp returns [result]: r=atom ('^' r2=atom {r = math.pow(r,r2)} )? {result = r}
43 | 'PI' {result = math.pi}
44 | 'E' {result = math.e}
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/
DECNamedCurveSpec.java3 import java.math.BigInteger;
9 import org.bouncycastle.math.ec.ECCurve;
50 org.bouncycastle.math.ec.ECPoint g) in convertPoint()
58 org.bouncycastle.math.ec.ECPoint g, in ECNamedCurveSpec()
80 org.bouncycastle.math.ec.ECPoint g, in ECNamedCurveSpec()
104 org.bouncycastle.math.ec.ECPoint g, in ECNamedCurveSpec()
/external/v8/test/mjsunit/tools/
Dtickprocessor-test.ignore-unknown10 1 9.1% 14.3% LazyCompile: exp native math.js:41
30 3 100.0% LazyCompile: exp native math.js:41
34 2 100.0% LazyCompile: exp native math.js:41
46 1 100.0% LazyCompile: exp native math.js:41
49 1 9.1% LazyCompile: exp native math.js:41
Dtickprocessor-test.default14 1 7.7% 11.1% LazyCompile: exp native math.js:41
34 3 100.0% LazyCompile: exp native math.js:41
38 2 100.0% LazyCompile: exp native math.js:41
50 1 100.0% LazyCompile: exp native math.js:41
53 1 7.7% LazyCompile: exp native math.js:41
Dtickprocessor-test.separate-ic16 1 7.7% 11.1% LazyCompile: exp native math.js:41
36 3 100.0% LazyCompile: exp native math.js:41
40 2 100.0% LazyCompile: exp native math.js:41
52 1 100.0% LazyCompile: exp native math.js:41
59 1 7.7% LazyCompile: exp native math.js:41
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
DECDomainParameters.java3 import java.math.BigInteger;
5 import org.bouncycastle.math.ec.ECConstants;
6 import org.bouncycastle.math.ec.ECCurve;
7 import org.bouncycastle.math.ec.ECPoint;
/external/webkit/Source/WebCore/css/
Dmathml.css3 math { selector
15 math[display="block"] {
95 math > mo, mrow > mo, mfenced > mo {
99 math[mathvariant="normal"], mstyle[mathvariant="normal"], mo[mathvariant="normal"], mn[mathvariant=…
104 math[mathvariant="bold"], mstyle[mathvariant="bold"], mo[mathvariant="bold"], mn[mathvariant="bold"…
109 math[mathvariant="italic"], mstyle[mathvariant="italic"], mo[mathvariant="italic"], mn[mathvariant=…
114 math[mathvariant="bold-italic"], mstyle[mathvariant="bold-italic"], mo[mathvariant="bold-italic"], …
119 math[mathsize="small"], mstyle[mathsize="small"], mo[mathsize="small"], mn[mathsize="small"], mi[ma…
123 math[mathsize="normal"], mstyle[mathsize="normal"], mo[mathsize="normal"], mn[mathsize="normal"], m…
127 math[mathsize="big"], mstyle[mathsize="big"], mo[mathsize="big"], mn[mathsize="big"], mi[mathsize="…
/external/jmonkeyengine/engine/src/test/jme3test/post/
DTestSSAO.java37 import com.jme3.math.ColorRGBA;
38 import com.jme3.math.Quaternion;
39 import com.jme3.math.Vector2f;
40 import com.jme3.math.Vector3f;
/external/webkit/PerformanceTests/SunSpider/tests/sunspider-0.9/
DLIST18 math-cordic
19 math-partial-sums
20 math-spectral-norm

12345678910>>...41