HomeSort by relevance Sort by last modified time
    Searched refs:cbrt (Results 1 - 25 of 165) sorted by null

1 2 3 4 5 6 7

  /cts/tests/tests/renderscript/src/android/renderscript/cts/
TestCbrt.rs 24 return cbrt(in);
28 return cbrt(in);
32 return cbrt(in);
36 return cbrt(in);
  /bionic/libm/upstream-freebsd/lib/msun/src/
s_cbrt.c 21 /* cbrt(x)
28 /* |1/cbrt(x) - p(x)| < 2**-23.5 (~[-7.93e-8, 7.929e-8]). */
37 cbrt(double x) function
51 if(hx>=0x7ff00000) return(x+x); /* cbrt(NaN,INF) is itself */
54 * Rough cbrt to 5 bits:
55 * cbrt(2**e*(1+m) ~= 2**(e/3)*(1+(e%3+m)/3)
70 return(x); /* cbrt(0) is itself */
79 * New cbrt to 23 bits:
80 * cbrt(x) = t*cbrt(x/t**3) ~= t*P(t**3/x
    [all...]
  /external/chromium_org/third_party/skia/experimental/Intersection/
CubeRoot.cpp 7 // http://metamerist.com/cbrt/CubeRoot.cpp
74 // adapted from Kahan's cbrt
87 // adapted from Kahan's cbrt
242 static double TestCubeRootf(const char* szName, cuberootfnf cbrt, double rA, double rB, int rN)
256 s += cbrt(d);
266 float a = cbrt((float) d);
291 static double TestCubeRootd(const char* szName, cuberootfnd cbrt, double rA, double rB, int rN)
304 s += cbrt(d);
314 double a = cbrt(d);
  /external/skia/experimental/Intersection/
CubeRoot.cpp 7 // http://metamerist.com/cbrt/CubeRoot.cpp
74 // adapted from Kahan's cbrt
87 // adapted from Kahan's cbrt
242 static double TestCubeRootf(const char* szName, cuberootfnf cbrt, double rA, double rB, int rN)
256 s += cbrt(d);
266 float a = cbrt((float) d);
291 static double TestCubeRootd(const char* szName, cuberootfnd cbrt, double rA, double rB, int rN)
304 s += cbrt(d);
314 double a = cbrt(d);
  /libcore/luni/src/test/java/libcore/java/lang/
OldAndroidStrictMathTest.java 96 .cbrt(Double.NaN)));
99 .cbrt(Double.POSITIVE_INFINITY));
102 .cbrt(Double.NEGATIVE_INFINITY));
104 .doubleToLongBits(StrictMath.cbrt(0.0)));
106 .doubleToLongBits(StrictMath.cbrt(+0.0)));
108 .doubleToLongBits(StrictMath.cbrt(-0.0)));
110 assertEquals("Should return 3.0", 3.0, StrictMath.cbrt(27.0));
112 StrictMath.cbrt(12345.6));
114 5.643803094122362E102, StrictMath.cbrt(Double.MAX_VALUE));
115 assertEquals("Should return 0.01", 0.01, StrictMath.cbrt(0.000001))
    [all...]
OldAndroidMathTest.java 116 .cbrt(Double.NaN)));
119 .cbrt(Double.POSITIVE_INFINITY), 0D);
122 .cbrt(Double.NEGATIVE_INFINITY), 0D);
124 .cbrt(0.0)));
126 .cbrt(+0.0)));
128 .cbrt(-0.0)));
130 assertEquals("Should return 3.0", 3.0, Math.cbrt(27.0), 0D);
132 Math.cbrt(12345.6), 0D);
134 5.643803094122362E102, Math.cbrt(Double.MAX_VALUE), 0D);
135 assertEquals("Should return 0.01", 0.01, Math.cbrt(0.000001), 0D)
    [all...]
  /external/chromium_org/v8/src/
harmony-math.js 155 // Cube root approximation, refer to: http://metamerist.com/cbrt/cbrt.htm
156 // Using initial approximation adapted from Kahan's cbrt and 4 iterations
239 "cbrt", MathCbrt,
  /libcore/luni/src/main/native/
