HomeSort by relevance Sort by last modified time
    Searched full:math (Results 101 - 125 of 2517) sorted by null

1 2 3 45 6 7 8 91011>>

  /external/webkit/JavaScriptCore/tests/mozilla/ecma_2/Exceptions/
expression-005.js 26 result = new Math();
34 "result= new Math() (threw " + exception + ")",
  /external/webkit/JavaScriptCore/tests/mozilla/ecma_2/Statements/
try-004.js 21 TryToCatch( "Math.PI", Math.PI );
  /frameworks/base/awt/org/apache/harmony/awt/gl/color/
LUTColorConverter.java 67 (float) Math.pow((v + 0.055) / 1.055, 2.4);
68 from8lRGBtosRGB_LUT[i] = (byte) Math.round(v * 255.0f);
81 (float) Math.pow((v + 0.055) / 1.055, 2.4);
82 from16lRGBtosRGB_LUT[i] = (byte) Math.round(v * 255.0f);
95 ((float) Math.pow(v, 1.0 / 2.4)) * 1.055f - 0.055f;
96 fromsRGBto8lRGB_LUT[i] = (byte) Math.round(v * 255.0f);
109 ((float) Math.pow(v, 1.0 / 2.4)) * 1.055f - 0.055f;
110 fromsRGBto16lRGB_LUT[i] = (short) Math.round(v * 65535.0f);
  /dalvik/libcore/math/src/main/java/java/math/
MathContext.java 18 package java.math;
25 import org.apache.harmony.math.internal.nls.Messages;
133 // math.0C=Digits < 0
134 throw new IllegalArgumentException(Messages.getString("math.0C")); //$NON-NLS-1$
137 // math.0D=null RoundingMode
138 throw new NullPointerException(Messages.getString("math.0D")); //$NON-NLS-1$
165 // math.0E=bad string format
166 throw new IllegalArgumentException(Messages.getString("math.0E")); //$NON-NLS-1$
174 // math.0E=bad string format
175 throw new IllegalArgumentException(Messages.getString("math.0E")); //$NON-NLS-1
    [all...]
  /bionic/libm/src/
w_cabsf.c 14 #include <math.h>
w_dremf.c 9 #include "math.h"
  /cts/tests/tests/view/src/android/view/animation/cts/
ScaleAnimationTest.java 140 assertTrue(Math.abs(trans1X) < Math.abs(trans2X));
141 assertTrue(Math.abs(trans2X) < Math.abs(trans3X));
142 assertTrue(Math.abs(trans1Y) < Math.abs(trans2Y));
143 assertTrue(Math.abs(trans2Y) < Math.abs(trans3Y));
186 assertTrue(Math.abs(trans1X) < Math.abs(trans2X))
    [all...]
  /dalvik/libcore/math/src/test/java/org/apache/harmony/math/tests/java/math/
