/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...] |
/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...] |
/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"),
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
CbrtTest.java | 72 ref[idxRef] = (float)(Math.cbrt((double)in[idx]));
|
/bionic/libm/ |
fake_long_double.c | 39 long double cbrtl(long double a1) { return cbrt(a1); }
|
/frameworks/rs/cpu_ref/ |
rsCpuRuntimeMathFuncs.cpp | 42 IMPORT_F32_FN_F32(cbrt)
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
StrictMathTest.java | 125 * @tests 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 * @tests java.lang.Math#cbrt(double) 124 .cbrt(Double.NaN))); 127 .cbrt(Double.POSITIVE_INFINITY), 0D); 130 .cbrt(Double.NEGATIVE_INFINITY), 0D); 132 .cbrt(0.0))); 134 .cbrt(+0.0))); 136 .cbrt(-0.0))); 138 assertEquals("Should return 3.0", 3.0, Math.cbrt(27.0), 0D); 140 Math.cbrt(12345.6), 0D); 142 5.643803094122362E102, Math.cbrt(Double.MAX_VALUE), 0D) [all...] |
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/include/ |
tgmath.h | 125 #define cbrt(x) __TGMATH_REAL(x, cbrt) macro
|
/prebuilts/gcc/darwin-x86/arm/arm-eabi-4.7/lib/gcc/arm-eabi/4.7/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.6/lib/gcc/arm-eabi/4.6.x-google/include/ |
tgmath.h | 125 #define cbrt(x) __TGMATH_REAL(x, cbrt) macro
|
/prebuilts/gcc/linux-x86/arm/arm-eabi-4.7/lib/gcc/arm-eabi/4.7/include/ |
tgmath.h | 125 #define cbrt(x) __TGMATH_REAL(x, cbrt) macro
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/bits/ |
mathcalls.h | 170 __MATHCALL (cbrt,, (_Mdouble_ __x));
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
tgmath.h | 330 #define cbrt(Val) __TGMATH_UNARY_REAL_ONLY (Val, cbrt) macro
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/lib/gcc/i686-linux/4.6.x-google/include-fixed/ |
tgmath.h | 339 #define cbrt(Val) __TGMATH_UNARY_REAL_ONLY (Val, cbrt) macro
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
mathcalls.h | 170 __MATHCALL (cbrt,, (_Mdouble_ __x));
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/ |
tgmath.h | 330 #define cbrt(Val) __TGMATH_UNARY_REAL_ONLY (Val, cbrt) macro
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/lib/gcc/x86_64-linux/4.6.x-google/include-fixed/ |
tgmath.h | 339 #define cbrt(Val) __TGMATH_UNARY_REAL_ONLY (Val, cbrt) macro
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/bits/ |
mathcalls.h | 170 __MATHCALL (cbrt,, (_Mdouble_ __x));
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/ |
tgmath.h | 330 #define cbrt(Val) __TGMATH_UNARY_REAL_ONLY (Val, cbrt) macro
|
/development/ndk/platforms/android-3/include/ |
math.h | 237 double cbrt(double);
|