/bionic/libm/src/ |
s_cbrt.c | 22 /* cbrt(x) 37 cbrt(double x) function 47 if(hx>=0x7ff00000) return(x+x); /* cbrt(NaN,INF) is itself */ 50 return(x); /* cbrt(0) is itself */ 53 * Rough cbrt to 5 bits: 54 * cbrt(2**e*(1+m) ~= 2**(e/3)*(1+(e%3+m)/3) 75 /* new cbrt to 23 bits; may be implemented in single precision */ 80 /* chop t to 20 bits and make it larger in magnitude than cbrt(x) */
|
s_cbrtf.c | 49 if(hx>=0x7f800000) return(x+x); /* cbrt(NaN,INF) is itself */ 51 return(x); /* cbrt(0) is itself */ 53 /* rough cbrt to 5 bits */ 62 /* new cbrt to 23 bits */ 67 /* chop t to 12 bits and make it larger in magnitude than cbrt(x) */
|
/bionic/libm/man/ |
sqrt.3 | 39 .Nm cbrt , 49 .Fn cbrt "double x" 58 .Fn cbrt 73 .Fn cbrt 98 .Fn cbrt
|
math.3 | 82 cbrt cube root
|
/external/fdlibm/ |
s_cbrt.c | 59 /* rough cbrt to 5 bits */ 68 /* new cbrt to 23 bits, may be implemented in single precision */
|
/frameworks/base/tests/CoreTests/android/core/ |
StrictMathTest.java | 127 * @tests java.lang.StrictMath#cbrt(double) 134 .cbrt(Double.NaN))); 137 .cbrt(Double.POSITIVE_INFINITY)); 140 .cbrt(Double.NEGATIVE_INFINITY)); 142 .doubleToLongBits(StrictMath.cbrt(0.0))); 144 .doubleToLongBits(StrictMath.cbrt(+0.0))); 146 .doubleToLongBits(StrictMath.cbrt(-0.0))); 148 assertEquals("Should return 3.0", 3.0, StrictMath.cbrt(27.0)); 150 StrictMath.cbrt(12345.6)); 152 5.643803094122362E102, StrictMath.cbrt(Double.MAX_VALUE)) [all...] |
MathTest.java | 148 * @tests java.lang.Math#cbrt(double) 154 .cbrt(Double.NaN))); 157 .cbrt(Double.POSITIVE_INFINITY), 0D); 160 .cbrt(Double.NEGATIVE_INFINITY), 0D); 162 .cbrt(0.0))); 164 .cbrt(+0.0))); 166 .cbrt(-0.0))); 168 assertEquals("Should return 3.0", 3.0, Math.cbrt(27.0), 0D); 170 Math.cbrt(12345.6), 0D); 172 5.643803094122362E102, Math.cbrt(Double.MAX_VALUE), 0D) [all...] |
/dalvik/libcore/luni/src/main/native/ |
java_lang_Math.c | 126 /* native public static double cbrt(double a); */ 129 return cbrt(a); 192 { "cbrt", "(D)D", jcbrt },
|
java_lang_StrictMath.c | 137 /* native public static double cbrt(double a); */ 217 { "cbrt", "(D)D", jcbrt },
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
MathTest.java | 253 * @tests java.lang.Math#cbrt(double) 258 method = "cbrt", 264 .cbrt(Double.NaN))); 267 .cbrt(Double.POSITIVE_INFINITY), 0D); 270 .cbrt(Double.NEGATIVE_INFINITY), 0D); 272 .cbrt(0.0))); 274 .cbrt(+0.0))); 276 .cbrt(-0.0))); 278 assertEquals("Should return 3.0", 3.0, Math.cbrt(27.0), 0D); 280 Math.cbrt(12345.6), 0D) [all...] |
StrictMathTest.java | 375 * @tests java.lang.StrictMath#cbrt(double) 380 method = "cbrt", 387 .cbrt(Double.NaN))); 390 .cbrt(Double.POSITIVE_INFINITY)); 393 .cbrt(Double.NEGATIVE_INFINITY)); 395 .doubleToLongBits(StrictMath.cbrt(0.0))); 397 .doubleToLongBits(StrictMath.cbrt(+0.0))); 399 .doubleToLongBits(StrictMath.cbrt(-0.0))); 401 assertEquals("Should return 3.0", 3.0, StrictMath.cbrt(27.0)); 403 StrictMath.cbrt(12345.6)) [all...] |
/prebuilt/darwin-x86/toolchain/arm-eabi-4.3.1/lib/gcc/arm-eabi/4.3.1/include/ |
tgmath.h | 128 #define cbrt(x) __TGMATH_REAL(x, cbrt) macro
|
/prebuilt/darwin-x86/toolchain/arm-eabi-4.4.0/lib/gcc/arm-eabi/4.4.0/include/ |
tgmath.h | 125 #define cbrt(x) __TGMATH_REAL(x, cbrt) macro
|
/prebuilt/linux-x86/toolchain/arm-eabi-4.3.1/lib/gcc/arm-eabi/4.3.1/include/ |
tgmath.h | 128 #define cbrt(x) __TGMATH_REAL(x, cbrt) macro
|
/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/lib/gcc/arm-eabi/4.4.0/include/ |
tgmath.h | 125 #define cbrt(x) __TGMATH_REAL(x, cbrt) macro
|
/dalvik/libcore/luni/src/main/java/java/lang/ |
Math.java | 218 * <li>{@code cbrt(+0.0) = +0.0}</li> 219 * <li>{@code cbrt(-0.0) = -0.0}</li> 220 * <li>{@code cbrt(+infinity) = +infinity}</li> 221 * <li>{@code cbrt(-infinity) = -infinity}</li> 222 * <li>{@code cbrt(NaN) = NaN}</li> 229 public static native double cbrt(double d); method in class:Math [all...] |
StrictMath.java | 231 * <li>{@code cbrt(+0.0) = +0.0}</li> 232 * <li>{@code cbrt(-0.0) = -0.0}</li> 233 * <li>{@code cbrt(+infinity) = +infinity}</li> 234 * <li>{@code cbrt(-infinity) = -infinity}</li> 235 * <li>{@code cbrt(NaN) = NaN}</li> 242 public static native double cbrt(double d); method in class:StrictMath [all...] |
/bionic/libm/ |
Makefile-orig | 153 MLINKS+=sqrt.3 cbrt.3 sqrt.3 cbrtf.3 sqrt.3 sqrtf.3
|
/bionic/libm/include/ |
math.h | 237 double cbrt(double);
|
/external/proguard/src/proguard/gui/ |
default.pro | 61 public static double cbrt(double);
|
/ndk/build/platforms/android-3/arch-arm/usr/include/ |
math.h | 237 double cbrt(double);
|
/ndk/build/platforms/android-4/arch-arm/usr/include/ |
math.h | 237 double cbrt(double);
|
/ndk/build/platforms/android-5/arch-arm/usr/include/ |
math.h | 237 double cbrt(double);
|
/ndk/build/platforms/android-5/arch-x86/usr/include/ |
math.h | 237 double cbrt(double);
|
/ndk/build/platforms/android-8/arch-arm/usr/include/ |
math.h | 237 double cbrt(double);
|