AllTests.java 17 package org.apache.harmony.math.tests.java.math;
23 * This is autogenerated source file. Includes tests for package org.apache.harmony.tests.java.math;
33 TestSuite suite = tests.TestSuiteFactory.createTestSuite("All tests for package org.apache.harmony.tests.java.math;");
BigDecimalArithmeticTest.java 18 package org.apache.harmony.math.tests.java.math;
27 import java.math.BigDecimal;
28 import java.math.BigInteger;
29 import java.math.MathContext;
30 import java.math.RoundingMode;
33 * Class: java.math.BigDecimal
45 args = {java.math.BigDecimal.class}
68 args = {java.math.BigDecimal.class, java.math.MathContext.class
    [all...]
  /dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/params/
DHPrivateKeyParameters.java 3 import java.math.BigInteger;
DHPublicKeyParameters.java 3 import java.math.BigInteger;
  /development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube1/
CubeWallpaper1.java 211 float newy1 = (float)(Math.sin(xrot) * z1 + Math.cos(xrot) * y1);
212 float newy2 = (float)(Math.sin(xrot) * z2 + Math.cos(xrot) * y2);
213 float newz1 = (float)(Math.cos(xrot) * z1 - Math.sin(xrot) * y1);
214 float newz2 = (float)(Math.cos(xrot) * z2 - Math.sin(xrot) * y2);
217 float newx1 = (float)(Math.sin(yrot) * newz1 + Math.cos(yrot) * x1)
    [all...]
  /external/v8/test/mjsunit/regress/
regress-397.js 30 assertEquals("Infinity", String(Math.pow(Infinity, 0.5)));
31 assertEquals(0, Math.pow(Infinity, -0.5));
33 assertEquals("Infinity", String(Math.pow(-Infinity, 0.5)));
34 assertEquals(0, Math.pow(-Infinity, -0.5));
  /external/webkit/JavaScriptCore/
THANKS 4 Richard Moore <rich@kde.org> - for filling the Math object with some life
  /packages/apps/Email/src/org/apache/james/mime4j/util/
PartialInputStream.java 36 return Math.min(super.available(), getBytesLeft());
51 len = Math.min(len, getBytesLeft());
56 n = Math.min(n, getBytesLeft());
61 return (int)Math.min(Integer.MAX_VALUE, limit - position);
  /cts/tests/core/math/
Android.mk 22 # Math Tests
26 LOCAL_SRC_FILES := $(call all-java-files-under,../../../../dalvik/libcore/math/src/test/java) \
31 LOCAL_PACKAGE_NAME := android.core.tests.math
  /dalvik/libcore/math/src/test/java/tests/api/java/math/
AllTests.java 17 package tests.api.java.math;
23 * Test suite that includes all tests for the Math project.
32 TestSuite suite = tests.TestSuiteFactory.createTestSuite("Tests for java.math");
  /frameworks/base/core/java/android/util/
MathUtils.java 47 return (float) Math.log(a);
51 return (float) Math.exp(a);
55 return (float) Math.pow(a, b);
93 return (float) Math.sqrt(x * x + y * y);
100 return (float) Math.sqrt(x * x + y * y + z * z);
104 return (float) Math.sqrt(a * a + b * b);
108 return (float) Math.sqrt(a * a + b * b + c * c);
124 return (float) Math.acos(value);
128 return (float) Math.asin(value);
132 return (float) Math.atan(value)
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/TypeConversion/
9.5-2.js 77 if ( Math.abs( n ) == 0 || Math.abs( n ) == Number.POSITIVE_INFINITY) {
81 n = (sign * Math.floor( Math.abs(n) )) % Math.pow(2,32);
83 n = ( n < -Math.pow(2,31) ) ? n + Math.pow(2,32) : n;
85 n = ( n >= Math.pow(2,31) ) ? n - Math.pow(2,32) : n;
115 array[item++] = new TestCase( SECTION, "(Math.pow(2,31)-1) << 0", ToInt32(2147483647), (Math.pow(2,31)-1) << 0 )
    [all...]
  /frameworks/base/awt/org/apache/harmony/awt/gl/render/
JavaArcRasterizer.java 36 mra.addRect(cx + Math.max(x1, start), y, cx + Math.min(x2, finish), y);
48 mra.addRect(cx + Math.max(x1, start), y, cx + Math.min(x2, finish), y);
60 mra.addRect(cx - Math.min(x2, finish), y, cx - Math.max(x1, start), y);
72 mra.addRect(cx - Math.min(x2, finish), y, cx - Math.max(x1, start), y);
84 mra.addRect(x, cy + Math.max(y1, start), x, cy + Math.min(y2, finish))
    [all...]
  /cts/tests/tests/util/src/android/util/cts/
FloatMathTest.java 30 notes = "Test float math related methods",
36 notes = "Test float math related methods",
42 notes = "Test float math related methods",
48 notes = "Test float math related methods",
54 notes = "Test float math related methods",
  /external/v8/test/mjsunit/tools/
tickprocessor-test.default 14 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
tickprocessor-test.ignore-unknown 10 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
tickprocessor-test.separate-ic 16 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/webkit/JavaScriptCore/tests/mozilla/ecma/Expressions/
11.2.1-1.js 95 PROPERTY[p++] = new Property( "this", "Math", "object" );
157 // properties of the Math Object.
158 PROPERTY[p++] = new Property( "Math", "E", "number" );
159 PROPERTY[p++] = new Property( "Math", "LN10", "number" );
160 PROPERTY[p++] = new Property( "Math", "LN2", "number" );
161 PROPERTY[p++] = new Property( "Math", "LOG2E", "number" );
162 PROPERTY[p++] = new Property( "Math", "LOG10E", "number" );
163 PROPERTY[p++] = new Property( "Math", "PI", "number" );
164 PROPERTY[p++] = new Property( "Math", "SQRT1_2", "number" );
165 PROPERTY[p++] = new Property( "Math", "SQRT2", "number" )
    [all...]

Completed in 62 milliseconds

1 2 3 45 6 7 8 91011>>