java_lang_Math.cpp 99 return cbrt(a);
128 NATIVE_METHOD(Math, cbrt, "!(D)D"),
java_lang_StrictMath.cpp 127 NATIVE_METHOD(StrictMath, cbrt, "!(D)D"),
  /external/valgrind/main/none/tests/mips32/
test_math.cpp 102 /* Test cbrt. */
103 printf("cbrt(27.0): %lf\n", cbrt(27.0));
test_math.stdout.exp 53 cbrt(27.0): 3.000000
  /frameworks/rs/cpu_ref/
rsCpuRuntimeMathFuncs.cpp 42 IMPORT_F32_FN_F32(cbrt)
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
StrictMathTest.java 125 * java.lang.StrictMath#cbrt(double)
131 .cbrt(Double.NaN)));
134 .cbrt(Double.POSITIVE_INFINITY));
137 .cbrt(Double.NEGATIVE_INFINITY));
139 .doubleToLongBits(StrictMath.cbrt(0.0)));
141 .doubleToLongBits(StrictMath.cbrt(+0.0)));
143 .doubleToLongBits(StrictMath.cbrt(-0.0)));
145 assertEquals("Should return 3.0", 3.0, StrictMath.cbrt(27.0));
147 StrictMath.cbrt(12345.6));
149 5.643803094122362E102, StrictMath.cbrt(Double.MAX_VALUE))
    [all...]
MathTest.java 119 * java.lang.Math#cbrt(double)
123 assertTrue(Double.isNaN(Math.cbrt(Double.NaN)));
124 assertEquals(Double.POSITIVE_INFINITY, Math.cbrt(Double.POSITIVE_INFINITY), 0D);
125 assertEquals(Double.NEGATIVE_INFINITY, Math.cbrt(Double.NEGATIVE_INFINITY), 0D);
126 assertEquals(Double.doubleToLongBits(0.0), Double.doubleToLongBits(Math.cbrt(0.0)));
127 assertEquals(Double.doubleToLongBits(+0.0), Double.doubleToLongBits(Math.cbrt(+0.0)));
128 assertEquals(Double.doubleToLongBits(-0.0), Double.doubleToLongBits(Math.cbrt(-0.0)));
130 assertEquals(3.0, Math.cbrt(27.0), 0D);
131 assertEquals(23.111993172558684, Math.cbrt(12345.6), Math.ulp(23.111993172558684));
132 assertEquals(5.643803094122362E102, Math.cbrt(Double.MAX_VALUE), 0D)
    [all...]
  /external/valgrind/main/none/tests/mips64/
test_math.stdout.exp 53 cbrt(27.0): 3.000000
  /ndk/sources/android/support/src/
math_support.c 71 __attribute__((weak)) long double cbrtl(long double x) { return cbrt((double)x); }
  /prebuilts/gcc/darwin-x86/arm/arm-eabi-4.8/lib/gcc/arm-eabi/4.8/include/
tgmath.h 125 #define cbrt(x) __TGMATH_REAL(x, cbrt) macro
  /prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/lib/gcc/i686-apple-darwin10/4.2.1/include/
tgmath.h 136 #define cbrt(x) __TGMATH_REAL(x, cbrt) macro
  /prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/lib/gcc/i686-apple-darwin11/4.2.1/include/
tgmath.h 136 #define cbrt(x) __TGMATH_REAL(x, cbrt) macro
  /prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/lib/gcc/arm-eabi/4.8/include/
tgmath.h 125 #define cbrt(x) __TGMATH_REAL(x, cbrt) macro
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/lib/gcc/x86_64-w64-mingw32/4.8.3/include/
tgmath.h 125 #define cbrt(x) __TGMATH_REAL(x, cbrt) macro
  /external/clang/test/CodeGen/
libcall-declarations.c 58 double cbrt(double);
273 F(atanh), F(atanhf), F(atanhl), F(cbrt), F(cbrtf),
357 // CHECK-NOERRNO: declare double @cbrt(double) [[NUW]]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/bits/
mathcalls.h 170 __MATHCALL (cbrt,, (_Mdouble_ __x));
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/sysroot/usr/include/
tgmath.h 337 #define cbrt(Val) __TGMATH_UNARY_REAL_ONLY (Val, cbrt) macro
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/bits/
mathcalls.h 170 __MATHCALL (cbrt,, (_Mdouble_ __x));

Completed in 930 milliseconds

1 2 3 4 5 6 7